]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't define BOOST_NO_CXX98_FUNCTION_BASE manually in bundled boost 16923/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 23 Apr 2024 02:51:34 +0000 (22:51 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 23 Apr 2024 02:51:42 +0000 (22:51 -0400)
bundled/setup_bundled.cmake

index 038ec018a1ed83176e376ca1400499176cf7f56e..09df8f1880cfe1f94c514e2702bac742d2e49a19 100644 (file)
@@ -56,16 +56,6 @@ macro(feature_boost_configure_bundled)
     list(APPEND DEAL_II_DEFINITIONS "BOOST_ALL_NO_LIB")
   endif()
 
-  if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
-    #
-    # std::unary_function has been removed in C++17. Fix compilation with
-    # clang (that enforces strict standard compliance) by exporting
-    # BOOST_NO_CXX98_FUNCTION_BASE,
-    # https://github.com/boostorg/config/pull/430
-    #
-    list(APPEND DEAL_II_DEFINITIONS "BOOST_NO_CXX98_FUNCTION_BASE")
-  endif()
-
   enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-unused-local-typedefs")
   enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-parentheses")
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.