You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Kumar, Manoj" <ma...@siemens.com> on 2023/02/01 11:59:04 UTC
xalan1.12: many macro definition are missing in PlatformDefinitions.hpp
Hello Team,
We are upgrading our Teamcenter from TC11.6 to TC14.1. There are some functionalities where we are using xerces and xalan in our server code.
In source TC version (TC11.6) we are using xerces 2.7.0 and xalan 1.10, but to upgrade the source code for TC14.1 we have to use xerces 3.2.3 and xalan 1.12
Our source code is building properly in source environment, but its failing when using xerces 3.2.3 and xalan 1.12 due to missing macros in xalanc\Include\PlatformDefinitions.hpp mentioned below:
XALAN_USING_STD
XALAN_USING_XERCES
Also below lines in in xalanc\Include\PlatformDefinitions.hpp was causing build issue:
#if defined(_DEBUG) && defined(NDEBUG)
#error NDEBUG must not be defined when _DEBUG is defined.
#elif !defined(_DEBUG) && !defined(NDEBUG)
#error NDEBUG must be defined when _DEBUG is not defined.
#endif
Please let us know how to resolve these issues?
Note: Our source code is working fine with Xerces 3.2.2 and xalan 1.11 as well.
Thanks,
Manoj Kumar
Siemens Industry Software (India) Pvt Ltd
Digital Factory Division
Global Sls&Svs
Building C, 8th Floor, Panchshil Business Park,
Survey No.21, Balewadi, Pune, India - 411045
Tel (B): +91 20 39182000 extn: 3875
Mobile: +91 9890286498
E-mail: manoj_kumar@siemens.com<ma...@siemens.com>
OOO: