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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Looking into this more, Stockfish's use of
https://github.com/graphitemaster/incbin/ just seems wrong; since incbin
defines global symbols, putting the use in an anonymous namespace doesn't make
sense.

Note that the new GCC behavior conforms to CWG2230/CWG2272.  But compilers
never implemented it until now, so there's some discussion of reconsidering it.

But it seems to me that Stockfish should move the incbin usage out of the
anonymous namespace whether or not CWG2230 is reaffirmed.

Reply via email to