This is the mail archive of the gcc-help@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: error: template with C linkage


Marc Glisse <marc.glisse@inria.fr> writes:
> And being a system header is a property that depends on the directory
> the file is in.

Do you know how gcc define's "system header" ?

I've noticed that I sometimes get compiler warnings for library header
files, even though they're located in subdirectories of /usr/include and
-Wno-system-headers is turned on...

So I guess the test isn't just a simple prefix comparison with
"/usr/include/" ...

-Miles

-- 
We live, as we dream -- alone....


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