mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-01 19:29:01 +02: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:
parent
ee439fb0fc
commit
6ea751d910
4 changed files with 7 additions and 5 deletions
|
|
@ -53,6 +53,7 @@ if (MSVC)
|
|||
else()
|
||||
add_compile_options(
|
||||
-Wall
|
||||
-Werror=reorder
|
||||
-Wno-attributes
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue