From: David Wells Date: Tue, 8 Aug 2017 23:29:21 +0000 (-0400) Subject: Remove DEAL_II_TYPE_QUALIFIER_BUG. X-Git-Tag: v9.0.0-rc1~1334^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=352d1f9bfc89086f070575148c1c7f302148a0d1;p=dealii.git Remove DEAL_II_TYPE_QUALIFIER_BUG. This was a work around for a GCC 4.3 bug which has since been fixed. Reverts 092bb3fc40b. --- 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