[AGENT++] Leading '_' in defines and other places

Frank Fock fock at agentpp.com
Mon Feb 16 23:51:44 CET 2004


Hi Andreas,

I am aware of this, but since I have not come along any system yet where
this caused any problem, I have not made any effort to change this.
But it is worth to change it in a next major release (4.0 or so).

Best regards,
Frank

Andreas Vinsander wrote:

> Hi!
> According to §17.4.3.1.2 of the ISO/IEC 14882:1998(E) C++ standard, 
> leading underscore is reserved for the compiler's own use.
> I have found several defines starting with leading underscore in the 
> agent++/X source code. Just wanted to point it out to you... Things 
> will probably work anyway, but any such literal (define, variable etc) 
> with leading underscore might be a problem if it clashes with the 
> compiler's internal usage.
>
> /Andreas Vinsander
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://agentpp.org/mailman/listinfo/agentpp
>






More information about the AGENTPP mailing list