[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison 3.8.2 portability report

From: Akim Demaille
Subject: Re: Bison 3.8.2 portability report
Date: Mon, 11 Oct 2021 07:00:45 +0200


> Le 10 oct. 2021 à 21:37, Tom Shields <> a 
> écrit :
> I actually haven’t changed the Ox parser specs to use separate namespaces for 
> each parser yet, although that is on my list of things to do for Ox 1.10.1.  
> It may be that the warnings will vanish when I make this change.  I’ll let 
> you know if shifting to separate namespaces makes any difference.

It won't make any difference: the problem is that I use unnamed namespaces, not 
that you didn't define several namespaces.

I used unnamed namespaces precisely so that you could use one namespace for 
several parsers.  And I think it's ok to stay this way.

But if we require different (bison) namespaces, then we could do without the 
unnamed namespace. Yet I think this would be a regression for the linker's 
point of view.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]