You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Development <de...@pcpost.net> on 2005/11/08 16:13:53 UTC
'XALAN_STATIC_CHECK': identifier not found on VS.NET
Hi,
After upgrading from Xalan 1.9 to 1.10 we get the below compiler error from
VS.NET. Any ideas?
cl -c -DUSE_LCA /Zi /Od /nologo /GB /W3 /Ze -DTARGET=NT_I386
-DDDT -DWARN_REVISIT -Ic:/tdy/src/kernel8/network/uim/include/
-Ic:/tdy/src/common2/include/ -Ic:/tdy/src/kernel8/include/
-Ic:/tdy/src/lca18/library/ -Ic:/tdy/src/uim3/uim/include/
-Ic:/tdy/src/uim3/base/include/ -Ic:/tdy/src/painter/include/
-Ic:/tdy/src/pim/include/ -Ic:/tdy/src/nim2/include/
-IC:/tdy/obj8/released/xml/include/
-IC:/tdy/obj8/released/xml/include/Include/
-IC:/tdy/obj8/released/xml/include/Include/xalanc/
-IC:/tdy/obj8/released/xml/include/Include/xalanc/PlatformSupport
-IC:/tdy/obj8/wapi/include -MDd -D_AFXDLL
-FdC:/tdy/obj8/kernel8/libs/tdy.pdb /GX /Ze c:/tdy/src/kernel8/tdy/nxsl.cxx
nxsl.cxx
c:\tdy\obj8\released\xml\include\Include\xalanc\PlatformSupport\ReusableAren
aBlock.hpp(98) : error C3861: 'XALAN_STATIC_CHECK': identifier not found,
even with argument-dependent lookup
c:\tdy\obj8\released\xml\include\Include\xalanc\PlatformSupport\ReusableAren
aBlock.hpp(90) : while compiling class-template member function
'xalanc_1_9::ReusableArenaBlock<ObjectType>::ReusableArenaBlock(xalanc_1_9::
MemoryManagerType &,xalanc_1_9::ReusableArenaBlock<ObjectType>::size_type)'
with
[
ObjectType=xalanc_1_9::XNodeSetAllocator::nodeset_type
]
C:/tdy\obj8\released\xml\include\Include\xalanc\PlatformSupport\ArenaAllocat
or.hpp(53) : see reference to class template instantiation
'xalanc_1_9::ReusableArenaBlock<ObjectType>' being compiled
with
[
ObjectType=xalanc_1_9::XNodeSetAllocator::nodeset_type
]
C:/tdy\obj8\released\xml\include\Include\xalanc\PlatformSupport\ReusableAren
aAllocator.hpp(38) : see reference to class template instantiation
'xalanc_1_9::ArenaAllocator<ObjectType,ArenaBlockType>' being compiled
with
[
ObjectType=xalanc_1_9::XNodeSetAllocator::nodeset_type,
ArenaBlockType=xalanc_1_9::ReusableArenaBlock<xalanc_1_9::XNodeSetAllocator:
:nodeset_type>
]
C:/tdy\obj8\released\xml\include\Include\xalanc\XPath\XNodeSetAllocator.hpp(
48) : see reference to class template instantiation
'xalanc_1_9::ReusableArenaAllocator<ObjectType>' being compiled
with
[
ObjectType=xalanc_1_9::XNodeSetAllocator::nodeset_type
]
Regards,
Tom
PC Development.
Re: 'XALAN_STATIC_CHECK': identifier not found on VS.NET
Posted by David Bertoni <db...@apache.org>.
Development wrote:
>
>
> Hi,
>
>
>
> After upgrading from Xalan 1.9 to 1.10 we get the below compiler error
> from VS.NET. Any ideas?
>
What version of .Net are you using? I can build with 2003 with no
problem.
>
>
> cl -c -DUSE_LCA /Zi /Od /nologo /GB /W3 /Ze -DTARGET=NT_I386
> -DDDT -DWARN_REVISIT -Ic:/tdy/src/kernel8/network/uim/include/
> -Ic:/tdy/src/common2/include/ -Ic:/tdy/src/kernel8/include/
> -Ic:/tdy/src/lca18/library/ -Ic:/tdy/src/uim3/uim/include/
> -Ic:/tdy/src/uim3/base/include/ -Ic:/tdy/src/painter/include/
> -Ic:/tdy/src/pim/include/ -Ic:/tdy/src/nim2/include/
> -IC:/tdy/obj8/released/xml/include/
> -IC:/tdy/obj8/released/xml/include/Include/
> -IC:/tdy/obj8/released/xml/include/Include/xalanc/
> -IC:/tdy/obj8/released/xml/include/Include/xalanc/PlatformSupport
> -IC:/tdy/obj8/wapi/include -MDd -D_AFXDLL
> -FdC:/tdy/obj8/kernel8/libs/tdy.pdb /GX /Ze c:/tdy/src/kernel8/tdy/nxsl.cxx
>
> nxsl.cxx
>
> c:\tdy\obj8\released\xml\include\Include\xalanc\PlatformSupport\ReusableArenaBlock.hpp(98)
> : error C3861: 'XALAN_STATIC_CHECK': identifier not found, even with
> argument-dependent lookup
I think you must be mixing source files from the previous version of
Xalan-C with 1.10. The macro is now called XALAN_STATIC_ASSERT, and the
version of ReusableArenaBlock.hpp in 1.10 does not contain the old
version of the macro.
I'm assuming you were able to build Xalan-C successfully, so you should
compare the sources in the distribution with the ones in
C:/tdy/obj8/released/xml/include/Include/xalanc
Dave