https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87388
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Seems like you could do this yourself. Have one C file which just includes each header you want to test and compile with -Wc++-compat only on that one C file.