Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
worst.c - foolishness
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="CBFalconer, post: 1695906"] In reality I had to go around my normal aliases to avoid using reasonable flags. But with them I wouldn't have been able to easily create worst.c :-) My normal configuration results in: c:\c\junk>gcc worst.c worst.c:16: warning: return type defaults to `int' worst.c: In function `main': worst.c:19: warning: initialization discards qualifiers from pointer target type worst.c:22: warning: implicit declaration of function `feof' worst.c:23: warning: implicit declaration of function `getchar' worst.c:26: warning: implicit declaration of function `gets' worst.c:27: warning: implicit declaration of function `printf' worst.c:28: warning: implicit declaration of function `fflush' worst.c:29: warning: implicit declaration of function `malloc' worst.c:30: warning: implicit declaration of function `realloc' worst.c:32: warning: comparison of unsigned expression >= 0 is always true worst.c:17: warning: `x' might be used uninitialized in this function No fun at all :-[ [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
worst.c - foolishness
Top