Hello! Andy Wingo <[email protected]> writes:
> On Mon 14 Mar 2011 17:51, Douglas Mencken <[email protected]> writes: > >>> Can you send a log of "make -k" ? Then we can fix them all in one go. >> >> Of course. guile 2.0.0, make -k output (stdout+stderr) attached. > > Thanks. I fixed most of them, but a couple require more thought: > >> i18n.c:120:0: warning: "LC_CTYPE_MASK" redefined [enabled by default] >> /usr/include/locale.h:166:0: note: this is the location of the previous >> definition >> i18n.c:121:0: warning: "LC_COLLATE_MASK" redefined [enabled by default] >> /usr/include/locale.h:169:0: note: this is the location of the previous >> definition >> i18n.c:122:0: warning: "LC_MESSAGES_MASK" redefined [enabled by default] >> /usr/include/locale.h:171:0: note: this is the location of the previous >> definition >> i18n.c:123:0: warning: "LC_MONETARY_MASK" redefined [enabled by default] >> /usr/include/locale.h:170:0: note: this is the location of the previous >> definition >> i18n.c:124:0: warning: "LC_NUMERIC_MASK" redefined [enabled by default] >> /usr/include/locale.h:167:0: note: this is the location of the previous >> definition >> i18n.c:125:0: warning: "LC_TIME_MASK" redefined [enabled by default] >> /usr/include/locale.h:168:0: note: this is the location of the previous >> definition >> i18n.c:158:0: warning: "LC_ALL_MASK" redefined [enabled by default] >> /usr/include/locale.h:193:0: note: this is the location of the previous >> definition > > I don't understand why the code is redefining these masks. Ludovic, do > you know? Douglas: What libc are you using? On glibc, these macros shouldn’t get redefined. Basically, you shouldn’t expect -Werror to work on non-GNU systems. Thanks, Ludo’.
