[
https://issues.apache.org/jira/browse/XERCESC-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Wiesner updated XERCESC-2256:
-------------------------------------
Description: the current enumeration uses T_CHAR, T_STRING, etc. as
enumeration values. Those symbol names are generic enough to cause clashes with
other libraries - espe. Therefore, a change to C++11 scoped enums would fix
this potential for clashes on the side of Xerces. (was: the current
enumeration uses T_CHAR, T_STRING, etc. as enumeration values. Those symbol
names are generic enough to cause clashes with other libraries. Therefore, a
change to C++11 scoped enums would fix this potential for clashes on the side
of Xerces.)
> For C++11 and later, change enum tokType (util/regx/Token.hpp) to a scoped
> enum
> -------------------------------------------------------------------------------
>
> Key: XERCESC-2256
> URL: https://issues.apache.org/jira/browse/XERCESC-2256
> Project: Xerces-C++
> Issue Type: Improvement
> Reporter: Florian Wiesner
> Priority: Major
>
> the current enumeration uses T_CHAR, T_STRING, etc. as enumeration values.
> Those symbol names are generic enough to cause clashes with other libraries -
> espe. Therefore, a change to C++11 scoped enums would fix this potential for
> clashes on the side of Xerces.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]