From d228902fc873c8677e70868f87828feef4c5be3a Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 6 May 2002 07:33:49 +0000 Subject: [PATCH] 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 --- deal.II/aclocal.m4 | 56 ++++++++++++++++++++ deal.II/configure.in | 1 + deal.II/deal.II/include/grid/intergrid_map.h | 5 +- 3 files changed, 60 insertions(+), 2 deletions(-) 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