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: How to ignore Wall errors for a portion of code


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


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