05-19-2003 10:24 PM
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.
Can anyone provide solution for this?
05-30-2003 07:56 AM
Generally, this error appears when you compare (or assign) a long variable to a integer.
$ cat test.c
$ 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'.
05-30-2003 08:22 AM
07-12-2004 05:06 PM
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.