[Thread] Compilation error when default calling convention is not __cdecl

Hi list, I'd like to bring to your attention ticket #1470 (http://svn.boost.org/trac/boost/ticket/1470), which seems to have been missed for v1.35.0, maybe because I set the milestone to "TBD". The patch (http://svn.boost.org/trac/boost/attachment/ticket/1470/BTL-calling-conv.diff) fixes compilation problems for Boost.Thread when the compiler's default calling convention is not __cdecl (seen on Win32, VC9 with /Gz option). Note that r43847 already contained a small fraction of that fix -- but only for the prototype of on_thread_exit, not for its implementation or for the other functions (on_thread_enter, and their on_process_* counterparts). Cheers, François

"Francois Barel" <frabar666@gmail.com> writes:
I'd like to bring to your attention ticket #1470 (http://svn.boost.org/trac/boost/ticket/1470), which seems to have been missed for v1.35.0, maybe because I set the milestone to "TBD".
I had a brief look at this. Boost.Thread is not the only library that has problems with non-default calling conventions: Boost.Test also has lots of problems. Consequently I was unable to run the tests to ensure that nothing was broken. I'm not going to check in a change unless I can be sure that the tests run fine. Anthony -- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL
participants (2)
-
Anthony Williams
-
Francois Barel