diff --git a/packages/solidity/EthCompilerSettings.cmake.patch b/packages/solidity/EthCompilerSettings.cmake.patch new file mode 100644 index 000000000..7d62f3d68 --- /dev/null +++ b/packages/solidity/EthCompilerSettings.cmake.patch @@ -0,0 +1,12 @@ +diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake +index 3bcdad47b..e7d2a82b8 100644 +--- a/cmake/EthCompilerSettings.cmake ++++ b/cmake/EthCompilerSettings.cmake +@@ -46,7 +46,6 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA + # to fix warnings as they arise, so they don't accumulate "to be fixed later". + add_compile_options(-Wall) + add_compile_options(-Wextra) +- add_compile_options(-Werror) + add_compile_options(-pedantic) + add_compile_options(-Wno-unknown-pragmas) + add_compile_options(-Wimplicit-fallthrough)