Another issue with diagnostic format-checker

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Jul 19 17:05:00 GMT 2003


"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:

| I agree inclusion order dependencies is an issue in need of solving.
| Though perhaps "disaster" and "nightmare" is a bit overwrought. :-)

I apologize if I sounded a bit rude, but changing something unsafe
(xxx_with_decl) to something safe (www + %D) and having that reject
sent me in agony-land.

| Your idea sounds fine, but I'm not sure where a good place to stick
| the -D flag would be.  For the cp/ and objc/ directories we could put
| it in cp-warn/objc-warn, but given the "warn" in the name it sounds
| like we're innappropriately overloading those spots.  I don't see
| anywhere we could easily place the C frontend -D flag.  We might have
| to invent a place, in which case we should invent and appropriately
| name a respective spot for all three languages.

<front-end>/Make-lang.in is a good place, I would say.  What about:

   BOOT_CFLAGS = $(BOOT_CFLAGS) -DGCC_DIAG_STYLE=__gcc_xxx__

?

-- Gaby



More information about the Gcc mailing list