This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -isystem and local includes
- From: Ian Lance Taylor <iant at google dot com>
- To: Zadirion <zadirion at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 15 Nov 2010 14:31:43 -0800
- Subject: Re: -isystem and local includes
- References: <30211832.post@talk.nabble.com>
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