c++/10470: anonymous variadic macros were introduced in C99 warning at pch using

Phil Edwards phil@jaj.com
Thu Apr 24 02:36:00 GMT 2003


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

From: Phil Edwards <phil@jaj.com>
To: wanderer@rsu.ru
Cc: gcc-gnats@gcc.gnu.org, and@rsu.ru
Subject: Re: c++/10470: anonymous variadic macros were introduced in C99 warning at pch using
Date: Wed, 23 Apr 2003 22:26:49 -0400

 On Wed, Apr 23, 2003 at 09:45:39PM -0000, wanderer@rsu.ru wrote:
 > >Description:
 > simple test.c test.h files compile without using pch
 > and generate strange warning if use test.h.gch
 > 
 > All case with options: g++ -ansi -pedantic -Werror -Winvalid-pch
 > 
 > -test.h----8<-----------
 > #include<string>
 > -test.h---->8-----------
 > 
 > -test.cc---8<-----------
 > #include"test.h"
 > 
 > int main() {
 >   return 0;
 > }
 > -test.cc--->8-----------
 > 
 > Warning generated at line in concept_check.h:52 :
 > 
 > #define __glibcpp_function_requires(...)
 
 That code isn't going to change anytime soon; see the comment preceeding it.
 
 That header is marked with system_header.  It shouldn't be generating
 these warnings, even in PCH mode...
 
 
 -- 
 If ye love wealth greater than liberty, the tranquility of servitude greater
 than the animating contest for freedom, go home and leave us in peace.  We seek
 not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
 and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Gcc-prs mailing list