HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: C/ANSI C not compiling after installing hpux 1...
Operating System - HP-UX
1835426
Members
2535
Online
110078
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
08-29-2003 01:19 AM
08-29-2003 01:19 AM
C/ANSI C not compiling after installing hpux 11
Hi everyone
I have installed HPUX 11.00 on a test server and have installed C/ANSI C.
Our code which we copied from our 10.20 server is no longer compiling.
The 2 versions of ANSI C are :
B3900AA-APZ (b.10.20.02) compiles OK
B3901BA (b.11.00) not compiling
We are receiving the following error messages :
warning 527: Integral value implicitly converted to pointer in assignment.
error 1522: Cannot initialize a pointer with an integer constant other than zero.
error 1523: Too many initializers.
The code and environment settings are the same as the 10.20 server where our code compiles without errors.
Is there anything I need to change for the new version?
Thanks
I have installed HPUX 11.00 on a test server and have installed C/ANSI C.
Our code which we copied from our 10.20 server is no longer compiling.
The 2 versions of ANSI C are :
B3900AA-APZ (b.10.20.02) compiles OK
B3901BA (b.11.00) not compiling
We are receiving the following error messages :
warning 527: Integral value implicitly converted to pointer in assignment.
error 1522: Cannot initialize a pointer with an integer constant other than zero.
error 1523: Too many initializers.
The code and environment settings are the same as the 10.20 server where our code compiles without errors.
Is there anything I need to change for the new version?
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 01:27 AM
08-29-2003 01:27 AM
Re: C/ANSI C not compiling after installing hpux 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 01:38 AM
08-29-2003 01:38 AM
Re: C/ANSI C not compiling after installing hpux 11
Thanks for the reply.
I see what the error messages mean, but I just want to know if I have to change all my code which compile OK on HPUX 10.20 version.
After upgrading both the OS and ANSI/C version, do you have to re-write all your code.
Thanks
I see what the error messages mean, but I just want to know if I have to change all my code which compile OK on HPUX 10.20 version.
After upgrading both the OS and ANSI/C version, do you have to re-write all your code.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 03:43 AM
08-29-2003 03:43 AM
Re: C/ANSI C not compiling after installing hpux 11
Hi
I don't think you have to re-write all your code, but it seems you have to do some of it. Some of these error may have been ignored on 10.20 ( they maybe only a warning on 10.20), but 11.00 won't ignore them. you must note that you are using different compiler then the one on 10.20. You may even manage to compile it using gcc ( have you test that ? ).
If you want to use hp 11.00 ansi C you need to change the code.
__Mehdi
I don't think you have to re-write all your code, but it seems you have to do some of it. Some of these error may have been ignored on 10.20 ( they maybe only a warning on 10.20), but 11.00 won't ignore them. you must note that you are using different compiler then the one on 10.20. You may even manage to compile it using gcc ( have you test that ? ).
If you want to use hp 11.00 ansi C you need to change the code.
__Mehdi
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