c++/10569: use typedef type as return from main yields warning
Wolfgang Bangerth
bangerth@ices.utexas.edu
Wed Apr 30 21:24:00 GMT 2003
> There's something weird going on, though. For me, it fails with
> *error* when turning on -Wall, but not when additionally giving
> -pedantic:
Yes, that's a well know problem: -pedantic downgrades some errors to
warnings.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/
More information about the Gcc-bugs
mailing list