Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Removed field name from initializers because MSVC thinks it is C++20 #251

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

gshimansky
Copy link
Contributor

MSVC on windows doesn't allow specifying field names like this. It complains that this is a part of C++20 but enabling C++20 breaks a lot of code.

Copy link
Contributor

@alexbaden alexbaden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sad that we can't still use this. I wonder if there is clang-tidy or clang-format rule to disallow use in CI (until we get Windows CI going).

@alexbaden
Copy link
Contributor

Approved too soon -- @gshimansky looks like it needs a clang-format run. If you want I can run it and push an update to the branch.

@gshimansky gshimansky force-pushed the gregory/windows-field-names branch from 41f826b to d9edd10 Compare March 3, 2023 23:39
@alexbaden alexbaden merged commit 3bfec14 into intel:main Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants