This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Stray characters in .o files....
- From: "Thomas J Amato" <Thomas_J_Amato at raytheon dot com>
- To: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Wed, 19 Jun 2002 10:39:22 -0400
- Subject: 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