This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Stray characters in .o files....


Hi,

I'm hoping that someone has seem this. I am getting a large number of
errors when I go to link my test program (below is a snippet):

.sun_gcc_dbg/test_harness.o:222:107: warning: null character(s) ignored
.sun_gcc_dbg/test_harness.o:222:110: warning: null character(s) ignored
.sun_gcc_dbg/test_harness.o:221: stray '\20' in program
.sun_gcc_dbg/test_harness.o:222:114: warning: null character(s) ignored
.sun_gcc_dbg/test_harness.o:222:122: warning: null character(s) preserved
in literal
.sun_gcc_dbg/test_harness.o:222:203: warning: null character(s) ignored
.sun_gcc_dbg/test_harness.o:222:206: warning: null character(s) ignored
.sun_gcc_dbg/test_harness.o:221: stray '\21' in program
.sun_gcc_dbg/test_harness.o:222:210: warning: null character(s) ignored
.sun_gcc_dbg/test_harness.o:221: stray '\230' in program

I am using gcc 3.1 (configured to use binutils 2.11.2 - as, ld) on Solaris
2.7. Do I need to update my version of binutils? Is it something in the .c
files? I created another smaller test program and that seem to build fine.
What is causing this? Any help would be great.

Thanks,

Tom



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