From 352d1f9bfc89086f070575148c1c7f302148a0d1 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 8 Aug 2017 19:29:21 -0400 Subject: [PATCH] Remove DEAL_II_TYPE_QUALIFIER_BUG. This was a work around for a GCC 4.3 bug which has since been fixed. Reverts 092bb3fc40b. --- cmake/checks/check_03_compiler_bugs.cmake | 31 ----------------------- 1 file changed, 31 deletions(-) diff --git a/cmake/checks/check_03_compiler_bugs.cmake b/cmake/checks/check_03_compiler_bugs.cmake index 74d2fad690..89d0b115d4 100644 --- a/cmake/checks/check_03_compiler_bugs.cmake +++ b/cmake/checks/check_03_compiler_bugs.cmake @@ -223,37 +223,6 @@ CHECK_CXX_COMPILER_BUG( ) -# -# Check for GCC bug 36052, see -# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36052 -# -# - Wolfgang Bangerth, Matthias Maier, rewritten 2012 -# - -CHECK_CXX_COMPILER_BUG( - " - struct S { - typedef double value_type; - }; - - template struct Traits { - typedef const typename T::value_type dereference_type; - }; - - template struct ConstIterator { - typedef typename Traits::dereference_type dereference_type; - - dereference_type operator * () const { return 0; } - }; - template class ConstIterator; - int main(){return 0;} - " - DEAL_II_TYPE_QUALIFIER_BUG) - -IF(DEAL_II_TYPE_QUALIFIER_BUG) - ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS -Wno-ignored-qualifiers) -ENDIF() - # # On Mac OS X, gcc appears to have a bug that prevents us from -- 2.39.5