> aCC -O -DNDEBUG     -DXML_BITSTOBUILD_64  +DA2.0W   +Z -DHPUX 
-D_THREAD_SAFE +W8
> 49 -mt -AA -ext -Wc,-koenig_lookup,on -Wc,-ansi_for_scope,on 
-DXALAN_INMEM_MSG_L
> OADER -c -I/ken/xalan/src -I/ken/xalan/include -I../../nls/include
> -I/ken/xerces/src/ -I/ken/xerces/include/xercesc
> -I/ken/xerces/include/  -o ../../obj/XalanDOMStringCache.o
> /ken/xalan/src/xalanc/PlatformSupport/XalanDOMStringCache.c
> pp
> Error 20:
>     "/ken/xalan/src/xalanc/PlatformSup  port/ReusableArenaBlock.hpp",
> line 31 # '<type name>' expected before '>'.
>     template<bool> struct CompileTimeError;
>                  ^ 
> gmake[1]: *** [../../obj/XalanDOMStringCache.o] Error 2
> gmake[1]: Leaving directory `/ken/xalan/src/xalanc'
> gmake: *** [all] Error 2

You can upgrade your compiler (this is a compiler bug), upgrade to the 
latest CVS source code, or just temporarily remove the code that 
implements the static assert by:

1. Removing all definitions of the CompileTimeError struct.
2. Definining the macro XALAN_STATIC_ASSERT to expand to an empty string:

#define XALAN_STATIC_ASSERT(expr)

Dave

Reply via email to