diff --git a/cmake/compilerFlagsExiv2.cmake b/cmake/compilerFlagsExiv2.cmake index 1ed3d5a7..07b1bded 100644 --- a/cmake/compilerFlagsExiv2.cmake +++ b/cmake/compilerFlagsExiv2.cmake @@ -21,10 +21,10 @@ if (COMPILER_IS_GCC OR COMPILER_IS_CLANG) # MINGW, Linux, APPLE, CYGWIN " -Wlogical-op" " -Wdouble-promotion" " -Wshadow" - " -Wuseless-cast" " -Wpointer-arith" # This warning is also enabled by -Wpedantic " -Wformat=2" #" -Wold-style-cast" + #" -Wuseless-cast" Disabled mainly because of conversion of socket types (different types on OSs) ) endif ()