From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20267 invoked by alias); 5 May 2006 12:23:59 -0000 Received: (qmail 20253 invoked by uid 22791); 5 May 2006 12:23:58 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 05 May 2006 12:23:45 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FbzLS-0006cR-V9; Fri, 05 May 2006 08:23:43 -0400 Date: Fri, 05 May 2006 13:07:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: binutils@sourceware.org Subject: Re: Silence compiler warning on Message-ID: <20060505122342.GA25397@nevyn.them.org> Mail-Followup-To: Mark Kettenis , binutils@sourceware.org References: <200604180912.k3I9Cvra015638@elgar.sibelius.xs4all.nl> <20060504183930.GA6506@nevyn.them.org> <200605050941.k459fI48003434@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605050941.k459fI48003434@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.8i Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00109.txt.bz2 On Fri, May 05, 2006 at 11:41:18AM +0200, Mark Kettenis wrote: > Unfortunately not :( > > configure:11800: checking if we can redeclare _exit > configure:11821: gcc -c -g -O2 conftest.c >&5 > conftest.c:80: ../include/ansidecl.h: No such file or directory !!! How the heck did that work for me? Oh, there's an on this system... > However, it seems that this only happens with GCC 2.95.3 (and probably > older versions). Newer GCC versions seem to be aware of the fact that > _exit() will never return. Perhaps people should just upgrade to a > newer GCC or use --disable-werror. Yes, newer GCCs do automatically add attributes to system header functions. I'm just going to punt then; you can take another shot at it if you'd like :-) -- Daniel Jacobowitz CodeSourcery