https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64631
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- #undef __USE_MISC This causes undefined behaviour, that macro is for the C library to define, not for you to mess with.