Modify

Opened 4 years ago

Closed 2 years ago

#9311 closed Bugs (wontfix)

[windows] ex_lambda_future fails on msvc-11.0

Reported by: viboes Owned by: viboes
Milestone: 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 (0)

Change History (9)

comment:1 Changed 4 years ago by viboes

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:2 Changed 4 years ago by viboes

Same error for

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

comment:3 Changed 4 years ago by viboes

Version: Boost 1.54.0Boost Development Trunk

comment:4 Changed 4 years ago by viboes

Milestone: To Be DeterminedBoost 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 4 years ago by viboes

Milestone: Boost 1.56.0To Be Determined

comment:6 Changed 3 years ago by viboes

Summary: ex_lambda_future fails on msvc-11.0[windows] ex_lambda_future fails on msvc-11.0

comment:7 Changed 3 years ago by Niall Douglas

It's tough for me to test MSVC 11.0. Also, right now trunk develop is failing all over the place on Windows due to the half completed sync unit test merge. I'll return to this issue in a week or so.

comment:8 Changed 3 years ago by viboes

Sorry, fixed.

comment:9 Changed 2 years ago by viboes

Milestone: To Be Determined
Resolution: wontfix
Status: assignedclosed

This is a compiler bug. We don't have a workaround.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain viboes.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.