[ https://issues.apache.org/jira/browse/XALANC-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven J. Hathaway resolved XALANC-566. --------------------------------------- Resolution: Fixed Fix Version/s: 1.10 > Wrong export/import directive for XalanMemMgrs > ---------------------------------------------- > > Key: XALANC-566 > URL: https://issues.apache.org/jira/browse/XALANC-566 > Project: XalanC > Issue Type: Bug > Components: XalanC > Affects Versions: 1.9 > Environment: Windows XP, Visual Studio .NET 7.1 > Reporter: Martin Boucher > Fix For: 1.10 > > > 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, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org