euddraft icon indicating copy to clipboard operation
euddraft copied to clipboard

Old catch.hpp arm64 compatiblity error

Open zuhanit opened this issue 1 week ago • 0 comments

Issue

CMakeList.txt in epscript doing test parser, and tokenizer via catch.hpp. But current version of catch(v2.0.1) is outdated causing error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?. Catch fixed this error on https://github.com/catchorg/Catch2/commit/a25c1a24af8bffd35727a888a307ff0280cf9387.

Solve

I've tried to update catch.hpp to v.2.13.9 and test was successful. Of course we can use Catch v3, if don't care about migrate v2 to v3. https://github.com/catchorg/Catch2/blob/devel/docs/migrate-v2-to-v3.md#top

Related issue

https://github.com/CoatiSoftware/Sourcetrail/issues/1185

zuhanit avatar Feb 17 '25 09:02 zuhanit