
This works on gcc3.3 and gcc4.0 (OSX) but doesn't compile on vc8.0
I'm wondering whether it should and I've just messed up somewhere
installing boost 1.33 or vc8 (VS 2005). I noted that the regression
test does not perform this form of disconnect, is that the manual
telling me this isn't supported? I get a very similar error if I try
a functor (using bind) rather than example below ~ "can't convert to
'const int'". There's some comments in signal_template.hpp that
indicate vc 6.0 and 7.0 have problems with this, maybe that #ifdef
needs to include vc8?
cheers,
- James.
#include <iostream>
#include

James Burgess wrote:
This works on gcc3.3 and gcc4.0 (OSX) but doesn't compile on vc8.0 I'm wondering whether it should and I've just messed up somewhere installing boost 1.33 or vc8 (VS 2005). I noted that the regression test does not perform this form of disconnect, is that the manual telling me this isn't supported? I get a very similar error if I try a functor (using bind) rather than example below ~ "can't convert to 'const int'". There's some comments in signal_template.hpp that indicate vc 6.0 and 7.0 have problems with this, maybe that #ifdef needs to include vc8?
The version check in signal_template.hpp is wrong, it says 0x1700 when it actually seems to mean 1300. VC8 is 1400, so disconnects of this form are disabled on it. This appears to be a bug and I already reported it on the developer list.
participants (2)
-
James Burgess
-
Peter Dimov