From cfc05a051dbeffe4d40fbda91670ccd39aac79b5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 20 Mar 2003 23:49:56 +0000 Subject: [PATCH] Disable one warning for cxx. git-svn-id: https://svn.dealii.org/trunk@7335 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index feed3bc8bc..3d0d5efd52 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -422,6 +422,9 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl dnl #236 and dnl #237: `controlling expression is constant' (in while(true), or dnl switch(dim)) + dnl #368: `class "..." defines no constructor' (for classes that have + dnl const members; they need not have a constructor if we + dnl initialize them via ={1,2,3}) dnl #381: `extra ";" ignored' (at function or namespace closing dnl brace) dnl #487: `Inline function ... cannot be explicitly instantiated' @@ -456,7 +459,7 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl CXXFLAGSG="$CXXFLAGS -model ansi -std strict_ansi -w1 -msg_display_number -timplicit_local -DDEBUG" CXXFLAGSO="$CXXFLAGS -model ansi -std strict_ansi -w2 -msg_display_number -timplicit_local -fast" - for i in 11 175 236 237 381 487 1136 1156 111 1182 265 450 ; do + for i in 11 175 236 237 368 381 487 1136 1156 111 1182 265 450 ; do CXXFLAGSG="$CXXFLAGSG -msg_disable $i" CXXFLAGSO="$CXXFLAGSO -msg_disable $i" done -- 2.39.5