unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Thomas Klausner <tk@giga.or.at>
To: 26122@debbugs.gnu.org
Subject: bug#26122: guile-2.2.0: locale redefinitions warnings
Date: Thu, 16 Mar 2017 10:28:23 +0100	[thread overview]
Message-ID: <20170316092823.zfcv6ukszkqltjpw@danbala> (raw)

Hi!

When compiling guile-2.2.0 on NetBSD-7.99.65/amd64, I see the following warnings:

i18n.c:131:0: warning: "LC_CTYPE_MASK" redefined
 # define LC_CTYPE_MASK  1
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:99:0: note: this is the location of the previous definition
 #define LC_CTYPE_MASK  ((int)(1 << LC_CTYPE))
 ^
i18n.c:132:0: warning: "LC_COLLATE_MASK" redefined
 # define LC_COLLATE_MASK 2
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:98:0: note: this is the location of the previous definition
 #define LC_COLLATE_MASK  ((int)(1 << LC_COLLATE))
 ^
i18n.c:133:0: warning: "LC_MESSAGES_MASK" redefined
 # define LC_MESSAGES_MASK 4
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:103:0: note: this is the location of the previous definition
 #define LC_MESSAGES_MASK ((int)(1 << LC_MESSAGES))
 ^
i18n.c:134:0: warning: "LC_MONETARY_MASK" redefined
 # define LC_MONETARY_MASK 8
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:100:0: note: this is the location of the previous definition
 #define LC_MONETARY_MASK ((int)(1 << LC_MONETARY))
 ^
i18n.c:135:0: warning: "LC_NUMERIC_MASK" redefined
 # define LC_NUMERIC_MASK 16
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:101:0: note: this is the location of the previous definition
 #define LC_NUMERIC_MASK  ((int)(1 << LC_NUMERIC))
 ^
i18n.c:136:0: warning: "LC_TIME_MASK" redefined
 # define LC_TIME_MASK  32
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:102:0: note: this is the location of the previous definition
 #define LC_TIME_MASK  ((int)(1 << LC_TIME))
 ^
i18n.c:169:0: warning: "LC_ALL_MASK" redefined
 # define LC_ALL_MASK  (LC_CTYPE_MASK   \
 ^
In file included from ../lib/locale.h:38:0,
                 from i18n.c:36:
/usr/include/locale.h:97:0: note: this is the location of the previous definition
 #define LC_ALL_MASK  ((int)~0)


I guess this checks for the wrong symbol before re-defining them?
 Thomas





                 reply	other threads:[~2017-03-16  9:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20170316092823.zfcv6ukszkqltjpw@danbala \
    --to=tk@giga.or.at \
    --cc=26122@debbugs.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).