You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "cargilld (JIRA)" <xe...@xml.apache.org> on 2005/08/11 16:18:59 UTC

[jira] Resolved: (XERCESC-1212) Xerces-C Conflicts with fdlibm: enum names too common

     [ 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org