Archived

This forum has been archived. Please start a new discussion on GitHub.

Ice2.0.0 build fail on HP-UX11.23, IA64,

Comiler: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]

error description:

Make.rules:
LP64 := yes

Error 226: "BuiltinSequences.cpp", line 43 # No appropriate function found for call of 'read'. Last viable candidate was
"void IceInternal::BasicStream::read(unsigned char &)" ["../../include/Ice/BasicStream.h", line 114]. Argument of type
'class reference' could not be converted to 'unsigned char &'.
__is->read(v);
^^^^

BuitinSequences.cpp is generated from slice/Ice/BuiltinSequence.ice :

rm -f ../../include/Ice/BuiltinSequences.h BuiltinSequences.cpp
../../bin/slice2cpp --ice --include-dir Ice --dll-export ICE_API -I../../slice ../../slice/Ice/BuiltinSequences.ice
mv BuiltinSequences.h ../../include/Ice

...

BuiltinSequences.cpp line 43 is generated from :

module Ice:
{
/** A sequence of bools. **/
sequence<bool> BoolSeq;
}



and if I skip this error, all similar codes generated from
sequence<bool> BoolSeq
compile error.

Comments

  • benoit
    benoit Rennes, France
    It sounds like a compiler problem. Note that we don't officially support this compiler, we only support HP aCC 3.37 on PA-RISC. I would recommend to upgrade your compiler, it looks like it's quite old and HP released a number of patches since, see:

    http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html#11.23

    Let us know if you get Ice to compile with these compiler patches!

    Benoit.
  • thanks.

    I've found that HP aCC defined a builtin type vector<bool, _Allocator > in its STL liberary, it can be disabled by complie option:
    -D_RWSTD_NO_VECTOR_BOOL

    and build continued...