Boost logo

Boost-Commit :

From: markus.schoepflin_at_[hidden]
Date: 2008-04-15 03:58:49


Author: schoepflin
Date: 2008-04-15 03:58:48 EDT (Tue, 15 Apr 2008)
New Revision: 44427
URL: http://svn.boost.org/trac/boost/changeset/44427

Log:
The thread start routine needs C linkage. This fixes a compilation error on Tru64/cxx.
Text files modified:
   trunk/libs/config/test/boost_has_pthreads.ipp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/config/test/boost_has_pthreads.ipp
==============================================================================
--- trunk/libs/config/test/boost_has_pthreads.ipp (original)
+++ trunk/libs/config/test/boost_has_pthreads.ipp 2008-04-15 03:58:48 EDT (Tue, 15 Apr 2008)
@@ -14,7 +14,7 @@
 
 namespace boost_has_pthreads{
 
-void* thread_proc(void* arg)
+extern "C" void* thread_proc(void* arg)
 {
    return arg;
 }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk