erincatto / box2d

Box2D is a 2D physics engine for games
https://box2d.org
MIT License
8.05k stars 1.51k forks source link

box2d doesn't compile on M1 Mac due to outdated version of Doctest #679

Closed PatrickHoward closed 3 years ago

PatrickHoward commented 3 years ago

Hello! I posted this on Discord a few days ago but opening an issue for this might be more suitable.

I've been porting my game engine over to native Apple Silicon and box2d is the only dependency that doesn't compile successfully. It turns out that the testing suite's macro for breaking to a debugger had some inline assembly that was used on Mac. This has been changed as of Doctest 2.4.1.

My request is to bring box2d's version of Doctest up to at least 2.4.1, essentially bringing support for M1.

dadabit commented 3 years ago

me too

PatrickHoward commented 3 years ago

Closing this issue since the PR referenced above has been merged into main, thanks! 😄