This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]