-
Notifications
You must be signed in to change notification settings - Fork 255
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
Fix cross-compiling "int $3" build error #380
Conversation
`libmve/mveasm.cpp` was using a macro to invoke `int $3` instead of using the portable `Int3()` macro in `pserror.h`.
Potentially dumb question, why not use |
The
As far as I can tell, I don't have the ability to do that. |
Done. Over in #289, |
Uhm, I also changed that file in #354 for Windows x64 to compile, but opted for the |
Of course, since |
Actually, at the moment There are tons of We have a logging module, DLOGGER, but I don't know to what extent it takes advantage of existing debug messages (in windows anyway). Edit: It doesn't work for windows. |
That explains it. I expected it to output to terminal when I ran the exe with it. We were going to have a rough writeup of how to use logging back when we had spdlog, but it never came about and |
|
libmve/mveasm.cpp
was using a macro to invokeint $3
instead of using the portableInt3()
macro inpserror.h
.Pull Request Type
Description
Replace non-portable macro
int3
with the portable macroInt3()
frompserror.h
.Fixes #311
Related Issues
Screenshots (if applicable)
Checklist
Additional Comments
I've cross-compiled a the libmve module but not the rest of the code because I don't have a port of SDL2 for that.