aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-04-19 06:15:16 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-04-19 06:15:16 +0800
commitbff741b42f9c5774b3105ff6707e1fd447ec0478 (patch)
treec8c28b260eaf0ff27367414f298f33edda12c608 /cmake
parentb53156b0395f85cc0c3280af4c8732b3d7241e32 (diff)
downloaddexon-solidity-bff741b42f9c5774b3105ff6707e1fd447ec0478.tar.gz
dexon-solidity-bff741b42f9c5774b3105ff6707e1fd447ec0478.tar.zst
dexon-solidity-bff741b42f9c5774b3105ff6707e1fd447ec0478.zip
Remove obsolete warning supressions for clang
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EthCompilerSettings.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake
index d5f5789a..c73536ad 100644
--- a/cmake/EthCompilerSettings.cmake
+++ b/cmake/EthCompilerSettings.cmake
@@ -61,18 +61,6 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
# Additional Clang-specific compiler settings.
elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
-
- # A couple of extra warnings suppressions which we seemingly
- # need when building with Clang.
- #
- # TODO - Nail down exactly where these warnings are manifesting and
- # try to suppress them in a more localized way. Notes in this file
- # indicate that the first is needed for sepc256k1 and that the
- # second is needed for the (clog, cwarn) macros. These will need
- # testing on at least OS X and Ubuntu.
- add_compile_options(-Wno-unused-function)
- add_compile_options(-Wno-dangling-else)
-
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
# Set stack size to 16MB - by default Apple's clang defines a stack size of 8MB, some tests require more.
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-stack_size -Wl,0x1000000")