Compile under Borland6 fails: Unresolved reference to 
XMLInitializer::InitializeAllStaticData()
-----------------------------------------------------------------------------------------------

                 Key: XERCESC-1681
                 URL: https://issues.apache.org/jira/browse/XERCESC-1681
             Project: Xerces-C++
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.7.0
         Environment: WinXP with Borland C++ Builder 6 (Personal)
            Reporter: Neil Richardson
            Priority: Blocker


When compiling XercesLib.dll, I receive the following linker error:

===== COPY/PASTE =====
[Linker] 
[Linker Error] Unresolved external 
'xercesc_2_7::XMLInitializer::InitializeAllStaticData()' referenced from 
H:\CODE\LIBRARIES\XERCES-C-SRC_2_7_0\BUILD\WIN32\BCB6\OBJ\PLATFORMUTILS.OBJ
==========


As far as I can tell, the only place that function is invoked is 
PlatformUtils.cpp line 324-326:

===== PlatformUtils.cpp:324-236 =====
    if (toInitStatics) {
        XMLInitializer::InitializeAllStaticData();
    }
==========

I also saw that it is defined in XMLInitializer.[ch]pp, but PlatformUtils 
already has "#include <xercesc/util/XMLInitializer.hpp>" so unless the path is 
wrong relative to the base that Borland assumes, I don't know why it won't 
compile.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to