This is the mail archive of the gcc@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: named warnings & individual warning control


> I don't think I believe in the warning0 thingy.

I didn't like that option myself.

> Taking warning() or error() isn't good either.  What about
> issue_diagnostic()?  If too long, take any verb for diagnostic.

You'd need a handful of them, to correspond to the handful of current
diagnostic routines (error, warn, fatal, info, debug, etc).  We
already decided that a unified interface is bad (because such things
shouldn't be user controlled).

Plus, the idea is to make sure all the warnings are controllable, so
once done, nobody should be calling the old functions any more anyway.


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