From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Douglas Mencken Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile build problem with gcc 4.6.0 Date: Sun, 20 Mar 2011 20:11:30 +0100 Message-ID: References: <8762rhwuo4.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300649396 13457 80.91.229.12 (20 Mar 2011 19:29:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2011 19:29:56 +0000 (UTC) Cc: bug-guile@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Mar 20 20:29:52 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1OJt-0002eR-Hn for guile-bugs@m.gmane.org; Sun, 20 Mar 2011 20:29:45 +0100 Original-Received: from localhost ([127.0.0.1]:40291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1O2O-0001dT-Du for guile-bugs@m.gmane.org; Sun, 20 Mar 2011 15:11:40 -0400 Original-Received: from [140.186.70.92] (port=42268 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1O2H-0001c9-OZ for bug-guile@gnu.org; Sun, 20 Mar 2011 15:11:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1O2F-000777-GQ for bug-guile@gnu.org; Sun, 20 Mar 2011 15:11:32 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:65497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1O2F-00076z-EK; Sun, 20 Mar 2011 15:11:31 -0400 Original-Received: by vxk12 with SMTP id 12so5870409vxk.0 for ; Sun, 20 Mar 2011 12:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wtV8ASfJZ959bC3dWPNbSJQudtunRnf+E3I71iEUtMI=; b=v2hznsfxNPkDwv6Uqf9C9UlFWgZFaVuwSvv4MzlSFAm0NlxauhgbKrYppW23nMIcSJ yMAbVZAScry72hG4QGMxd71yJLfWcjXx8idXgKrFT7OI46ZryFcBaAy/RKVNJ37GWGDe cCHxrc3uEiBmnaFXmAYhyT4Ra2lI3nYQjhzxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZcNyo//c2Z3JgeKFO72F3u7EpJehhSFKSfpd+zpKJMqg9dsCtJGbOdAc6o3nGovUGE 2OgsmRoh/aDw52ZUmJ+2THxLVyQCyjFCpWpvYVlOOstKdC02skGby3eNCGll7jpjQ5OQ pekxqu5MzWv6ibPxOPJO9rMP+qp91y4WQ0fHY= Original-Received: by 10.220.179.132 with SMTP id bq4mr923876vcb.124.1300648290445; Sun, 20 Mar 2011 12:11:30 -0700 (PDT) Original-Received: by 10.220.185.139 with HTTP; Sun, 20 Mar 2011 12:11:30 -0700 (PDT) In-Reply-To: <8762rhwuo4.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5353 Archived-At: > What libc are you using? On glibc, these macros shouldn=92t get redefined. My standard C library for this setup is uClibc. > Basically, you shouldn=92t expect -Werror to work on non-GNU systems. Is it possible to switch off -Werror for non-glibc systems, for example, on autoconf/automake/configure stage? I'm currently using the following sed commands before running autoreconf: sed -i 's/CFLAGS=3D"${CFLAGS} -Werror"/##CFLAGS=3D"${CFLAGS} -Werror"/' ./configure.ac sed -i 's/POTENTIAL_GCC_CFLAGS=3D"${POTENTIAL_GCC_CFLAGS} -Werror"/##POTENTIAL_GCC_CFLAGS=3D"${POTENTIAL_GCC_CFLAGS} -Werror"/' ./configure.ac