https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113687
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The warning only happens if the vague linkage function is used. and IIRC that is by design.