[Bug c/124305] btf_decl_tag and btf_type_tag attributes give compiler errors in C++ and with -Wwrite-strings in C
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 28 19:33:04 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124305
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |c
Summary|btf_decl_tag and |btf_decl_tag and
|btf_type_tag attributes |btf_type_tag attributes
|give compiler errors in C++ |give compiler errors in C++
| | and with -Wwrite-strings
| |in C
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also with the C front-end you can get the same error with `-Wwrite-strings`
option too.
More information about the Gcc-bugs
mailing list