This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[PCH bug] anonymous variadic macros were introduced in C99 warning at pch using
- From: "Vladimir Merzliakov" <wanderer at rsu dot ru>
- To: <libstdc++ at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>
- Cc: <law at redhat dot com>, <geoffk at geoffk dot org>
- Date: Wed, 23 Apr 2003 16:19:08 +0400
- Subject: [PCH bug] anonymous variadic macros were introduced in C99 warning at pch using
- References: <20030415122353.64376cda.bkoz@redhat.com>
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(...)
Vladimir