where is warning: control reaches end of non-void function

Hemal Pandya hemal@superlink.com
Fri May 9 22:09:00 GMT 1997


To my horror the following code compiles without a warning:
int Foo()
{
}
on spark, gcc-2.7.2 produces 
warning: control reaches end of non-void function `Foo()'
am i missing something? (like an option maybe?)
TIA.
-- 
Hemal Pandya mailto:hemal@superlink.net phone:(908)340-9455
First He created computers, but they couldn't make mistakes
So He created programmers
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /