On 15 November 2015 at 12:14, Jonathan Wakely <jwak...@redhat.com> wrote: > On 15/11/15 09:58 +0100, Christophe Lyon wrote: >> >> Ha, and my newlib copy is not very recent, it's from Oct 30th 2013: >> maybe it's too old? > > > The autoconf checks should handle old versions as well as new. > > The problem is I didn't change a defined(_GLIBCXX_USE_C99_WCHAR) to > just test its value, rather than whether it's defined. > > As I added to include/bits/c++config on Friday: > > // N.B. these _GLIBCXX_USE_C99_XXX macros are defined unconditionally > // so they should be tested with #if not with #ifdef. > > Fixed with this patch, committed to trunk. >
Thanks, this does fix the build of aarch64*-none-elf. The arm*-none-eabi ones are still failing, but for another reason now. Lots of things have been committed in the past few days :-)