Re: hard-locale.c: SETLOCALE_NULL_MAX

2020-10-01 Thread Marc Nieper-Wißkirchen
Hi Bruno, thank you for your reply. I could finally track down the error. It was in my build configuration. Somehow, the wrong "-I ..." flags were set up during the compilation of the Gnulib modules. It's working now. So, everything is alright with Gnulib and I can retract my bug report. Please ex

Re: hard-locale.c: SETLOCALE_NULL_MAX

2020-09-30 Thread Bruno Haible
Hi Marc, > The compiler throws the following error at me: > > lib/hard-locale.c: In function 'hard_locale': > lib/hard-locale.c:29:15: error: 'SETLOCALE_NULL_MAX' undeclared (first > use in this function); did you mean 'SETLOCALE_NULL_ALL_MTSAFE'? >29 | char locale[SETLOCALE_NULL_MAX]; >

Re: hard-locale.c: SETLOCALE_NULL_MAX

2020-09-30 Thread Marc Nieper-Wißkirchen
PS It may also be due to a problem in my build system (I am using non-recursive make) so that the system-wide locale.h is included and not the Gnulib version... Am Mi., 30. Sept. 2020 um 16:29 Uhr schrieb Marc Nieper-Wißkirchen : > > It seems that I have stumbled across the same bug as reported he

hard-locale.c: SETLOCALE_NULL_MAX

2020-09-30 Thread Marc Nieper-Wißkirchen
It seems that I have stumbled across the same bug as reported here: https://bugs.gentoo.org/709732 The compiler throws the following error at me: lib/hard-locale.c: In function 'hard_locale': lib/hard-locale.c:29:15: error: 'SETLOCALE_NULL_MAX' undeclared (first use in this function); did you me