From: Wolfgang Bangerth Date: Mon, 6 May 2002 07:33:49 +0000 (+0000) Subject: Detect and work around a bug involving typedefing with template template arguments... X-Git-Tag: v8.0.0~18056 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6634b123e52617852df59bf2671a95804481f382;p=dealii.git Detect and work around a bug involving typedefing with template template arguments in gcc2.95. Previously, we simply checked for the version number of the compiler, but we should get away from this and rather check for compiler features using autoconf, to make the whole thing more portable. git-svn-id: https://svn.dealii.org/trunk@5805 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index d67f98269d..01679112e8 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1771,6 +1771,62 @@ AC_DEFUN(DEAL_II_CHECK_IMPLEMENTED_PURE_FUNCTION_BUG, dnl +dnl ------------------------------------------------------------- +dnl gcc 2.95 dies on this construct: +dnl ----------------------------- +dnl template struct TT { typedef int type; }; +dnl +dnl template