Skip to content

Fix C++20 comparisons for XNFLOAT{3,4}X{3,4}#303

Open
JBBieniek wants to merge 1 commit intomicrosoft:mainfrom
JBBieniek:fix-clang-cpp20-warnings
Open

Fix C++20 comparisons for XNFLOAT{3,4}X{3,4}#303
JBBieniek wants to merge 1 commit intomicrosoft:mainfrom
JBBieniek:fix-clang-cpp20-warnings

Conversation

@JBBieniek
Copy link
Copy Markdown

Fixes #244.
Replaces defaulted C++20 comparison operators for the affected matrix storage types (XMFLOAT{3,4}X{3,4} with explicit implementations because Clang deletes the defaulted operators for union-like classes.
Tested with:

  • x64-Debug-Clang
  • BUILD_CXX20=ON

@JBBieniek
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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.

C++20 builds with clang/LLVM generate warnings

1 participant