Warnings in stl_deque.h

Mike Stump mrs@wrs.com
Tue Sep 22 11:06:00 GMT 1998


> Date: Mon, 21 Sep 1998 12:43:04 +0200 (CEST)
> From: Peter Simons <peter.simons@gmd.de>

>      int main() { }

> Curiously enough I get no warning about the missing return statement
> in main(). :-)

What missing return statement?  The above is valid ANSI C++, Welcome
to C++!  Just don't try that trick with any other functions.



More information about the Gcc-bugs mailing list