https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89615
--- Comment #4 from dave.anglin at bell dot net --- On 2019-03-06 7:26 p.m., redi at gcc dot gnu.org wrote: > OK, so then maybe something like this: > > --- a/libstdc++-v3/include/ext/codecvt_specializations.h > +++ b/libstdc++-v3/include/ext/codecvt_specializations.h > @@ -35,6 +35,7 @@ > #ifndef _EXT_CODECVT_SPECIALIZATIONS_H > #define _EXT_CODECVT_SPECIALIZATIONS_H 1 > > +#if defined __has_include && __has_include(<iconv.h>) I had not realized this, but the system has <iconv.h> and it's clearly broken. So, the errors are still there with this change.