This is the mail archive of the
gcc-prs@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: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 30 Apr 2003 18:36:01 -0000
- Subject: Re: c++/10569: use typedef type as return from main yields warning
- Reply-to: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
The following reply was made to PR c++/10569; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Cc: gcc-bugs@gcc.gnu.org, <wxy@kivera.com>, <gcc-gnats@gcc.gnu.org>
Subject: Re: c++/10569: use typedef type as return from main yields warning
Date: Wed, 30 Apr 2003 13:33:48 -0500 (CDT)
> 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/