Roger Leigh created XALANC-797:
----------------------------------
Summary: Generate XalanVersion.hpp
Key: XALANC-797
URL: https://issues.apache.org/jira/browse/XALANC-797
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.11
Reporter: Roger Leigh
Assignee: Roger Leigh
Fix For: 1.12
XalanVersion.hpp currently hardcodes the release version numbers. This file
should be automatically generated so that it's kept up-to-date automatically.
Additionally, when autogenerating the file, we can directly substitute all the
string variants so all of the {{INVK}} macros can be deleted.
One additional flaw is that the {{gXalan*}} variables are defined in the
header, so will be present in all translation units and any external use of the
header, which may lead to symbol conflicts when linking. There are likely few
users of these. Move into a translation unit and declare {{extern}} to avoid
potential problems.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]