From: Andy Wingo <wingo@pobox.com>
To: Douglas Mencken <dougmencken@gmail.com>
Cc: bug-guile@gnu.org, ludo@gnu.org
Subject: Re: guile build problem with gcc 4.6.0
Date: Thu, 17 Mar 2011 11:46:21 +0100 [thread overview]
Message-ID: <m3aagu10ua.fsf@unquote.localdomain> (raw)
In-Reply-To: <AANLkTikKTL4DFuVaUzNY4qx3OHuYvawn_E-06Pmhsq2J@mail.gmail.com> (Douglas Mencken's message of "Mon, 14 Mar 2011 17:51:18 +0100")
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?
> 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/
next prev parent reply other threads:[~2011-03-17 10:46 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 [this message]
2011-03-17 16:58 ` Ludovic Courtès
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=m3aagu10ua.fsf@unquote.localdomain \
--to=wingo@pobox.com \
--cc=bug-guile@gnu.org \
--cc=dougmencken@gmail.com \
--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).