You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Roger Leigh (Jira)" <ji...@apache.org> on 2020/05/10 21:09:00 UTC

[jira] [Closed] (XALANC-797) Generate XalanVersion.hpp

     [ https://issues.apache.org/jira/browse/XALANC-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Leigh closed XALANC-797.
------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org