unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@pobox.com>
Cc: Douglas Mencken <dougmencken@gmail.com>, bug-guile@gnu.org
Subject: Re: guile build problem with gcc 4.6.0
Date: Thu, 17 Mar 2011 17:58:35 +0100	[thread overview]
Message-ID: <8762rhwuo4.fsf@gnu.org> (raw)
In-Reply-To: <m3aagu10ua.fsf@unquote.localdomain> (Andy Wingo's message of "Thu, 17 Mar 2011 11:46:21 +0100")

Hello!

Andy Wingo <wingo@pobox.com> writes:

> On Mon 14 Mar 2011 17:51, Douglas Mencken <dougmencken@gmail.com> writes:
>
>>> Can you send a log of "make -k" ?  Then we can fix them all in one go.
>>
>> Of course. guile 2.0.0, make -k output (stdout+stderr) attached.
>
> Thanks.  I fixed most of them, but a couple require more thought:
>
>> i18n.c:120:0: warning: "LC_CTYPE_MASK" redefined [enabled by default]
>> /usr/include/locale.h:166:0: note: this is the location of the previous definition
>> i18n.c:121:0: warning: "LC_COLLATE_MASK" redefined [enabled by default]
>> /usr/include/locale.h:169:0: note: this is the location of the previous definition
>> i18n.c:122:0: warning: "LC_MESSAGES_MASK" redefined [enabled by default]
>> /usr/include/locale.h:171:0: note: this is the location of the previous definition
>> i18n.c:123:0: warning: "LC_MONETARY_MASK" redefined [enabled by default]
>> /usr/include/locale.h:170:0: note: this is the location of the previous definition
>> i18n.c:124:0: warning: "LC_NUMERIC_MASK" redefined [enabled by default]
>> /usr/include/locale.h:167:0: note: this is the location of the previous definition
>> i18n.c:125:0: warning: "LC_TIME_MASK" redefined [enabled by default]
>> /usr/include/locale.h:168:0: note: this is the location of the previous definition
>> i18n.c:158:0: warning: "LC_ALL_MASK" redefined [enabled by default]
>> /usr/include/locale.h:193:0: note: this is the location of the previous definition
>
> I don't understand why the code is redefining these masks.  Ludovic, do
> you know?

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

Basically, you shouldn’t expect -Werror to work on non-GNU systems.

Thanks,
Ludo’.



  reply	other threads:[~2011-03-17 16:58 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 [this message]
2011-03-20 19:11         ` Douglas Mencken
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=8762rhwuo4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guile@gnu.org \
    --cc=dougmencken@gmail.com \
    --cc=wingo@pobox.com \
    /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).