- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: aCC use new C++ standards - std namespace erro...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 08:21 PM
тАО12-12-2008 08:21 PM
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1296562
so reposting in the correct one..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 08:55 PM
тАО12-12-2008 08:55 PM
Re: aCC use new C++ standards - std namespace error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 11:17 PM
тАО12-12-2008 11:17 PM
Re: aCC use new C++ standards - std namespace error
-AA was made available in obsolete A.03.26 and A.03.27.
>the links specified in the replies don't work. can someone please post the correct link?
aC++ documentation is available off of the documentation link, off of:
http://www.hp.com/go/cpp
http://www.docs.hp.com/en/1837/options.htm#optioncap-AA
>aCC: HP ANSI C++ B3910B A.03.25
>what are the options available for me?
You don't have much. This is obsolete, A.03.55 was the last release for 11.00. And 11.00 is obsolete.
You could:
1) Port from -AA to -AP.
2) Buy a new Integrity server and install 11.31 and use A.06.20. :-)
3) Somehow get an old g++ that runs on 11.00.
- Tags:
- -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 07:42 AM
тАО12-13-2008 07:42 AM
Re: aCC use new C++ standards - std namespace error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 02:59 PM
тАО12-13-2008 02:59 PM
Re: aCC use new C++ standards - std namespace error
where can i find these patches..
i am getting following error msges:
line 34 # 'class' expected instead of 'std'.
std::string _commandString;
^^^
Error 628: line 34] cannot be defined to have an incomplete type.
std::string _commandString;
^^^^^^^^^^^^^^
Error 239: "../../../include/tptp/TPTPCommand.h", line 34 # A class/union shall not contain a member with incomplete type.
std::string _commandString;
^^^^^^^^^^^^^^
Error 537: line 34 # Cannot create a 'string' object; class string has only been seen as an incomplete declaration.
std::string _commandString;
^^^^^^^^^^^^^^
Error 112: line 18 # Include file
#include
^^^^^^^^^
Error 697:line 23 # Only namespace names are valid here.
using namespace std;
^^^
^^^^^^^^^^^^^
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 05:44 PM
тАО12-13-2008 05:44 PM
Re: aCC use new C++ standards - std namespace error
A.03.26 was for 11.11.
>where can I find these patches?
Have you looked at the ITRC patch database?
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_22868
>I am getting following error messages:
What version of the compiler do you have? And have you used -AA?
You must have at least A.03.27. I'm no longer sure why A.03.25 was mentioned?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 06:44 PM
тАО12-13-2008 06:44 PM
Re: aCC use new C++ standards - std namespace error
HP-UX B.11.00 U 9000/785 2001469948
-bash-2.05b$model
9000/785/C3000
-bash-2.05b$ getconf KERNEL_BITS
64
-bash-2.05b$ aCC -V
aCC: HP ANSI C++ B3910B A.03.25
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 07:54 PM
тАО12-13-2008 07:54 PM
Solution(Same as what I found in your other threads.)
Try installing PHSS_22868 and use -AA.
How many files do you have in /opt/aCC/include_std/?
If you don't have any, you need to get a new compiler version, or use g++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2008 09:30 AM
тАО12-15-2008 09:30 AM
Re: aCC use new C++ standards - std namespace error
http://www11.itrc.hp.com/service/patch/patchDetail.do?admit=109447626+1229360530855+28353475&patchid=PHSS_24627
but not PHSS_22868 which the above one depends on..so is this why i am still seeing the errors mentioned in previous reply
btw, in the patch description, the patches mentioned under the heading of "Symptoms:" , that means all these patches are part of this patch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2008 11:11 AM
тАО12-15-2008 11:11 AM
Re: aCC use new C++ standards - std namespace error
You should install the recommended: PHSS_26945
>is this why I am still seeing the errors mentioned in previous reply
Possibly, or that patch won't work with A.03.25.
>that means all these patches are part of this patch?
Yes, patches are cumulative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2008 07:15 PM
тАО12-16-2008 07:15 PM
Re: aCC use new C++ standards - std namespace error
A.03.25 did NOT ship with /opt/aCC/include_std.