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