Closed juandent closed 3 weeks ago
I fixed that already in #1149 in March - only waiting for it to be merged. I don't know if two PRs with the same fix help.
Ohh, I have not noticed your fix, it just has bitten me recently so I fixed it. Seeing that your PR is not merged either I am afraid that it does not matter as there is not much maintenance going on.
Thank you for the report; this was recently fixed. Closing as "completed". https://github.com/microsoft/GSL/pull/1149
Just cloned gsl and tried compiling project gsl_tests which has /WX option and the error occurs at:
As far as I know, Visual Studio does not define clang so it should short circuit before testing __has_warning! I understand VS does not define __has_warning correct?
I compiled using /std:c++20 but I think this does not matter