[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile build problem with gcc 4.6.0
From: |
Ludovic Courtès |
Subject: |
Re: guile build problem with gcc 4.6.0 |
Date: |
Thu, 17 Mar 2011 17:58:35 +0100 |
User-agent: |
Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux) |
Hello!
Andy Wingo <address@hidden> writes:
> On Mon 14 Mar 2011 17:51, Douglas Mencken <address@hidden> 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’.