Re: [pygccxml-development] Template constructors
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-03-18 07:40:26
|
On Mon, Mar 17, 2008 at 11:12 PM, Matthias Baas <mat...@gm...> wrote: > By the way, here's another (minor) thing I noticed about the warnings > that Py++ generates. When you wrap a function that actually takes > Boost.Python types as input or returns them as output, then Py++ > generates a warning that, for example, boost::python::list is not > exposed and this might lead to errors at runtime. But of course, the > list object is a built-in Boost.Python type, so this one doesn't need to > be wrapped. So it would be nice if Py++ would be aware of the > Boost.Python types and could suppress those warnings. At the moment, I > don't have many warnings, so it's not such a big issue but I guess as a > project grows you might get more and more of those which makes it harder > to spot "real" warnings. Thanks, I will fix this before next release. Py++ has nice interface for warning disabling: http://language-binding.net/pyplusplus/documentation/warnings.html HTH -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |