Skip to content

Fix build on msvc clang toolchain#43

Open
zeozeozeo wants to merge 3 commits into
manuel5975p:masterfrom
zeozeozeo:fix-msvc-build
Open

Fix build on msvc clang toolchain#43
zeozeozeo wants to merge 3 commits into
manuel5975p:masterfrom
zeozeozeo:fix-msvc-build

Conversation

@zeozeozeo
Copy link
Copy Markdown
Contributor

fix following errors when building dawn on clang msvc toolchain

-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Failed CMake Error at build/_deps/dawn-src/third_party/abseil-cpp/CMake/AbseilDll.cmake:730 (message): The compiler defaults to or is configured for C++ < 17. C++ >= 17 is required and Abseil and all libraries that use Abseil must use the same C++ language standard Call Stack (most recent call first): build/_deps/dawn-src/third_party/abseil-cpp/CMakeLists.txt:72 (include)

and (need NOMINMAX)

error: expected unqualified-id

  856 |     void Grow() { Reserve(std::max(impl_.slice.cap, static_cast<size_t>(1)) * 2); }

      |                                ^

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

Successfully merging this pull request may close these issues.

1 participant