This is the mail archive of the gcc-patches@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: PATCH: Wno-warning-directives [WasRe: cpplib: Start moving ...]


In the general case, I would like to see the interactions of warnings
and errors revisited. One master switch (-Werror) to rule that all
warnings should be treated as errors just does not work as more and more
warnings are added to the system.
I agree.  In fact, I submitted a patch to do what you say some years
back.  With a few more tweaks, I planned to allow you to selectively
turn certain warnings into errors, either from the command-line or
from certain portions of code.

I still think that something like that patch would be a good idea.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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