Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-void function return #2

Closed
sarnold opened this issue Nov 15, 2015 · 1 comment
Closed

Fix non-void function return #2

sarnold opened this issue Nov 15, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@sarnold
Copy link
Owner

sarnold commented Nov 15, 2015

gcc -DHAVE_CONFIG_H -I.    -g -Wall -DANSI -fstrength-reduce -fpcc-struct-return -Wstrict-prototypes -I. -g -O2 -MT demo.o -MD -MP -MF .deps/demo.Tpo -c -o demo.o demo.c
demo.c: In function ‘main’:
demo.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
mv -f .deps/demo.Tpo .deps/demo.Po
gcc -g -Wall -DANSI -fstrength-reduce -fpcc-struct-return -Wstrict-prototypes -I. -g -O2 -lm  -o demo demo.o ./libmedians_1d.a -lm 
@sarnold sarnold changed the title Fix Fix non-void function return Nov 15, 2015
@sarnold sarnold self-assigned this Nov 15, 2015
@sarnold sarnold added this to the 0.9 milestone Nov 15, 2015
@sarnold sarnold added the bug label Nov 15, 2015
@sarnold
Copy link
Owner Author

sarnold commented Nov 18, 2015

Also fixed in commit 197d69c

@sarnold sarnold closed this as completed Nov 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant