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: -isystem and local includes


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


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