Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hana build failed due to fatal error C1189: #error: "No support for this compiler." #526

Open
Zhaojun-Liu opened this issue Nov 29, 2023 · 0 comments

Comments

@Zhaojun-Liu
Copy link

Zhaojun-Liu commented Nov 29, 2023

Hi:
Recently I update the Hana sha(e820551) to build with msvc, it failed due to fatal error C1189: #error: "No support for this compiler." Could you please take a look? Thanks.

Repro steps:

  1. open VS2019 x64 tools command
  2. git clone https://github.com/boostorg/hana F:\gitP\boostorg\hana
  3. mkdir F:\gitP\boostorg\hana\build_amd64 & cd F:\gitP\boostorg\hana\build_amd64
  4. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DBOOST_ROOT=F:\tools\boost_1_70_0\x64\boost -DBOOST_INCLUDEDIR=F:\tools\boost_1_70_0\x64 -DCMAKE_CXX_FLAGS="/EHsc /Zc:ternary /bigobj" -DBOOST_HANA_ENABLE_STRING_UDL=false ..
  5. msbuild /m /p:Platform=x64 /p:Configuration=Release Boost.Hana.sln /t:Rebuild

Build results:
F:\gitP\boostorg\hana\include\boost/hana/experimental/type_name.hpp(41,1): fatal error C1189: #error: "No support for this compiler." [F:\gitP\boostorg\hana\build_amd64\test\test.experimental.type_name.vcxproj]

Detailed log:
build.log

Note: When I use commit d3634a3, there was no error.

OS: Windows Server 2022 Datacenter 21H2
VS: VS17.7.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant