- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Porting code from classic to standard C++ - aCC A....
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
Forums
Discussions
Discussions
Discussions
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
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
09-07-2004 05:23 AM
09-07-2004 05:23 AM
Porting code from classic to standard C++ - aCC A.03.55 on HPUX 11.00/PA-RISC
we have a project here that runs on HP-UX 11.00 (PA-RISC) and also on Solaris and Windows. Until the present version, C++ code would be compiled under HP-UX using the classic C++ library; now we want to move to the new C++ library and have a bit of trouble with some class members not present anymore in the new iostream library. The main offender is streambuf.base(), which doesn't seem to exist in the new library. Is there any equivalent for it in the standard C++ library that we could use? Basically, we have a class that inherits from streambuf and manipulates some of its protected members (like base()). Are there any other things I should know about this transition? Thanks in advance.
- Tags:
- -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 05:39 AM - last edited on 09-16-2024 02:09 AM by support_s
09-07-2004 05:39 AM - last edited on 09-16-2024 02:09 AM by support_s
Re: Porting code from classic to standard C++ - aCC A.03.55 on HPUX 11.00/PA-RISC
look at the link:
http://h21007.www2.hp.com/dspp/ml/showArchiveMessage/1,,24!02!03!0044,00.html
Regards,
Zygmunt
- Tags:
- enclosure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 05:46 AM
09-07-2004 05:46 AM
Re: Porting code from classic to standard C++ - aCC A.03.55 on HPUX 11.00/PA-RISC
http://h21007.www2.hp.com/cmdspp/QuestionAnswer/1,1764,1320202B-67BE-440A-8A2C-49DE4D089E42,00.html
Anyway, is there some way to mix code that uses classic iostreams with code that uses standard C++? On Solaris this seems to be possible (standard C++ support is on by default and you can specify -library=iostream to link with the old library), but as far as I understand from the documentation, on HP you can either:
1) use classic iostreams and not have namespace std, newer STL and other standard C++ stuff; I don't think we can do this, since we have quite a significant amount of new code that uses STL and std:: classes.
2) use new iostreams and standard C++ features. This would require getting rid of dependencies on old iostreams.
Are there any other options? Somebody reported on CXX-DEV that they could mix -AA code that was using new iostreams with old code that didn't use streams at all, but I'd be interested in the opposite - mix code compiled with -AP using old iostreams with code that uses standard C++ (and is compiled with -AA) but doesn't use iostreams at all.