Question for warning message wnen linking is done.
문운홍
moonwh@netsgo.com
Tue Oct 17 23:35:00 GMT 2000
Thanks for your efforts.
When I compiled my source code with gcc 2.95.2 on Solars 7(SUN Ultra 10),
I got the warning message as following:
---------------------------------------------------
ld: warning: symbol `LogFname' has differing alignments:
(file /home/ysjung/src/moon.o value=0x8;
file /home/ysjung/prog/lib/libYYY.a(task.o) value=0x1);
largest value applied
---------------------------------------------------
The file of /home/ysjung/prog/lib/libYYY.a(task.o) was compiled
on the other SUN workstation with cc compiler.
Would you let me know the reason of the message
and how to avoid the waring?
Thank you.
--
W. Moon
More information about the Gcc
mailing list