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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Thomas Klausner <tk@HIDDEN>; dated Thu, 16 Mar 2017 09:29:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Mar 2017 09:28:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 16 05:28:39 2017
Received: from localhost ([127.0.0.1]:57980 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1coRi2-0005oh-Ra
	for submit <at> debbugs.gnu.org; Thu, 16 Mar 2017 05:28:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58305)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wiz@HIDDEN>) id 1coRi1-0005oQ-GL
 for submit <at> debbugs.gnu.org; Thu, 16 Mar 2017 05:28:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wiz@HIDDEN>) id 1coRhv-0002mC-Dh
 for submit <at> debbugs.gnu.org; Thu, 16 Mar 2017 05:28:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58168)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <wiz@HIDDEN>)
 id 1coRhv-0002m4-AU
 for submit <at> debbugs.gnu.org; Thu, 16 Mar 2017 05:28:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49261)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wiz@HIDDEN>) id 1coRhu-00027m-1e
 for bug-guile@HIDDEN; Thu, 16 Mar 2017 05:28:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wiz@HIDDEN>) id 1coRhp-0002kh-44
 for bug-guile@HIDDEN; Thu, 16 Mar 2017 05:28:30 -0400
Received: from danbala.ifoer.tuwien.ac.at ([128.130.168.114]:49601)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <wiz@HIDDEN>)
 id 1coRho-0002kQ-Pc
 for bug-guile@HIDDEN; Thu, 16 Mar 2017 05:28:25 -0400
Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116)
 id 9F5CFA51C; Thu, 16 Mar 2017 10:28:23 +0100 (CET)
Date: Thu, 16 Mar 2017 10:28:23 +0100
From: Thomas Klausner <tk@HIDDEN>
To: bug-guile@HIDDEN
Subject: guile-2.2.0: locale redefinitions warnings
Message-ID: <20170316092823.zfcv6ukszkqltjpw@danbala>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

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




Acknowledgement sent to Thomas Klausner <tk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#26122; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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