Skip to content

Conversation

alex-tee
Copy link
Contributor

Both compilers do not implement the feature test macro, but they do implement explicit_this, as mentioned in their corresponding release notes:

Resolves #722.

@mpusz
Copy link
Owner

mpusz commented Sep 24, 2025

Please also run pre-commit before committing changes.

@mpusz
Copy link
Owner

mpusz commented Sep 24, 2025

Don't worry about Freestanding failures. They are caused by a CMake bug that will hopefully be resolved soon. Dependency Review is also experimental and we are working on improving it.

Both compilers do not implement the feature test macro, but they do
implement `explicit_this`, as mentioned in their corresponding release
notes:
- https://developer.apple.com/documentation/xcode-release-notes/xcode-16_3-release-notes
- https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.2

Resolves mpusz#722.
@alex-tee
Copy link
Contributor Author

Thanks for the review! Resolved all issues.

cmake-format was indenting the comments in a strange way so I moved all of them above the toplevel if-statement.

I've also edited the part of the docs that says explicit this support is checked via the feature test macro because that's not true in all cases.

Copy link
Owner

@mpusz mpusz left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

[CMake] "Deducing this" feature check failure on supported compilers when using MP_UNITS_API_NO_CRTP=ON

2 participants