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 Tue, 22 Jun 2004, DJ Delorie wrote:

> What does cpplib do *now*?  There must be some kind of callback
> already, or else messages won't go through the usual channels we
> already have.  This does complicate things, though.

It uses its own code, in libcpp/errors.c, rather than GCC's diagnostic.c
code.  All relevant warning control variables are entered by the front
ends in the cpp_options structure, as cpplib doesn't use global variables.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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