]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Actually remove DEAL_II_EXPLICIT_CONSTRUCTOR_BUG. 4906/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 19 Aug 2017 02:51:03 +0000 (22:51 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 19 Aug 2017 02:51:03 +0000 (22:51 -0400)
Follow-up to ac33ee15e72.

cmake/checks/check_03_compiler_bugs.cmake

index 49a63715eec8c787e4e5250ef7a50f0be34e6b03..41888d983386050b0733eae1a26411067c15d953 100644 (file)
@@ -118,35 +118,6 @@ CHECK_CXX_COMPILER_BUG(
   )
 
 
-
-#
-# Some older versions of gcc compile this, despite the 'explicit'
-# keyword:
-#
-# struct X {
-#     template <typename T>
-#     explicit X(T);
-# };
-# void f(X);
-# int main () { f(1); }
-#
-# Check for this misfeature.
-#
-# - Wolfgang Bangerth, Matthias Maier, rewritten 2012
-#
-CHECK_CXX_SOURCE_COMPILES(
-  "
-  struct X {
-    template <typename T>
-    explicit X(T) {}
-  };
-  void f(X) {}
-  int main() { f(1); }
-  "
-  DEAL_II_EXPLICIT_CONSTRUCTOR_BUG
-  )
-
-
 #
 # Some older versions of gcc deduce pointers to const functions in
 # template contexts to pointer-to-function of const objects.

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.