You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Martin Boucher (JIRA)" <xa...@xml.apache.org> on 2005/10/05 18:34:48 UTC
[jira] Created: (XALANC-566) Wrong export/import directive for XalanMemMgrs
Wrong export/import directive for XalanMemMgrs
----------------------------------------------
Key: XALANC-566
URL: http://issues.apache.org/jira/browse/XALANC-566
Project: XalanC
Type: Bug
Components: XalanC
Versions: 1.9
Environment: Windows XP, Visual Studio .NET 7.1
Reporter: Martin Boucher
The definition of the class XalanMemMgrs did not contains the good export/import directive. XALAN_PLATFORM_EXPORT is used instead of XALAN_DOMSUPPORT_EXPORT. Including <xalanc/DOMSupport/DOMSupportDefinitions.hpp> is required.
I discovered this bug while compiling a static library with Visual Studio .Net 7.1. My static library links with the import libs xalan*.lib and xerces*.lib (version nomenclature omitted to not report wrong filenames; using xalan 1.9 and xerces 2.6). Before applying the above solution, I've got warnings LNK4006 from the linker. The compiler's generated operator=() of class XalanMemMgrs was reported as "already defined". When applying the above solution, warnings disappear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org