[Boost-bugs] [Boost C++ Libraries] #5936: Missing prototype for pthread_mutex_timedlock causes Oracle/SUN CC to fail on Linux

Subject: [Boost-bugs] [Boost C++ Libraries] #5936: Missing prototype for pthread_mutex_timedlock causes Oracle/SUN CC to fail on Linux
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-24 07:51:02


#5936: Missing prototype for pthread_mutex_timedlock causes Oracle/SUN CC to fail
on Linux
-------------------------------------------+--------------------------------
 Reporter: Peter Loibl <boost@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
-------------------------------------------+--------------------------------
 CC: Sun C++ 5.11 Linux_i386 2010/08/13 usage: CC [ options ] files. Use
 'CC -flags' for details

 "./boost/thread/pthread/mutex.hpp", line 154: Error: The function
 "pthread_mutex_timedlock" must have a prototype.

 "./boost/thread/pthread/mutex.hpp", line 154: Error: The function
 "pthread_mutex_timedlock" must have a prototype.

 "/usr/include/linux/kernel.h", line 26: Error: An array cannot have zero
 size unless you use the option -features=zla.
 3 Error(s) detected.

     "CC" -library=stlport4 -xO4 -mt -erroff=%none -m64
 -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX
 -DNDEBUG -I"." -c -o
 "/home/pal/work/cpp/tmp/boost/bin.v2/libs/thread/build/sun/release
 /address-model-64/link-static/stdlib-sun-stlport/threading-
 multi/pthread/thread.o" "libs/thread/src/pthread/thread.cpp"

 ...failed sun.compile.c++
 /home/pal/work/cpp/tmp/boost/bin.v2/libs/thread/build/sun/release/address-
 model-64/link-static/stdlib-sun-stlport/threading-
 multi/pthread/thread.o...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5936>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC