-isystem and local includes

Ian Lance Taylor iant@google.com
Mon Nov 15 22:34:00 GMT 2010


Zadirion <zadirion@gmail.com> writes:

> I've come across an interesting dilemma:
> given the following project structure
> ./myproject/main.cpp
> ./thirdpartylib/source.cpp
> ./thirdpartylib/header.h
>
> I need to ignore the warnings in the third party library.

Use grep -v on the compiler output?

I don't think there is any way to tell gcc to ignore the warnings from a
specific set of header files.

Ian



More information about the Gcc-help mailing list