From: John Maddock (john_at_[hidden])
Date: 2005-02-04 08:38:31
> The attached patch solves the problem for GCC. The attached test
> program was used to test this change.
Unfortunately that's the last patch I'd like to make, because it breaks
type-traits compatibility with the TR1.
Can someone familiar with python testing please test the patch below:
RCS file: /cvsroot/boost/boost/boost/python/object_core.hpp,v
retrieving revision 1.45
diff -r1.45 object_core.hpp
< template <class T>
--- > template <class T, class U> 388c388 < get(T const& x, ...) --- > get(T const& x, U) I've attempted to test this with cygwin, but the python tests fail even if I revert the type-traits changes (but this could be a setup issue on my part). The patch does fix the compiler warning though (and your test case). I've also done a manual scan of the python sources for any simpilar problems, but can't find anywhere else where this sort of construct is used. Thanks, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk