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


> The initial patch (mechanically adding "0" to all calls) is going to
> be HUGE.

And I was right.  147 files changed, 2678 calls, 32,723 line patch
(1Mb).  Should I omit the mechanical foo( -> foo(0, portions of the
patch, post the whole thing, put it on a web site somewhere, or what?

Also, warning() is defined in a couple of places.  I didn't touch the
one in collect2 but I did touch the one in errors.h (for gen* I
think).  There's a standalone file in java/* that has its own too.
Should I, for consistency, tweak those too?  They'd never have
anything other than zero passed I think.

I also skipped the conversion of a number of GCC_BAD macros that call
warning(), for now.  The patch was huge enough as-is without getting
complicated too ;-)


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