[ 
https://issues.apache.org/jira/browse/XERCESC-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh resolved XERCESC-2114.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.2.1

Fixed in 1825016.

None of the extra compiler flags were necessary (and were, in fact, responsible 
for the later failure I saw).  This minimal change makes everything work in all 
downstream projects for me.  [~mat] suggested moving it out of the header, but 
this simple change allows it to remain directly inline, and there should be no 
performance impact since everything is a compile-time constant that should 
allow the compiler to trivially eliminate all the code.

[~canto...@osu.edu] Would it be possible to make an rc4 with this final change 
included.  That's the last problem I was aware of, so hopefully that will be 
the last rc!

> Link failure with Xalan-C
> -------------------------
>
>                 Key: XERCESC-2114
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2114
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.2.0
>         Environment: VS2013 on Windows Server 2012R2
>            Reporter: Roger Leigh
>            Assignee: Roger Leigh
>            Priority: Major
>             Fix For: 3.2.1
>
>
> Testing latest rc1 with xalan and VS2013:
> [Build 
> log|https://ci.openmicroscopy.org/view/Files/job/OME-FILES-CPP-DEV-merge-win-superbuild/VSARCH=x64,VSCONFIG=Release,VSVERSION=12,label=maxquant-ome/714/console]
> Using [this 
> patch|https://raw.githubusercontent.com/ome/ome-cmake-superbuild/master/packages/xalan/patches/win-vc12.diff]
>  to build Xalan with VS2013 (it's just the upgraded project files).
> {noformat}
> 12:29:32        (Link target) -> 
> 12:29:32          XalanDiagnosticMemoryManager.obj : error LNK2001: 
> unresolved external symbol "__declspec(dllimport) unsigned __int64 const 
> `public: static unsigned __int64 __cdecl 
> xercesc_3_2::XMLPlatformUtils::alignPointerForNewBlockAllocation(unsigned 
> __int64)'::`2'::alignment" 
> (__imp_?alignment@?1??alignPointerForNewBlockAllocation@XMLPlatformUtils@xercesc_3_2@@SA_K_K@Z@4_KB)
>  
> [D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xalan-source\c\Projects\Win32\VC12\AllInOne\AllInOne.vcxproj]
> 12:29:32          ..\..\..\..\Build\Win64\VC12\Release\Xalan-C_1_11.dll : 
> fatal error LNK1120: 1 unresolved externals 
> [D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xalan-source\c\Projects\Win32\VC12\AllInOne\AllInOne.vcxproj]
> {noformat}
> Is there any incompatible change expected here?  Could potentially be missing 
> symbol exports or anything of that nature?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to