You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Albert Chin <xa...@mlists.thewrittenword.com> on 2006/01/03 01:21:03 UTC
Re: Problems building xalan-c 1.9.0 with HP aCC 3.65
On Fri, Dec 30, 2005 at 10:43:01AM -0800, David Bertoni wrote:
> 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
It works for A.03.63 as well. I think this is probably the last
version it works for.
> 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?
We've already built with A.03.63 on 11.00 and 11.11 with -AA. We're
now supporting HP-UX 11.23/PA and installed the latest version of the
compiler. Ugh. I'll need to try and generate a small test case to
submit to the HP compiler group.
--
albert chin (china@thewrittenword.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org