https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.5 --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- I've added a workaround to the libstdc++ code, which will be included in the gcc 5.5, 6.4 and 7.1 releases. You'll need the updated libstdc++ headers to be able to compile this code with clang, e.g. by requesting the Ubuntu GCC maintainers to include this patch in their gcc builds.