This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question for warning message wnen linking is done.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]