mirror of
https://github.com/oatpp/oatpp.git
synced 2025-04-06 18:40:24 +08:00
Merge pull request #820 from fhuberts/fix-Warith-conversion
Enable compiler warnings (-Warith-conversion)
This commit is contained in:
commit
61f394ad4f
@ -171,7 +171,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||
#add_compiler_flags(8.1 "-Wsuggest-attribute=cold")
|
||||
add_compiler_flags(8.1 "-Wsuggest-attribute=malloc")
|
||||
|
||||
#add_compiler_flags(10.1 "-Warith-conversion")
|
||||
add_compiler_flags(10.1 "-Warith-conversion")
|
||||
|
||||
add_compiler_flags(12.1 "-ftrivial-auto-var-init=zero")
|
||||
add_compiler_flags(12.1 "-Warray-compare")
|
||||
|
Loading…
x
Reference in New Issue
Block a user