HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: C++ Struct Alignment
Operating System - HP-UX
1833883
Members
1803
Online
110063
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
Forums
Discussions
Discussions
Discussions
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
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
03-02-2004 08:27 AM
03-02-2004 08:27 AM
C++ Struct Alignment
Using the CC compiler I can not get the HP_ALIGN, PACK or ALIGN pragmas to work. I keep getting "unrecognized pragma" errors.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 08:30 AM
03-02-2004 08:30 AM
Re: C++ Struct Alignment
Before we go any further, do a cc -v and post the results. If you are using the bundled compiler or trying to compile C++ with the ANSI C compiler then this is hopeless.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 06:03 AM
03-03-2004 06:03 AM
Re: C++ Struct Alignment
I am using the CC compiler (not CC compiler) and the version is A.10.22. It is the HP C++ compiler. CC -v does nothing but put the compiler in verbose mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 06:27 AM
03-03-2004 06:27 AM
Re: C++ Struct Alignment
I have no idea what this means "I am using the CC compiler (not CC compiler)". I wanted you to do a cc -V myfile.c to display the versions of all the components so that it would be possible to determine which compiler you are using. But since you are using the obsolete HP C++ compiler rather than the aCC compiler, I suggest that you install PHSS_14732 along with the dependent patches associated with your OS version.
You could probably achieve the same result with +unum arguments.
You could probably achieve the same result with +unum arguments.
If it ain't broke, I can fix that.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP