c++/10569: use typedef type as return from main yields warning

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Apr 30 18:36:00 GMT 2003


The following reply was made to PR c++/10569; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Cc: bangerth@dealii.org, 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: 30 Apr 2003 20:31:34 +0200

 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



More information about the Gcc-prs mailing list