diff options
author | Maksim Andrianov <maksimandrianov1@gmail.com> | 2018-06-22 12:55:19 +0300 |
---|---|---|
committer | Maksim Andrianov <maksimandrianov1@gmail.com> | 2018-06-25 17:58:38 +0300 |
commit | 8497b01a73c1ce012f6612f01dd72a236f17e8b0 (patch) | |
tree | 028632d1191ad90d5d7e17392a8194ef1f2b2eb0 /CMakeLists.txt | |
parent | bb257b4c22d9d56d6c0988d6883336ad191f5f74 (diff) |
Fixed warn: mangled name for .. will change in C++17 because the exception specification is part of a function type
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c34da3977..e746ece555 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,8 @@ add_compile_options( ) add_clang_compile_options("-Wshorten-64-to-32") +add_clang_cpp_compile_options("-Wno-noexcept-type") +add_gcc_cpp_compile_options("-Wno-noexcept-type") add_subdirectory(base) add_subdirectory(coding) |