mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-21 02:57:53 -05:00
CMakeLists: Make -Wreorder a compile-time error
This can result in silent logic bugs within code, and given the amount of times these kind of warnings are caused, they should be flagged at compile-time so no new code is submitted with them.
This commit is contained in:
@ -53,6 +53,7 @@ if (MSVC)
|
||||
else()
|
||||
add_compile_options(
|
||||
-Wall
|
||||
-Werror=reorder
|
||||
-Wno-attributes
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user