]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove DEAL_II_TYPE_QUALIFIER_BUG. 4741/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 8 Aug 2017 23:29:21 +0000 (19:29 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 8 Aug 2017 23:29:21 +0000 (19:29 -0400)
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

index 74d2fad69014dc58f49260283ee8f12e1df12e36..89d0b115d44a33a1e36dade664118c8619115ef1 100644 (file)
@@ -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 <typename T> struct Traits {
-      typedef const typename T::value_type dereference_type;
-  };
-
-  template <class BlockVectorType> struct ConstIterator {
-      typedef typename Traits<BlockVectorType>::dereference_type dereference_type;
-
-      dereference_type operator * () const  { return 0; }
-  };
-  template class ConstIterator<S>;
-  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

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.