Boost logo

Boost :

Subject: Re: [boost] [1.48.0] Release candidates available
From: Ben Pope (benpope81_at_[hidden])
Date: 2011-11-14 22:35:30


On Tuesday, November 15, 2011 11:18 AM, Ben Pope wrote:
> On Monday, November 14, 2011 11:47 PM, Beman Dawes wrote:
>> Release candidate files for 1.48.0 are available at
>> http://boost.cowic.de/rc/
>>
>> md5sum on the originals:
>>
>> 7dd95e71c43ddd35997d9f2346e7f567 *boost_1_48_0.7z
>> d1e9a7a7f532bb031a3c175d86688d95 *boost_1_48_0.tar.bz2
>> 313a11e97eb56eb7efd18325354631be *boost_1_48_0.tar.gz
>> b08fda829eec96b4f1071ce2ea6831f5 *boost_1_48_0.zip
>>
>> As always, the release managers would appreciate it if you download
>> the candidate of your choice and give building it a try. Please report
>> both success and failure, and anything else that is noteworthy.
>
> There were a couple of errors in signals when building with gcc-4.6.1
> on ubuntu x64 with std=c++0x:

Same with clang version 3.0 (tags/RELEASE_30/rc3 144380) and std=c++0x
(but obviously easier to read):

Although, looking at it, I wonder if I'm using the correct STL for clang.

compile.c++.without-pth
bin.v2/libs/signals/build/clang-linux-linux/release/threading-multi/named_slot_map.o
libs/signals/src/named_slot_map.cpp:105:12: error: call to member
function 'erase' is ambiguous
     groups.erase(group);
     ~~~~~~~^~~~~
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:613:7:
note: candidate function
       erase(const_iterator __position)
       ^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:643:7:
note: candidate function
       erase(const key_type& __x)
       ^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:662:7:
note: candidate function not viable: requires 2 arguments, but 1 was
provided
       erase(const_iterator __first, const_iterator __last)
       ^
libs/signals/src/named_slot_map.cpp:128:26: error: call to member
function 'erase' is ambiguous
     if (empty(g)) groups.erase(g++);
                   ~~~~~~~^~~~~
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:613:7:
note: candidate function
       erase(const_iterator __position)
       ^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:643:7:
note: candidate function
       erase(const key_type& __x)
       ^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:662:7:
note: candidate function not viable: requires 2 arguments, but 1 was
provided
       erase(const_iterator __first, const_iterator __last)
       ^
2 errors generated.

   "clang++" -c -x c++ -std=c++0x -O3 -finline-functions -Wno-inline
-Wall -pthread -fPIC -std=c++0x -DBOOST_ALL_NO_LIB=1
-DBOOST_SIGNALS_DYN_LINK=1 -DBOOST_SIGNALS_NO_LIB=1 -DNDEBUG -I"." -o
"bin.v2/libs/signals/build/clang-linux-linux/release/threading-multi/named_slot_map.o"
"libs/signals/src/named_slot_map.cpp"

...failed compile.c++.without-pth
bin.v2/libs/signals/build/clang-linux-linux/release/threading-multi/named_slot_map.o...

Ben


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