[Bug c++/108231] malloc attribute vs extern "C" in a namespace and global and using of one in the namespace in the global one and the builtin free
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 27 08:04:34 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Summary|malloc attribute vs extern |malloc attribute vs extern
|"C" in a namespace and |"C" in a namespace and
|global and using of one in |global and using of one in
|the namespace in the global |the namespace in the global
|one |one and the builtin free
Last reconfirmed| |2022-12-27
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is related to that free is a builtin rather than the extern "C"
really.
-fno-builtin fixes the error too.
More information about the Gcc-bugs
mailing list