[C++-sig] Pyste bug with unnamed enums

Niall Douglas s_sourceforge at nedprod.com
Tue Feb 17 23:55:44 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 Feb 2004 at 17:25, Roman Yakovenko wrote:

>  1. To ask David Abrahams how we should export unnamed enums ( defined
>  within class and within some namespace ).

Believe it or not we have done our best on this - six months ago 
unnamed enums just didn't work at all. If you search the archives, 
all is explained there.

Unfortunately pyste starts with a zero based index, so if it is 
called on two separate occasions it reuses the same index for two 
quite different enums in separate compilation units. This is a bug 
but Nicodemus knows about it.

Cheers,
Niall





-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2

iQA/AwUBQDKb8MEcvDLFGKbPEQLGVQCfXESQvBBPPelYobm0cfMD6oyszc4AoMDt
WXMbHghaT3UM1CryNYXI9Qpo
=gA9f
-----END PGP SIGNATURE-----




More information about the Cplusplus-sig mailing list