xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bertoni <dbert...@apache.org>
Subject Re: Problems building xalan-c 1.9.0 with HP aCC 3.65
Date Fri, 30 Dec 2005 18:43:01 GMT
Albert Chin wrote:
> I've encountered the following error building xalan-c 1.9.0 on HP-UX
> 11.23/PA with aCC 3.65:
> aCC -AA -z +O2 +Onofltacc +Olit=all +Oentrysched +Odataprefetch +Onolimit  -DNDEBUG 
   +Z -DHPUX -mt -DXALAN_INMEM_MSG_LOADER -c -I/opt/build/xml-xalan/c/src -I/opt/build/xml-xalan/c/include
-I../../nls/include -I/opt/TWWfsw/libxercesc26/include  -o ../../obj/XalanNamespacesStack.o
/opt/build/xml-xalan/c/src/xalanc/DOMSupport/XalanNamespacesStack.cpp
> Error 537: "/opt/build/xml-xalan/c/src/xalanc/Include/XalanDeque.hpp", line
>     208 # Cannot create a 'ConstructableType' object; class ConstructableType
>     has only been seen as an incomplete declaration.
>         typename ConstructionTraits::Constructor::ConstructableType defaultValue(*
>                                                                     ^^^^^^^^^^^^  
> Error 445:
>     "/opt/build/xml-xalan/c/src/xalanc/DOMSupport/XalanNamespacesStack.cpp",
>     line 62 # Cannot recover from earlier errors.
>     XalanNamespacesStack::XalanNamespacesStackEntry::XalanNamespacesStackEntry(MemoryManagerType&
theManager) :
>                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Any ideas?
> 

That looks like a compiler bug.  We're using the following version 
without any problems:

bash-2.03$ aCC -V
aCC: HP ANSI C++ B3910B A.03.52

What happens if you try building with -Aa instead of -AA.  I know there 
are other compiler issues with building Xalan-C with -AA that relate to 
compiler symbol length limitations, so I'm not sure how successful 
you'll be with -AA anyway.  Does your application require the standard 
library?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Mime
View raw message