From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5867 invoked by alias); 24 Apr 2003 02:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 5847 invoked by uid 71); 24 Apr 2003 02:36:00 -0000 Date: Thu, 24 Apr 2003 02:36:00 -0000 Message-ID: <20030424023600.5846.qmail@sources.redhat.com> To: geoffk@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Phil Edwards Subject: Re: c++/10470: anonymous variadic macros were introduced in C99 warning at pch using Reply-To: Phil Edwards X-SW-Source: 2003-04/txt/msg01011.txt.bz2 List-Id: The following reply was made to PR c++/10470; it has been noted by GNATS. From: Phil Edwards 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 > -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