From 0390ecc922efe2a8ac32867650f7ecca096219d7 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 4 May 2018 18:32:42 +0200 Subject: [PATCH] Disable warning for muParser's generic function pointer --- bundled/muparser_v2_2_4/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bundled/muparser_v2_2_4/CMakeLists.txt b/bundled/muparser_v2_2_4/CMakeLists.txt index ec6e128497..6551117cf3 100644 --- a/bundled/muparser_v2_2_4/CMakeLists.txt +++ b/bundled/muparser_v2_2_4/CMakeLists.txt @@ -21,6 +21,7 @@ STRIP_FLAG(DEAL_II_CXX_FLAGS "-pedantic") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-switch) ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-nested-anon-types) ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-implicit-fallthrough) +ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-cast-function-type) INCLUDE_DIRECTORIES( include/ -- 2.39.5