Another issue with diagnostic format-checker

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


"Zack Weinberg" <zack@codesourcery.com> writes:

| Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
| 
| > | > It removes the inclusion order dependency and lets each front end say
| > | > what its "set" looks like.
| > | 
| > | So does putting #defines in the relevant source files.
| >
| > No, it does not. See previous discussion with Kaveh.
| 
| Your assertion is a contradiction in terms, because -DFOO=bar is

No it is not, see below.

| precisely equivalent to "#define FOO bar" appearing on the first line
| of the source file. 

but it removes the inclusion order dependency.

| The only reason to prefer -DFOO=bar is if the
| value of 'bar' is determined by the Makefile, but you have said that
| it is not.

Where?

-- Gaby



More information about the Gcc mailing list