Overview
Features
Download
Documentation
Community
Add-Ons & Services

poco 1.3.3 compilation erro on HP-UX 11.11

Please post support and help requests here.

poco 1.3.3 compilation erro on HP-UX 11.11

Postby rafa.souza » 15 Oct 2008, 14:13

Hello,

I am trying to compile poco release 1.3.3 on HP-UX and I got the error:

Error 902: "include/Poco/DynamicAny.h", line 178 # Template deduction failed to find a match for the call to 'extract' with signature 'void (const

Poco::DynamicAny *)'.

return extract();

^ ^ ^^

Error 226: "include/Poco/DynamicAny.h", line 182 # No appropriate function found for call of 'convert'. Last viable candidate was "void

Poco::DynamicAnyHolder::convert(signed char &) const" ["include/Poco/DynamicAnyHolder.h", line 87]. Argument of type 'void' could not be converted to

'signed char &'.

_pHolder->convert(result);

^ ^^

Error 556: "src/DynamicAny.cpp", line 215 # Unable to generate specialization "Poco::DynamicAny::operator void() const" due to errors during

generation.

return *this = *this + 1;

^ ^ ^

Any kind of help, will be appreciated!

Thanks,

Rafa Souza
rafa.souza
 
Posts: 5
Joined: 05 Jun 2008, 00:45
Location: Brazil

Re: poco 1.3.3 compilation erro on HP-UX 11.11

Postby guenter » 16 Oct 2008, 13:59

Are you using the latest compiler version from HP? I have tested the current release on 11.11 Itanium, using the latest HP aCC and it worked.
HP has, unfortunately, killed their TestDrive program, so I currently don't have access to an HP system.
guenter
 
Posts: 1119
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: poco 1.3.3 compilation erro on HP-UX 11.11

Postby rafa.souza » 16 Oct 2008, 15:33

Thanks for your reply! That's a fact, I am not using the newest version of aCC! I will install the new version, and after that, I will try again and I'll give you a feedback.

Thanks again.

Regards,

Rafa Souza
rafa.souza
 
Posts: 5
Joined: 05 Jun 2008, 00:45
Location: Brazil

Re: poco 1.3.3 compilation erro on HP-UX 11.11

Postby rafa.souza » 16 Oct 2008, 19:01

Hi Guenter!

Great news! The newest version of aCC (A.03.80) for HP-UX 11.11 (PA-RISC) has a flag that improves support for templates and enhance ANSI C++ standard compliance.

But, I had to put this flag at build/config/HP-UX to work. I changed the follow line:

CXXFLAGS = -AA +W361 +W307 +W749 +W849 +hpxstd98

I added "+hpxstd98" at the end.

Unfortunatly, I don't know if this is necessary to the new versions of HP-UX (greater than 11.11), but is strongly necessary to the version 11.11!

Thanks,

Regards,

Rafa Souza
rafa.souza
 
Posts: 5
Joined: 05 Jun 2008, 00:45
Location: Brazil


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests