Boost logo

Boost :

Subject: Re: [boost] Latest changes to scoped enum emulation break existing code
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-05-12 11:09:30


Hi Vicente,

On Saturday, 12. May 2012 13:09:56 Vicente J. Botet Escriba wrote:
> Le 12/05/12 03:17, Hartmut Kaiser a écrit :
> > Hey all,
> >
> > The latest commit to the scoped enumerator emulation breaks existing code
> > using the previous version of this functionality.
> > Please see the Spirit regression tests for examples.
 
> Hi,
>
> I have rolled back so that we can take the time to analyze what was wrong

I think I ran into this one yesterday. There is a name clash between an
internal scoped enum helper function "native()" and a spririt enum containing
an enum value of "native". Changing the scoped enum implementation to use
"native_()" fixed the problem for me.
Patch attached.

Hope this helps.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! 



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk