From: hemal AT superlink DOT com (Hemal Pandya) Subject: where is warning: control reaches end of non-void function 10 May 1997 09:00:06 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Original-To: gnu-win32 AT cygnus DOT com X-Mailer: Gnus v5.3/Emacs 19.34 Original-Sender: owner-gnu-win32 AT cygnus DOT com 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 AT superlink DOT 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 AT cygnus DOT com" with one line of text: "help".