GNU bug report logs - #26122
guile-2.2.0: locale redefinitions warnings

Previous Next

Package: guile;

Reported by: Thomas Klausner <tk <at> giga.or.at>

Date: Thu, 16 Mar 2017 09:29:01 UTC

Severity: normal

To reply to this bug, email your comments to 26122 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#26122; Package guile. (Thu, 16 Mar 2017 09:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Klausner <tk <at> giga.or.at>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 16 Mar 2017 09:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Klausner <tk <at> giga.or.at>
To: bug-guile <at> gnu.org
Subject: guile-2.2.0: locale redefinitions warnings
Date: Thu, 16 Mar 2017 10:28:23 +0100
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




This bug report was last modified 8 years and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.