Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C strange warning.

Name: Anonymous 2010-07-01 18:34

http://pastebin.com/3js28CTR
$> gcc main.c
If tata(char|short|float c) => warning
If tata(int|long|double c) => nothing

Does somebody could explain why exactly ? =)

Name: Anonymous 2010-07-05 0:38

>>38
If you change the prototype to (), you won't get any warning or error for existing function calls that send in an argument.

Yes, but that's the C commitee's fault, just because they want 30-year-old shit code to still be compilable today.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List