Boost logo

Boost :

From: Stjepan Rajko (stipe_at_[hidden])
Date: 2007-03-18 17:50:25


Frank,

> I intended for thread_safe_signals to be unpacked in a separate directory
> from your full boost installation. You could then choose to use it (or
> not) by including the path to thread_safe_signals in your include path,
> before the path to the full boost installation.

Good call - I switched to doing that. I can detect which version is
being used by looking at what got #defined.

> Thanks for the bug report, I don't have any Microsoft compilers. Would you
> try the attached patch?

Worked. Thanks!

After building with the latest version, I got some warnings (and an
error that only appeared after some time, not sure what triggered it).
 Patches for the warning and error included, although I'm not sure I
handled the error fix the best way.

I am still a little bit patch challenged, so if I made / sent the
patches wrong somehow please let me know!

Warning 1 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\thread_safe_signals\slot_base.hpp 56
Warning 2 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\thread_safe_signals\connection.hpp 125
Warning 3 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\thread_safe_signals\connection.hpp 125
Warning 4 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\thread_safe_signals\connection.hpp 125
Warning 5 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\thread_safe_signals\connection.hpp 125
Warning 6 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\thread_safe_signals\connection.hpp 125
Warning 7 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\last_value.hpp 84
Warning 8 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\last_value.hpp 84
Warning 9 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\last_value.hpp 84
Warning 10 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\last_value.hpp 58
Warning 11 warning C4101: 'err' : unreferenced local
variable c:\development\ame\cpp\include\thread_safe_signals\boost\last_value.hpp 84
Error 12 error C2440: '<function-style-cast>' : cannot convert from
'const char [40]' to
'boost::no_slots_error' c:\development\ame\cpp\include\thread_safe_signals\boost\last_value.hpp 31

Cheers,

Stjepan







Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk