This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10569: use typedef type as return from main yields warning
- From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- To: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Cc: gcc-bugs at gcc dot gnu dot org, <wxy at kivera dot com>, <gcc-gnats at gcc dot gnu dot org>
- Date: Wed, 30 Apr 2003 13:33:48 -0500 (CDT)
- Subject: Re: c++/10569: use typedef type as return from main yields warning
> 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/