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]

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


"Vladimir Merzliakov" <wanderer at rsu dot ru> writes:

> 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

> Warning generated at line in concept_check.h:52 :
> 
> #define __glibcpp_function_requires(...)

I get:

t.c:1:37: warning: anonymous variadic macros were introduced in C99

which is not exactly clear, but it is true; and I get it whether or
not I use PCH.

-- 
- Geoffrey Keating <geoffk at geoffk dot org>


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