[ http://issues.apache.org/jira/browse/XERCESC-1212?page=all ]
     
cargilld resolved XERCESC-1212:
-------------------------------

    Resolution: Fixed

Hi,
The UNKNOWN enum in PSVIDefs has been removed, as well as the related 
deprecated code in the 3.0 branch of svn.

The coding conventions have also been updated.

David

> Xerces-C Conflicts with fdlibm: enum names too common
> -----------------------------------------------------
>
>          Key: XERCESC-1212
>          URL: http://issues.apache.org/jira/browse/XERCESC-1212
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.5.0
>  Environment: ALL
>     Reporter: Robert Buck

>
> For those developers that use the freely distributable math library, or 
> fdlibm, a conflict exists between the definition of UNKNOWN. Specifically, if 
> you include fdlibm headers prior to xerces-c headers, xerces-c user 
> applications will not compile.
> Choosing common names such as UNKNOWN is not helpful to those of us that link 
> in many third-party libraries, since the likelihood that a conflict will 
> exist with such a name is greatly increased. Please prefix the names with 
> something that distinguishes the enum value as being from Xerces-C. In the 
> very least, set it as a standard practice in future enum types to use more 
> conspicuous names. It would be nice if you changed these before these names 
> get entrenched in C++ user code.
> I do have a work-around, but it's rather ugly. I just raise this to your 
> attention, mostly to suggest the adoption of such a coding practice.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to