Hello,

On Tue, 8 Oct 2024, Jonathan Wakely wrote:

> We originally had global static variables, which means a different
> variable per TU. That causes ODR violations which were silently
> ignored until we try to use them in modules, where they're diagnosed.
> So we need to replace them.

Aren't these variables implementation detail?  If so violating language 
rules like ODR should be okay.  (Imagine libgcc would be written in some 
language where such rules doesn't exist).

So isn't the actual problem that needs solving rather that c++ modules 
trip over these here?


Ciao,
Michael.

Reply via email to