https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65281
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > GCC_GTHR_POSIX_H gets converted into _GLIBCXX_GCC_GTHR_POSIX_H Indeed, most of the macros I referred to actually get transformed and so are OK. > I think UNUSED was GCC_GTHR_UNUSED it would have been converted into > _GLIBCXX_GCC_GTHR_UNUSED Maybe only UNUSED and the uses of __attribute__((unused)) are a problem and the rest are OK.