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


On Jul  1, 2004, DJ Delorie <dj@redhat.com> wrote:

>> Take our existing functions, like warning(), and add a parameter that
>> indicates the warning group the message is in.

> Alternate, we could provide a warning0() function that does warning(0,
> ...) (or the equivalent) and use that for these cases where we have a
> pointer to it or something else.

Or provide error_w(...,whatever) that (hopefully tail-)calls
error(...).

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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