Re: [Boost-bugs] [Boost C++ Libraries] #12123: Using Boost.Signals2 with Boost.Variant leads to compilation error, MSVC 14 (suspected compiler bug)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12123: Using Boost.Signals2 with Boost.Variant leads to compilation error, MSVC 14 (suspected compiler bug)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-04-12 22:09:05


#12123: Using Boost.Signals2 with Boost.Variant leads to compilation error, MSVC 14
(suspected compiler bug)
-------------------------------------------+----------------------
  Reporter: Gabriel Marcano <gmarcano@…> | Owner: fmhess
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: signals2
   Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------+----------------------

Comment (by Gabriel Marcano <gmarcano@…>):

 After more troubleshooting today, I am unsure whether the problem lies
 within Boost.Signals2 or Boost.Variant. I was able to reproduce the
 problem with just Boost.Variant in my project, but I was unable to
 reproduce it without Boost.Signals2 in a reduced test case. This seems to
 hint that the problem lies more with Boost.Variant, although I will leave
 the component as Boost.Signals2 until someone with more knowledge can
 determine that.

 While doing more reading and testing, could this issue be related to the
 infamous MSVC extension allowing for temporary variables to bind to non-
 const references? I am able to compile the program in MSVC by using this
 extension (making parameters be non-const references).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12123#comment:1>
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:20 UTC