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: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Cc: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, wxy at kivera dot com, gcc-gnats at gcc dot gnu dot org
- Date: 30 Apr 2003 20:31:34 +0200
- Subject: Re: c++/10569: use typedef type as return from main yields warning
- Organization: Integrable Solutions
- References: <20030430180219.6494.qmail@sources.redhat.com><87u1cfsuyo.fsf@student.uni-tuebingen.de>
Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> writes:
| There's something weird going on, though. For me, it fails with
| *error* when turning on -Wall, but not when additionally giving
| -pedantic:
Yeah, there is a known regression about the way -pedantic behaves.
Some day in the past, someone touched -pedantic setting and messed
things up.
-- Gaby