error: template with C linkage

Miles Bader miles@gnu.org
Tue Sep 20 07:19:00 GMT 2011


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....



More information about the Gcc-help mailing list