[Bug c++/118722] accepted undefined static integral data member

ing.russomauro at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Feb 1 15:59:49 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118722

--- Comment #4 from mauro russo <ing.russomauro at gmail dot com> ---
> an ODR violation is still an undefined behavior

That's interesting,

I supposed this was only for the case of multiple/different definitions.


More information about the Gcc-bugs mailing list