https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109021
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- extern "C" just changes the language linkage but does not change the language which the declaration is written in.