Boost logo

Boost :

Subject: Re: [boost] [Hana] "basic_tuple.hpp" bug when building with VS2017
From: Peter Dimov (lists_at_[hidden])
Date: 2018-05-24 22:33:04


I can't reproduce your error, sorry. There's something different between our
configurations and I don't know what that is.

C:\Projects\testbed2017>type test_hana.cpp
#include <boost/hana/string.hpp>
#include <boost/hana/basic_tuple.hpp>

int main()
{
}

C:\Projects\testbed2017>cl /EHsc /I \boost-git\master test_hana.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.14.26429.4 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

test_hana.cpp
Warning: the native Microsoft compiler is not supported due to lack of
proper C+
+14 support.
Warning: Your compiler doesn't provide C++14 or higher capabilities. Try
adding
the compiler flag '-std=c++14' or '-std=c++1y'.
Microsoft (R) Incremental Linker Version 14.14.26429.4
Copyright (C) Microsoft Corporation. All rights reserved.

/out:test_hana.exe
test_hana.obj

C:\Projects\testbed2017>cl /EHsc /I c:\tmp\boost-1.67.0 test_hana.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.14.26429.4 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

test_hana.cpp
Warning: the native Microsoft compiler is not supported due to lack of
proper C+
+14 support.
Warning: Your compiler doesn't provide C++14 or higher capabilities. Try
adding
the compiler flag '-std=c++14' or '-std=c++1y'.
Microsoft (R) Incremental Linker Version 14.14.26429.4
Copyright (C) Microsoft Corporation. All rights reserved.

/out:test_hana.exe
test_hana.obj

-----Original Message-----
From: Daniel Chen via Boost
Sent: Thursday, May 24, 2018 22:03
To: boost_at_[hidden]
Cc: Daniel Chen
Subject: Re: [boost] [Hana] "basic_tuple.hpp" bug when building with VS2017

I have

Visual Studio 2017 15.7.2,
_MSC_VER=1914
Visual Studio 2017 v141 toolset

And I am getting this build error.

-Daniel

-----Original Message-----
From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Peter Dimov
via Boost
Sent: Tuesday, May 22, 2018 1:30 PM
To: boost_at_[hidden]
Cc: Peter Dimov <lists_at_[hidden]>
Subject: Re: [boost] [Hana] "basic_tuple.hpp" bug when building with VS2017

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.

Daniel Chen wrote:

> #include <boost/hana/string.hpp>
> #include <boost/hana/basic_tuple.hpp>
>
> int main() {
> }

Compiles for me. Visual Studio 2017 15.7.2. _MSC_VER=1914.

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk