Closed jonpas closed 1 year ago
Code is using
__debugbreak()
which is MSVC-specific.
What about using https://github.com/nemequ/portable-snippets/blob/master/debug-trap/debug-trap.h mentioned in https://stackoverflow.com/questions/173618/is-there-a-portable-equivalent-to-debugbreak-debugbreak ?
Or cherry-picking
__asm__ volatile("int $0x03");
from it?
I use these in most of my newer projects. Could replace the debugbreaks by these helper methods
https://github.com/intercept/interceptAR/blob/master/src/common/util.hpp#L170-L207
lz compression is optional, it can be turned off, though that would make all linux compiled scripts be less size efficient
Could replace the debugbreaks by these helper methods
Macro-ize and use other method for GCC.
lz compression is optional, it can be turned off
lzokay probably isn't the only library doing this, could be replaced with something else.
Approve workflows so we can see if Windows builds are being broken with this.
Merging this into https://github.com/dedmen/ArmaScriptCompiler/pull/, ref. https://github.com/Dahlgren/ArmaScriptCompiler/pull/2.
Not tested on MSVC at all.
intrin.hpp
header is MSVC-specific, can usex86intrin.hpp
with GCC.zstd
is 4 years old and using deprecated CMake stuff.src\...
).__debugbreak()
which is MSVC-specific.std::being/end
). https://github.com/jackoalan/lzokay/pull/5