unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Douglas Mencken <dougmencken@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guile@gnu.org
Subject: Re: guile build problem with gcc 4.6.0
Date: Sun, 20 Mar 2011 20:11:30 +0100	[thread overview]
Message-ID: <AANLkTinrA-DZYthtK74QSVOoAj+_0coQAocasSWTgM2U@mail.gmail.com> (raw)
In-Reply-To: <8762rhwuo4.fsf@gnu.org>

> What libc are you using? On glibc, these macros shouldn’t get
redefined.

My standard C library for this setup is uClibc.

> Basically, you shouldn’t 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="${CFLAGS} -Werror"/##CFLAGS="${CFLAGS} -Werror"/'
./configure.ac
sed -i 's/POTENTIAL_GCC_CFLAGS="${POTENTIAL_GCC_CFLAGS}
-Werror"/##POTENTIAL_GCC_CFLAGS="${POTENTIAL_GCC_CFLAGS} -Werror"/'
./configure.ac



  reply	other threads:[~2011-03-20 19:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12 15:49 guile build problem with gcc 4.6.0 Douglas Mencken
2011-03-13 19:26 ` Andy Wingo
2011-03-14 16:51   ` Douglas Mencken
2011-03-17 10:46     ` Andy Wingo
2011-03-17 16:58       ` Ludovic Courtès
2011-03-20 19:11         ` Douglas Mencken [this message]
2011-03-20 20:13           ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinrA-DZYthtK74QSVOoAj+_0coQAocasSWTgM2U@mail.gmail.com \
    --to=dougmencken@gmail.com \
    --cc=bug-guile@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).