-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
IOS Debugger Break code not compiling under armv7s #1862
Labels
Comments
I don't have any iOS device to test this on, but the change seems reasonable enough. |
I still found this compilation error when trying to update Catch to 2.11.3 in Hunter.
PR currently pending: cpp-pm/hunter#176 |
kaihowl
added a commit
to kaihowl/hunter-testing
that referenced
this issue
Apr 3, 2020
Disabled due to catchorg/Catch2#1862
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am compiling catch2.11.1 source for IOS. I see that a change has been made in this version around the debugger-break code - #define CATCH_TRAP... etc.
This code doesn't compile for me when using the command such as clang -x c++ -target armv7s-apple-ios9.3 ..., ie when targetting IOS armv7s platform. The error I get compiling in Xcode is:
The code needs a tweak around the area...
(old code)
(new code)
My choice of code for the second case (.inst 0xde01) was inspired by code at https://github.com/scottt/debugbreak/blob/master/debugbreak.h... however I don't have an easy way to verify this is good (although it does compile).
The text was updated successfully, but these errors were encountered: