From: Wolfgang Bangerth Date: Thu, 8 Sep 2016 22:48:06 +0000 (-0600) Subject: Disable -Wplacement-new. X-Git-Tag: v8.5.0-rc1~688^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48262d3c06ac798fc25081724e50183fce1a321;p=dealii.git Disable -Wplacement-new. This is necessary since it triggers a warning in the BOOST version we bundle and that yields a warning message several dozen times per build. The BOOST code may be clumsily written, but is correct. --- diff --git a/cmake/setup_compiler_flags_gnu.cmake b/cmake/setup_compiler_flags_gnu.cmake index cc75241650..eec2173315 100644 --- a/cmake/setup_compiler_flags_gnu.cmake +++ b/cmake/setup_compiler_flags_gnu.cmake @@ -1,6 +1,6 @@ ## --------------------------------------------------------------------- ## -## Copyright (C) 2012 - 2015 by the deal.II authors +## Copyright (C) 2012 - 2016 by the deal.II authors ## ## This file is part of the deal.II library. ## @@ -72,6 +72,13 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Woverloaded-virtual") # ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-long-long") +# +# Disable Wplacement-new that will trigger a lot of warnings +# in the BOOST function classes that we include via the +# BOOST signals classes: +# +ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-placement-new") + # # Disable deprecation warnings #