-
-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile failure with WinRT on 2.4.5 #465
Comments
Hi,
Regarding your problem - the documentation you link to states that What you could do is simply define Let me know if this helps! |
Hi Viktor, Defining DOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS does avoid the problem. I'm not sure what the actual solution would be if you wanted to support that feature under WinRT, but the workaround is sufficient for my needs. Thanks, |
Seems that other people are having problems with this as well: jupyter-xeus/cpp-terminal#88 Assuming there is a macro to detect WinRT (something like #ifdef SOME_WINRT_MACRO
#define DOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS
#endif But someone else should test this as I don't have access to a Windows machine atm. |
Hi @onqtam, This seems to be the right way to do the ifdef:
Would that be something you would be willing to add into doctest itself? Thanks, |
Thanks! fixed in the |
Hi,
I just updated to version 2.4.5, and the Windows UWP build using doctest gets this compile error:
This error is documented here:
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2482
It's trivial to avoid the error by splitting the declaration and the assignment, but I'm not sure this code is doing what you intend since the variable isn't static, or maybe I'm misunderstanding.
Thanks,
Benbuck
The text was updated successfully, but these errors were encountered: