libgme/game-music-emu

Why is UBSan enabled by default?

Closed this issue · 2 comments

I'd say it should be off for normal builds. If any it could be enabled when build type is Debug.

https://github.com/libgme/game-music-emu/blob/2212cdff42b5605d0191e743bf51299643dc2a55/CMakeLists.txt#L67C20-L67C20

You right, ASAN/UBSAN should be enabled manually only for debugging only. In my main projects I already do that.

Quickly fixed this.