From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20582 invoked by alias); 19 Jun 2002 14:55:06 -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 20529 invoked from network); 19 Jun 2002 14:55:01 -0000 Received: from unknown (HELO lax-gate5.raytheon.com) (199.46.200.234) by sources.redhat.com with SMTP; 19 Jun 2002 14:55:01 -0000 Received: from ds02w00.directory.ray.com (ds02w00.directory.ray.com [147.25.146.118]) by lax-gate5.raytheon.com (8.11.0.Beta3/8.11.0.Beta3) with ESMTP id g5JEt0X13462; Wed, 19 Jun 2002 07:55:00 -0700 (PDT) Received: from ds02w00.directory.ray.com (root@localhost) by ds02w00.directory.ray.com (8.12.1/8.12.1) with ESMTP id g5JEseFn029736; Wed, 19 Jun 2002 07:54:57 -0700 (PDT) Received: from ad2-mta02.and.us.ray.com (ad2-mta02.and.us.ray.com [138.127.59.160]) by ds02w00.directory.ray.com (8.12.1/8.12.1) with ESMTP id g5JEsamI029669; Wed, 19 Jun 2002 07:54:39 -0700 (PDT) Subject: Stray characters in .o files.... To: gcc@gcc.gnu.org, gcc-help@gcc.gnu.org Message-ID: From: "Thomas J Amato" Date: Wed, 19 Jun 2002 07:55:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00177.txt.bz2 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