This is the mail archive of the gcc-help@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: Is there a parameter called _DEBUG?


Thank you John!


My question is answered.


regards,
George

--- John Love-Jensen <eljay@adobe.com> wrote:

> Hi George
> 
> > Do you mean _DEBUG is not defined and used by gcc
> itself on Linux platform...
> 
> Correct (as far as I am aware).
> 
> >... and it may be used in application code?
> 
> That's a qualified "yes".  You *CAN* use it, but
> with a caveat.  It is
> against the C++ standard (ISO 14882) to use it,
> since identifiers that begin
> with an underscore-followed-by-capital-letter are
> reserved.  (Also, any
> identifier with the underscore-underscore sequence
> anywhere in the
> identifier are reserved.)
> 
> >...especially the ones from Microsoft Windows
> platform...
> 
> That would be one reason to contemplate breaking the
> ISO 14882 rules.
> 
> HTH,
> --Eljay
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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