FS#30626 - Boost 1.49.0-2 contains an error preventing compilation

Attached to Project: Arch Linux
Opened by Johannes Wienke (languitar) - Tuesday, 10 July 2012, 17:06 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 18 July 2012, 09:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The current boost package contains an error so that compilation against it fails:

In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/pthread/condition_variable.hpp:10,
from /usr/include/boost/thread/condition_variable.hpp:16,
from /usr/include/boost/thread/condition.hpp:9,
from /home/languitar/work/RSC/src/rsc/threading/OrderedQueueDispatcherPool.h:31,
from /home/languitar/work/RSC/src/rsc/threading/OrderedQueueDispatcherPool.cpp:27:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected '}' before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before 'system_time'

Even if this is an upstream bug, this severely impacts all users compiling software against boost. Please note that my own file I am compiling only includes boost headers before the failing one. So it must be an error inside boost.
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 18 July 2012, 09:14 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Tuesday, 10 July 2012, 17:14 GMT
we know about this issue and boost 1.50 rebuilding is in progress

Loading...