From issues-return-52313-archive-asf-public=cust-asf.ponee.io@mesos.apache.org Mon Nov 4 18:19:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0BB6E180658 for ; Mon, 4 Nov 2019 19:19:01 +0100 (CET) Received: (qmail 19160 invoked by uid 500); 4 Nov 2019 18:19:01 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 19149 invoked by uid 99); 4 Nov 2019 18:19:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2019 18:19:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B28B9E2DF0 for ; Mon, 4 Nov 2019 18:19:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 32276780559 for ; Mon, 4 Nov 2019 18:19:00 +0000 (UTC) Date: Mon, 4 Nov 2019 18:19:00 +0000 (UTC) From: "Meng Zhu (Jira)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (MESOS-10028) Mesos failed to build due to error C3493 on windows with MSVC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-10028?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Meng Zhu reassigned MESOS-10028: -------------------------------- Assignee: Meng Zhu > Mesos failed to build due to error C3493 on windows with MSVC > ------------------------------------------------------------- > > Key: MESOS-10028 > URL: https://issues.apache.org/jira/browse/MESOS-10028 > Project: Mesos > Issue Type: Bug > Components: build > Affects Versions: master > Environment: VS 2017 + Windows Server 2016 > Reporter: LinGao > Assignee: Meng Zhu > Priority: Major > Attachments: log_x64_build.log > > > Mesos failed to build due to error C3493: 'childRoleLength' cannot be imp= licitly captured because no default capture mode has been specified on Wind= ows using MSVC. It can be first reproduced on 69e92ae reversion on master b= ranch. Could you please take a look at this isssue? Thanks a lot! > =C2=A0 > Reproduce steps: > 1. git clone -c core.autocrlf=3Dtrue https://github.com/apache/mesos D:\m= esos\src > 2. Open a VS 2017 x64 command prompt as admin and browse to D:\mesos > 3. cd src > 4. .\bootstrap.bat > 5. cd .. > 6. mkdir build_x64 && pushd build_x64 > 7. cmake ..\src -G "Visual Studio 15 2017 Win64" -DCMAKE_SYSTEM_VERSION= =3D10.0.17134.0 -DENABLE_LIBEVENT=3D1 -DHAS_AUTHENTICATION=3D0 -DPATCHEXE_P= ATH=3D"C:\gnuwin32\bin" -T host=3Dx64 > 8. msbuild Mesos.sln /p:Configuration=3DDebug /p:Platform=3Dx64 /maxcpuco= unt:4 /t:Rebuild > =C2=A0 > ErrorMessage: > D:\mesos\src\src\tests\hierarchical_allocator_tests.cpp(8455): error C349= 3: 'childRoleLength' cannot be implicitly captured because no default captu= re mode has been specified -- This message was sent by Atlassian Jira (v8.3.4#803005)