DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14390>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14390

C++ Indentifier collision with Python

           Summary: C++ Indentifier collision with Python
           Product: Xerces-C++
           Version: 2.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


xercesc/util/regx/RegxParser.hpp defines T_CHAR and T_STRING as enum
constants (BTW, why do you assign explicit numbers, instead of letting
the computer do it?).

Unfortunately, Python #define's the same identifiers, and we all know
how aware of scopes #define is.

So, could we rename those symbols (I think they're rather internal
ones, so no library user should notice that) to be mixed-cased, to
avoid name clashes with CPP symbols?

My proposal would be   T_CHAR ==> T_Char etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to