News for hackers. Stuff that matters.
Re:Some dark corners of C by cliffbean on Saturday March 09, 2013 @08:52AM (#5348372)
> If your code lacks the declaration of the function, the compiler will assume pre ANSI-C semantics and generate code returning an int.

Better, please help by compiling your C code with -Wimplicit-function-declaration (included in -Wall), and fixing all the problems it reports. Then you won't have to worry about this problem, or a bunch of other problems.

Re:Some dark corners of C by wuest on Saturday March 09, 2013 @11:54PM (#5350765)
All-too-common response: "Oh, but they're just warnings mumble compiles and runs 'cleanly' mumble..."
Re:Some dark corners of C by duaneb on Sunday March 10, 2013 @04:21AM (#5351168)

    -Wall -Wextra -Werror