This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
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)