From: kanschat Date: Thu, 4 Nov 1999 23:11:03 +0000 (+0000) Subject: compiles now with gcc 2.95; hopefully with egcs X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49b3f20fe4932717521af74283320f6ce1e4c8e1;p=dealii-svn.git compiles now with gcc 2.95; hopefully with egcs git-svn-id: https://svn.dealii.org/trunk@1833 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/grid_out.h b/deal.II/deal.II/include/grid/grid_out.h index 4e688c6cc1..197ba7a3d0 100644 --- a/deal.II/deal.II/include/grid/grid_out.h +++ b/deal.II/deal.II/include/grid/grid_out.h @@ -316,13 +316,13 @@ class GridOut struct EpsFlags : public EpsFlagsBase {}; -#if (__GNUC__==2) && (__GNUC_MINOR__ < 95) +//#if (__GNUC__==2) && (__GNUC_MINOR__ < 95) /** * Flags specific to the output of * grids in three space dimensions. */ - template <> +// template <> struct EpsFlags<3> : public EpsFlagsBase { /** @@ -357,9 +357,9 @@ class GridOut azimut_angle (azimut_angle), turn_angle (turn_angle) {}; }; -#else -# warning Not implemented for gcc2.95 -#endif +//#else +//# warning Not implemented for gcc2.95 +//#endif diff --git a/deal.II/deal.II/source/grid/grid_out.cc b/deal.II/deal.II/source/grid/grid_out.cc index 475ea27882..a1bfc0babc 100644 --- a/deal.II/deal.II/source/grid/grid_out.cc +++ b/deal.II/deal.II/source/grid/grid_out.cc @@ -366,14 +366,14 @@ void GridOut::write_eps (const Triangulation &tria, // is in direction of the viewer, but // I am too tired at present to fix // this -#if !((__GNUC__==2) && (__GNUC_MINOR__==95)) +//#if !((__GNUC__==2) && (__GNUC_MINOR__==95)) const double z_angle = eps_flags_3.azimut_angle; const double turn_angle = eps_flags_3.turn_angle; -#else -# warning Not implemented for gcc2.95 - const double z_angle = 60; - const double turn_angle = 30; -#endif +//#else +//# warning Not implemented for gcc2.95 +// const double z_angle = 60; +// const double turn_angle = 30; +//#endif const double pi = 3.1415926536; const Point view_direction(-sin(z_angle * 2.*pi / 360.) * sin(turn_angle * 2.*pi / 360.), +sin(z_angle * 2.*pi / 360.) * cos(turn_angle * 2.*pi / 360.),