r2dliu / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
Other
8 stars 4 forks source link

Apply -fno-objc-exceptions flag for ObjC sources only #64

Closed r-burns closed 3 years ago

r-burns commented 3 years ago

This flag works on GCC and Clang which afaik are the only supported compilers on Darwin, but cases can be added for more compilers if needed. This is done instead of a more generic cmake compiler flag check because CheckOBJC[XX]CompilerFlag requires CMake v3.16.

r-burns commented 3 years ago

Looks like fmt exceptions need to be disabled? That can happen too