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