Tailoring warnings

Yang Zhang yanghatespam@gmail.com
Fri Feb 20 07:59:00 GMT 2009


Can gcc restrict certain warnings to exclude certain files or to apply 
only to certain files?  E.g., I'd like to have -Wold-style-cast, 
-Wconversion, and some others to apply only to my own code, and not 
(say) boost headers.  (I do use -Werror.)  Thanks in advance.
-- 
Yang Zhang
http://www.mit.edu/~y_z/



More information about the Gcc-help mailing list