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: Another issue with diagnostic format-checker


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
precisely equivalent to "#define FOO bar" appearing on the first line
of the source file.  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.

zw


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