This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to ignore Wall errors for a portion of code
- From: Tim Prince <tprince at myrealbox dot com>
- To: Joezac Zachariah <joezac at cadence dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 15 Jan 2007 04:45:42 -0800
- Subject: Re: How to ignore Wall errors for a portion of code
- References: <45AB58E9.5070901@cadence.com>
Joezac Zachariah wrote:
I am compiling a C code with -Wall -Werror options. In my File I am
including another C file which has many Wall errors, which I don't
want to check for. Is there a way I can exclude some portion of code
from a given file
The usual way is to use make
http://www.gnu.org/software/make/manual/make.html