- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LP64 WARNING IS GETTING SUPPRESSED
Operating System - HP-UX
1753773
Members
5059
Online
108799
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
тАО05-19-2003 10:24 PM
тАО05-19-2003 10:24 PM
LP64 WARNING IS GETTING SUPPRESSED
When i am compiling the .c file in CBSIHP01 or CBSIHP02 with +M2 and +DD64 options enabled I am getting Warnings as below
cc: "stubstr.c", line 8: warning 720: LP64 migration: Assignment may overflow integer "len".
When i am compiling the .c file in CVNSHP03 with +M2 and +DD64 options enabled I am getting Warnings as below
cc: "stubstr.c", line 8: warning 720:Assignment may overflow integer "len"
..But we want LP64 migration MESSAGE in CVNSHP03 also........
I have enclosed the Hardware model of CBSIHP01, CBSIHP02 and CVNSHP03.
CBSIHP01: 9000/782/J2240
CBSIHP02: 9000/861/D270
CVNSHP03: 9000/800/L3000-7x
Can anyone provide solution for this?
Thanks
C.Balaji
cc: "stubstr.c", line 8: warning 720: LP64 migration: Assignment may overflow integer "len".
When i am compiling the .c file in CVNSHP03 with +M2 and +DD64 options enabled I am getting Warnings as below
cc: "stubstr.c", line 8: warning 720:Assignment may overflow integer "len"
..But we want LP64 migration MESSAGE in CVNSHP03 also........
I have enclosed the Hardware model of CBSIHP01, CBSIHP02 and CVNSHP03.
CBSIHP01: 9000/782/J2240
CBSIHP02: 9000/861/D270
CVNSHP03: 9000/800/L3000-7x
Can anyone provide solution for this?
Thanks
C.Balaji
- Tags:
- migration
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2003 07:56 AM
тАО05-30-2003 07:56 AM
Re: LP64 WARNING IS GETTING SUPPRESSED
Hi,
Generally, this error appears when you compare (or assign) a long variable to a integer.
for example:
$ cat test.c
void main(void)
{
int a;
long b=1L;
a=b;
}
$ cc +M2 +DD64 test.c -o test
cc: "test.c", line 5: LP64 migration warning 720: Assignment may overflow integer "a".
the solution is to replace 'int' by 'long'.
Regards,
Nicolas
Generally, this error appears when you compare (or assign) a long variable to a integer.
for example:
$ cat test.c
void main(void)
{
int a;
long b=1L;
a=b;
}
$ cc +M2 +DD64 test.c -o test
cc: "test.c", line 5: LP64 migration warning 720: Assignment may overflow integer "a".
the solution is to replace 'int' by 'long'.
Regards,
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2003 08:22 AM
тАО05-30-2003 08:22 AM
Re: LP64 WARNING IS GETTING SUPPRESSED
Do a cc -V myfile.c and make sure that all the compilers are at the same revision level. Next check to see if compiler patches are equivalent.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2004 05:06 PM
тАО07-12-2004 05:06 PM
Re: LP64 WARNING IS GETTING SUPPRESSED
NLSPATH=/opt/ansic/lib/nls/msg/C/%N.cat
You have to set /opt/ansic/lib/nls/msg/C/%N.cat catalogue path of system ( C Compiler Catalog message path). then you will get that message.
Thanks
Srinivasan S
You have to set /opt/ansic/lib/nls/msg/C/%N.cat catalogue path of system ( C Compiler Catalog message path). then you will get that message.
Thanks
Srinivasan S
- Tags:
- NLSPATH
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