Bug 999320

Summary: clang-3.3 compile error with boost 1.53 signals
Product: [Fedora] Fedora Reporter: Markus S <markus.schwarzenberg>
Component: boostAssignee: Petr Machata <pmachata>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: dakingun, denis.arnaud_fedora, mnewsome, pertusus, pmachata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: boost-1.53.0-12.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1444258 (view as bug list) Environment:
Last Closed: 2013-08-24 22:30:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1444258    

Description Markus S 2013-08-21 07:24:35 UTC
boost 1.53 (shipped with fedora 19) needs the patch (wich is included in boost 1.54) from https://svn.boost.org/trac/boost/ticket/8102

when used with clang++ for compiling code using boost::signals2::signal

Othewise, compiling code like this fails:

  #include <boost/signals2/signal.hpp>
  int main()
  {
    boost::signals2::signal<void()> s;
    s();
  }

Compiled using 
  clang++ -c --std=c++11 

The boost patch is not needed for compiling using g++ (4.8.1).

Note:
g++     --version = g++ (GCC) 4.8.1 20130603 (Red Hat 4.8.1-1)
clang++ --version = clang version 3.3 (tags/RELEASE_33/rc3)

Compiler error:
In file included from test.cpp:1:
In file included from /usr/include/boost/signals2/signal.hpp:38:
In file included from /usr/include/boost/signals2/variadic_signal.hpp:21:
/usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:89:16: error: no matching function for call to 'get'
          func(std::get<indices>(args)...);
               ^~~~~~~~~~~~~~~~~

Comment 1 Fedora Update System 2013-08-21 14:46:07 UTC
boost-1.53.0-12.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/boost-1.53.0-12.fc19

Comment 2 Fedora Update System 2013-08-22 00:45:19 UTC
Package boost-1.53.0-12.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing boost-1.53.0-12.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15101/boost-1.53.0-12.fc19
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-08-24 22:30:28 UTC
boost-1.53.0-12.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.