[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile build problem with gcc 4.6.0
From: |
Andy Wingo |
Subject: |
Re: guile build problem with gcc 4.6.0 |
Date: |
Thu, 17 Mar 2011 11:46:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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?
> In file included from bytevectors.c:41:0:
> ../lib/striconveh.h:22:5: warning: "HAVE_ICONV" is not defined [-Wundef]
> In file included from bytevectors.c:41:0:
> ../lib/striconveh.h:34:5: warning: "HAVE_ICONV" is not defined [-Wundef]
I sent gnulib a bug report for this; but somehow I seem to recall they
think -Wundef is silly.
> i18n.c: In function 'scm_make_locale':
> i18n.c:610:16: warning: variable 'c_base_locale' set but not used
> [-Wunused-but-set-variable]
This one is trickier to extricate, as it is used in another #if branch,
and it's harmless...
Thanks for the report,
Andy
--
http://wingolog.org/