- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Testing for C++0x mode in HP aCC
Operating System - HP-UX
1748255
Members
3960
Online
108760
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
Go to solution
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
тАО08-12-2010 04:32 PM
тАО08-12-2010 04:32 PM
If I compile with the C++0x mode by using the command line option -Ax, how can I test for this mode via a macro #define ? I could find no macro which is defined or set to 1 if this mode is on.
Solved! Go to Solution.
- Tags:
- C++0x
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2010 09:02 PM
тАО08-12-2010 09:02 PM
Re: Testing for C++0x mode in HP aCC
>I could find no macro which is defined
Where did you look?
The -v output shows: -D_HP_CXX0x_SOURCE
(I've just updated the man page.)
Where did you look?
The -v output shows: -D_HP_CXX0x_SOURCE
(I've just updated the man page.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2010 01:59 PM
тАО08-13-2010 01:59 PM
Re: Testing for C++0x mode in HP aCC
< Where did you look?
< The -v output shows: -D_HP_CXX0x_SOURCE
< (I've just updated the man page.)
I looked in the documentation under Predefined Macros. Are you saying that there is a macro HP_CXX0x_SOURCE that is defined only when in C++0x mode ?
< The -v output shows: -D_HP_CXX0x_SOURCE
< (I've just updated the man page.)
I looked in the documentation under Predefined Macros. Are you saying that there is a macro HP_CXX0x_SOURCE that is defined only when in C++0x mode ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2010 07:36 AM
тАО08-14-2010 07:36 AM
Solution
>I looked in the documentation under Predefined Macros.
Unfortunately it isn't documented, google only finds this thread.
>Are you saying that there is a macro HP_CXX0x_SOURCE that is defined only when in C++0x mode?
I thought I did. :-)
Unfortunately it isn't documented, google only finds this thread.
>Are you saying that there is a macro HP_CXX0x_SOURCE that is defined only when in C++0x mode?
I thought I did. :-)
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