https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121574
d7d1cd <d7d1cd at mail dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |d7d1cd at mail dot ru
--- Comment #8 from d7d1cd <d7d1cd at mail dot ru> ---
Please explain, am I correct in understanding that ignoring the
-Wexpose-global-module-tu-local warning can result in an ill-formed program?
After all, the standard is quite clear regarding exposing TU-local:
If a declaration that appears in one translation unit names a
TU-local entity declared in another translation unit that is not a
header unit, the program is ill-formed.
https://eel.is/c++draft/basic.link#18