From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Klausner Newsgroups: gmane.lisp.guile.bugs Subject: bug#26122: guile-2.2.0: locale redefinitions warnings Date: Thu, 16 Mar 2017 10:28:23 +0100 Message-ID: <20170316092823.zfcv6ukszkqltjpw@danbala> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1489657043 1744 195.159.176.226 (16 Mar 2017 09:37:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Mar 2017 09:37:23 +0000 (UTC) To: 26122@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Mar 16 10:37:18 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coRqN-00089S-NA for guile-bugs@m.gmane.org; Thu, 16 Mar 2017 10:37:15 +0100 Original-Received: from localhost ([::1]:41907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coRqT-0001P1-5g for guile-bugs@m.gmane.org; Thu, 16 Mar 2017 05:37:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coRiV-0002cZ-EO for bug-guile@gnu.org; Thu, 16 Mar 2017 05:29:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coRiQ-0002tY-FS for bug-guile@gnu.org; Thu, 16 Mar 2017 05:29:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1coRiQ-0002tS-C4 for bug-guile@gnu.org; Thu, 16 Mar 2017 05:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1coRiQ-0005pT-5k for bug-guile@gnu.org; Thu, 16 Mar 2017 05:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Klausner Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 16 Mar 2017 09:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26122 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148965651922368 (code B ref -1); Thu, 16 Mar 2017 09:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Mar 2017 09:28:39 +0000 Original-Received: from localhost ([127.0.0.1]:57980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coRi2-0005oh-Ra for submit@debbugs.gnu.org; Thu, 16 Mar 2017 05:28:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coRi1-0005oQ-GL for submit@debbugs.gnu.org; Thu, 16 Mar 2017 05:28:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coRhv-0002mC-Dh for submit@debbugs.gnu.org; Thu, 16 Mar 2017 05:28:32 -0400 Original-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 ) id 1coRhv-0002m4-AU for submit@debbugs.gnu.org; Thu, 16 Mar 2017 05:28:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coRhu-00027m-1e for bug-guile@gnu.org; Thu, 16 Mar 2017 05:28:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coRhp-0002kh-44 for bug-guile@gnu.org; Thu, 16 Mar 2017 05:28:30 -0400 Original-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 ) id 1coRho-0002kQ-Pc for bug-guile@gnu.org; Thu, 16 Mar 2017 05:28:25 -0400 Original-Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id 9F5CFA51C; Thu, 16 Mar 2017 10:28:23 +0100 (CET) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8694 Archived-At: 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