[xsd-users] Problem Compiling Example on HP-11 Using aCC

Dean Gaudet Dean.Gaudet at vac-acc.gc.ca
Thu Aug 23 10:16:00 EDT 2007


I cannot seem to get past the following compiler errors when trying to compile the hello.cxx tree example. Here is some info:

O/S  : HP-11 B.11.11
C++ : aCC (HP ANSI C++ B3910B A.03.50)

I have compiled Xerces C++ on my system using the following options:

-p hp-11
-x aCC
-b 32

When I try to compile the XSD hello tree example like so:

gmake CXX=aCC CXXFLAGS="-I $XERCESCROOT/include" CPPFLAGS="-AA"

I get the following:
aCC -AA -I../../../../libxsd -I /home/dfgaudet/xerces-c-src_2_7_0/include -c driver.cxx -o driver.o
Warning 930: "/home/dfgaudet/xerces-c-src_2_7_0/include/xercesc/util/PlatformUtils.hpp", line 793 # Placement operator delete invocation is not yet
    implemented.
    MakeXMLException(XMLPlatformUtilsException, XMLUTIL_EXPORT)
    ^^^^^^^^^^^^^^^^                                           
Warning 930: "/home/dfgaudet/xerces-c-src_2_7_0/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp", line 28 # Placement operator delete invocation
    is not yet implemented.
    MakeXMLException(ArrayIndexOutOfBoundsException, XMLUTIL_EXPORT)
    ^^^^^^^^^^^^^^^^                                                
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 34 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
          class list<X, C, false>: public sequence<X>
                                          ^^^^^^^^^^^
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 44 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
            list (typename sequence<X>::size_type n)
                           ^^^^^^^^^^^              
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 49 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
            list (typename sequence<X>::size_type n, const X& x)
                           ^^^^^^^^^^^                          
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 45 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
                : sequence<X> (n, X ())
                  ^^^^^^^^^^^          
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 50 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
                : sequence<X> (n, x)
                  ^^^^^^^^^^^       
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 56 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
                : sequence<X> (b, e)
                  ^^^^^^^^^^^       
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 64 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
                : sequence<X> (v, f, container)
                  ^^^^^^^^^^^                  
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 39 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
                : sequence<X> (f, container)
                  ^^^^^^^^^^^               
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 87 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
          class list<X, C, true>: public sequence<X>
                                         ^^^^^^^^^^^
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 97 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
            list (typename sequence<X>::size_type n, const X& x = X ())
                           ^^^^^^^^^^^                                 
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 556: "../../../../libxsd/xsd/cxx/tree/list.hxx", line 92 # Unable to generate specialization class
    sequence<#1,(bool)xsd::cxx::tree::fundamental_p::r> due to errors during generation.
                : sequence<X> (f, container)
                  ^^^^^^^^^^^               
Error 331: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Illegal cast expression; cannot cast expression type '<no type>' to 'bool'.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
Error 699: "../../../../libxsd/xsd/cxx/tree/containers.hxx", line 506 # Error limit reached; halting compilation.
          template <typename X, bool fund = fundamental_p<X>::r>
                                            ^^^^^^^^^^^^^^^^^^^ 
gmake: *** [driver.o] Error 2

Dean Gaudet




More information about the xsd-users mailing list