Opened 9 years ago

Closed 7 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
        ]
            


Change History (9)

comment:1 by viboes, 9 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:2 by viboes, 9 years ago

Same error for

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

comment:3 by viboes, 9 years ago

Version: Boost 1.54.0Boost Development Trunk

comment:4 by viboes, 9 years ago

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 by viboes, 9 years ago

Milestone: Boost 1.56.0To Be Determined

comment:6 by viboes, 8 years ago

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

comment:7 by Niall Douglas, 8 years ago

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 by viboes, 8 years ago

Sorry, fixed.

comment:9 by viboes, 7 years ago

Milestone: To Be Determined
Resolution: wontfix
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.