Operating System - Linux
1829101 Members
2591 Online
109986 Solutions
New Discussion

aCC 03.50 compile problem

 
Andrew Cunningham
Frequent Advisor

aCC 03.50 compile problem

When compiling some C++ on HP-UX 11.0, using aCC 03.50 I am getting the following error.
There are no declarations of vector in the source.
The same code compiles fine with gcc and other ( Windows) compilers. I have attached the preprocessed source.

seaside 52: aCC -AA -c bug.cpp

Error 617: Exact position unknown; near ["Containment/WmlContSeparatePoints2.cpp", line 164]. # The definition of template vector contains typename qualification '_Allocator::rebind', yet generation of specialization class
vector implies that '_Allocator' is 'float', which is not a class type.
Error 445: "Containment/WmlContSeparatePoints2.cpp", line 164 # Cannot recover from earlier errors.
template bool SeparatePoints2 (int,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
seaside 53: aCC -V
aCC: HP ANSI C++ B3910B A.03.50
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: aCC 03.50 compile problem

The latest compiler is now A.03.67. You should try that.

Why do you have template vector?
Have you messed up your allocator? You may want to specify the allocator rather than taking the default. (There may have been a problem like that.)