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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to