You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DCTL failed with C2988 C2059 C2334 when built by msvc on Windows, I use source db7db34 on master branch. Could you help take a look at this? Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.
Thanks for reporting this. I am postponing full Visual Studio support until the following circumstances are met
CMake's next release supports a generator for Visual Studio 2019 (currently in their Git-master branch)
AppVeyor or vcpkg has that CMake version installed
Note that you probably also need at least Boost 1.68 for full Boost.Hana support.
I am in the middle of some refactoring to simplify some constructs that should be supported by Visual Studio. I expect this to be implemented in the coming two weeks (no promises!).
BTW, your compiler error is probably caused by the fact that the bit_set repo used to be named int_set and you probably have checked out dctl from a different date than the bit_set repo.
I finally managed to get this library to compile cleanly on AppVeyor using VS 2019 16.4, with a small backlog of silenced warnings that I will explore later.
DCTL failed with C2988 C2059 C2334 when built by msvc on Windows, I use source db7db34 on master branch. Could you help take a look at this? Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.
Repro steps:
Failures:
D:\DCTL\src\include\dctl\core\board\basic_board.hpp(142,1): error C2988: unrecognizable template declaration/definition
XSTD_PP_CONSTEXPR_INTRINSIC static auto squares_filter(UnaryPredicate pred) noexcept
^
D:\DCTL\src\include\dctl\core\board\basic_board.hpp(301): note: see reference to class template instantiation 'dctl::core::block_adl::basic_board' being compiled
};
D:\DCTL\src\include\dctl\core\board\basic_board.hpp(142,1): error C2059: syntax error: 'constant'
XSTD_PP_CONSTEXPR_INTRINSIC static auto squares_filter(UnaryPredicate pred) noexcept
^
D:\DCTL\src\include\dctl\core\board\basic_board.hpp(143,1): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
{
^
The text was updated successfully, but these errors were encountered: