This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Stray characters in .o files....
- From: "Thomas J Amato" <Thomas_J_Amato at raytheon dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Wed, 19 Jun 2002 11:54:47 -0400
- Subject: Re: Stray characters in .o files....
Never mind. Pilot error. I realized that I had the -x c++ (not sure how it
got there ;-o ) option on the command line.
Tom
Zack Weinberg
<zack@codesource To: Thomas J Amato
ry.com> <Thomas_J_Amato@raytheon.com>
cc: gcc@gcc.gnu.org, gcc-help@gcc.gnu.org
06/19/02 11:33 Subject: Re: Stray characters in .o files....
AM
On Wed, Jun 19, 2002 at 10:39:22AM -0400, Thomas J Amato wrote:
> 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
Something has become severely confused and is attempting to parse
object files as source code. Since you do not show the link command,
I cannot tell what happened.
zw