bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26122: guile-2.2.0: locale redefinitions warnings


From: Thomas Klausner
Subject: bug#26122: 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]