This is the mail archive of the gcc@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]

[PCH bug] anonymous variadic macros were introduced in C99 warning at pch using


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



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