[C++-sig] Collection of pyste notes
s_sourceforge at nedprod.com
Tue Dec 23 19:32:30 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Just readying TnFOX v0.5 for release and I have a few notes.
1. Guess it's obvious, but pyste generates incorrect code for
unsigned int a:3;
unsigned int b:2;
The problem of course is that you can't take the address of a
bitfield member. I guess to handle this you need lots of little
wrapper functions which seems extreme. Can perhaps the bit offset be
calculated by compile-time magic and then use a custom make_getter()?
2. gccxml from CVS fixes a number of previous problems, including the
throw() modifier one - or rather, it now tells pyste when throw() is
specified so pyste can cast it off for you (an easy mod to pyste).
More good news is that the previous problem with const public static
data members has been fixed.
3. gccxml from CVS now returns the typedefed type rather than the
underlying type. Hence if I have typedef char FXchar; and I do things
const FXchar *getName() const;
... now pyste doesn't recognise that it's a string and complains.
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 126.96.36.199 / 9-2003 + PGP 8.0.2
-----END PGP SIGNATURE-----
More information about the Cplusplus-sig