This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Question for warning message wnen linking is done.
- To: <gcc at gcc dot gnu dot org>
- Subject: Question for warning message wnen linking is done.
- From: =?ks_c_5601-1987?B?ua6/7sir?= <moonwh at netsgo dot com>
- Date: Wed, 18 Oct 2000 15:35:10 +0900
- Reply-To: =?ks_c_5601-1987?B?ua6/7sir?= <moonwh at netsgo dot com>
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