Re: Compile error with xlclang++ on AIX

2019-12-18 Thread Bruno Haible
On 2019-12-07 I pushed: > * lib/wchar.in.h (mbstate_t): Don't override on AIX. This caused a regression: mbrtowc tests started to fail on AIX and, later, also on MSVC. This patch fixes the regression: 2019-12-18 Bruno Haible wchar: Fix test failures on AIX and MSVC (regression

Re: Compile error with xlclang++ on AIX

2019-12-07 Thread Bruno Haible
Christian Biesinger wrote: > (tested on the GCC compile farm, gcc119, /opt/IBM/xlC/16.1.0/bin/xlclang++) > > /opt/IBM/xlC/16.1.0/include2/c++/__bsd_locale_fallbacks.h:50:12: > error: no matching function for call to > 'wcsnrtombs' > return wcsnrtombs(__dest, __src, __nwc, __len, __ps);

Re: Compile error with xlclang++ on AIX

2019-12-05 Thread Bruno Haible
Christian Biesinger wrote: > Testcase: > #include "gnulib/config.h" > #include // optional > #include > > int main() { > } Let me add more C++ tests to gnulib, so that such errors become apparent when compiling a testdir created with the option 'with-c++-tests'. 2019-12-05 Bruno Haible

Re: Compile error with xlclang++ on AIX

2019-12-03 Thread Christian Biesinger
On Tue, Dec 3, 2019, 02:31 Bruno Haible wrote: > Hi Christian, > > > $ /opt/IBM/xlC/16.1.0/bin/xlclang++ test.cc -I gnulib/import -I > > ../gnulib/import/ > > In file included from test.cc:2: > > In file included from gnulib/import/stdlib.h:36: > > In file included from

Re: Compile error with xlclang++ on AIX

2019-12-03 Thread Bruno Haible
Hi Christian, > $ /opt/IBM/xlC/16.1.0/bin/xlclang++ test.cc -I gnulib/import -I > ../gnulib/import/ > In file included from test.cc:2: > In file included from gnulib/import/stdlib.h:36: > In file included from /opt/IBM/xlC/16.1.0/include2/c++/stdlib.h:94: >

Re: Compile error with xlclang++ on AIX

2019-12-02 Thread Christian Biesinger
That was actually the second error I got. I had to work around this first one to get to it: $ /opt/IBM/xlC/16.1.0/bin/xlclang++ test.cc -I gnulib/import -I ../gnulib/import/ In file included from test.cc:2: In file included from gnulib/import/stdlib.h:36: In file included from