cmake: disable -Wuseless-cast

main
Luis Díaz Más 4 years ago
parent 390f5ee49d
commit c480be5814

@ -21,10 +21,10 @@ if (COMPILER_IS_GCC OR COMPILER_IS_CLANG) # MINGW, Linux, APPLE, CYGWIN
" -Wlogical-op" " -Wlogical-op"
" -Wdouble-promotion" " -Wdouble-promotion"
" -Wshadow" " -Wshadow"
" -Wuseless-cast"
" -Wpointer-arith" # This warning is also enabled by -Wpedantic " -Wpointer-arith" # This warning is also enabled by -Wpedantic
" -Wformat=2" " -Wformat=2"
#" -Wold-style-cast" #" -Wold-style-cast"
#" -Wuseless-cast" Disabled mainly because of conversion of socket types (different types on OSs)
) )
endif () endif ()

Loading…
Cancel
Save