[C++-sig] Pyste problem: ordering of inits
Niall Douglas
s_sourceforge at nedprod.com
Fri Oct 17 18:45:45 CEST 2003
Unfortunately if pyste produces class_ registrations with a bases<>
member, BPL requires the base to be registered before its subclasses.
As pyste orders its writing of _main.cpp based on alphabetical order,
one has a problem.
Two solutions: make the order of how the pyste files are specified on
the command line affect the order in _main.cpp. Or more preferably,
pyste knows what bases<> it's specified and automatically orders them
correctly.
Cheers,
Niall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 208 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20031017/c78df227/attachment.pgp>
More information about the Cplusplus-sig
mailing list