From: wolf 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d228902fc873c8677e70868f87828feef4c5be3a;p=dealii-svn.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