https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83101
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- You should report this to Ubuntu instead. I suspect you're using glibc 2.26 which has a bug that causes GCC to misdetect its C99 support. Ubuntu should patch it.