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 "Florian Wiesner (Jira)" <xe...@xml.apache.org> on 2024/11/04 14:57:00 UTC
[jira] [Closed] (XERCESC-2256) Change enum tokType (util/regx/Token.hpp) member names
[ https://issues.apache.org/jira/browse/XERCESC-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Wiesner closed XERCESC-2256.
------------------------------------
Resolution: Invalid
> Change enum tokType (util/regx/Token.hpp) member names
> ------------------------------------------------------
>
> 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 - where T_CHAR, T_STRING, etc. are used as macros/definitions.
>
> Minimum improvement would be to use more distinctive names (or not fully uppercase ones at least).
> Could be much nicer even when the enum would be converted to an enum class on top
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org