From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8980 invoked by alias); 19 Jun 2002 16:06:53 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 8881 invoked from network); 19 Jun 2002 16:06:43 -0000 Received: from unknown (HELO bos-gate3.raytheon.com) (199.46.198.232) by sources.redhat.com with SMTP; 19 Jun 2002 16:06:43 -0000 Received: from ds02e00.directory.ray.com (ds02e00.directory.ray.com [147.25.130.245]) by bos-gate3.raytheon.com (8.11.0.Beta3/8.11.0.Beta3) with ESMTP id g5JG6gF23115; Wed, 19 Jun 2002 12:06:42 -0400 (EDT) Received: from ds02e00.directory.ray.com (root@localhost) by ds02e00.directory.ray.com (8.12.1/8.12.1) with ESMTP id g5JG5Wr3001910; Wed, 19 Jun 2002 12:06:39 -0400 (EDT) Received: from ad2-mta02.and.us.ray.com (ad2-mta02.and.us.ray.com [138.127.59.160]) by ds02e00.directory.ray.com (8.12.1/8.12.1) with ESMTP id g5JG5VZD001874; Wed, 19 Jun 2002 12:05:31 -0400 (EDT) Subject: Re: Stray characters in .o files.... To: Zack Weinberg Cc: gcc@gcc.gnu.org, gcc-help@gcc.gnu.org Message-ID: From: "Thomas J Amato" Date: Wed, 19 Jun 2002 09:06:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00180.txt.bz2 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 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