Modify

Ticket #9311 (assigned Bugs)

Opened 6 months ago

Last modified 2 months ago

ex_lambda_future fails on msvc-11.0

Reported by: viboes Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Test output: teeks99-03d-win2008-64on64 - thread - ex_lambda_future / msvc-11.0
Rev 86366 / Sun, 20 Oct 2013 02:42:23 +0000
Compile [2013-10-20 10:51:38 UTC]: fail



    call "C:\Program Files (x86)\microsoft visual studio 11.0\vc\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"C:\local\teeks99-03\d\results\boost\bin.v2\libs\thread\test\ex_lambda_future.test\msvc-11.0\debug\threading-multi\lambda_future.obj.rsp" 

lambda_future.cpp
..\libs\thread\test\..\example\lambda_future.cpp(36) : error C2248: 'boost::future<R>::future' : cannot access private member declared in class 'boost::future<R>'
        with
        [
            R=int
        ]
        C:\local\teeks99-03\d\boost\boost/thread/future.hpp(1522) : see declaration of 'boost::future<R>::future'
        with
        [
            R=int
        ]
        C:\local\teeks99-03\d\boost\boost/thread/future.hpp(1522) : see declaration of 'boost::future<R>::future'
        with
        [
            R=int
        ]
        C:\local\teeks99-03\d\boost\boost/thread/future.hpp(1522) : see declaration of 'boost::future<R>::future'
        with
        [
            R=int
        ]
            


Attachments

Change History

comment:1 Changed 6 months ago by viboes

  • Owner changed from anthonyw to viboes
  • Status changed from new to assigned

comment:2 Changed 6 months ago by viboes

Same error for

 Test output: DebSidC++ - thread - ex_lambda_future / gcc-4.8.2~11

comment:3 Changed 5 months ago by viboes

  • Version changed from Boost 1.54.0 to Boost Development Trunk

comment:4 Changed 3 months ago by viboes

  • Milestone changed from To Be Determined to Boost 1.56.0

This change-set  https://github.com/boostorg/thread/commit/cb845f19e4a975fc95e8b10c096280085d24eb03 improves the situation but restrict the use of the variadic versions. It works for all the compiler for which BOOST_NO_CXX11_DECLTYPE_N3276 is defined.

comment:5 Changed 2 months ago by viboes

  • Milestone changed from Boost 1.56.0 to To Be Determined
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as assigned
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.