- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- aCC 3.35 complains when "using namespace std;"
Operating System - HP-UX
1752801
Members
5454
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-11-2002 09:41 AM
тАО09-11-2002 09:41 AM
aCC 3.35 complains when "using namespace std;"
I'm trying to build KDE 3.0.3 using aCC 3.35 on HP-UX 11.00. I've installed all the patches that I can find and should be 100% up-to-date. However, I continue to get error 697: "Only namespace names are valid here."
Should not std be defined by virtue of the C++ standard library?
Should not std be defined by virtue of the C++ standard library?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 06:32 AM
тАО09-16-2002 06:32 AM
Re: aCC 3.35 complains when "using namespace std;"
Based on the aC++ 3.33 documentation docs.hp.com, you need to add the "-AA" compiler option. This tells the compiler to use the new 2.x version of the Standard C++ Library, which has the "std" namespace enabled.
About the -AA option: http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_33/options.htm#optioncap-AA
About the 2.x and 1.x libraries: http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_33/infomap.htm#SL2
Hope this helps.
Jack
About the -AA option: http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_33/options.htm#optioncap-AA
About the 2.x and 1.x libraries: http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_33/infomap.htm#SL2
Hope this helps.
Jack
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 01:19 PM
тАО09-18-2002 01:19 PM
Re: aCC 3.35 complains when "using namespace std;"
Thanks Jack. That's perfect. I've been out of the aCC loop for about 18 months now. I guess it is time to catch up and read some release notes.
Unfortunately, it looks like the rest of the KDE3.0.3 code is causing grief for aCC. I've got some more troubleshooting ahead.
Thanks again.
Unfortunately, it looks like the rest of the KDE3.0.3 code is causing grief for aCC. I've got some more troubleshooting ahead.
Thanks again.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP