]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
compiles now with gcc 2.95; hopefully with egcs
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Nov 1999 23:11:03 +0000 (23:11 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Nov 1999 23:11:03 +0000 (23:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@1833 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/grid_out.h
deal.II/deal.II/source/grid/grid_out.cc

index 4e688c6cc12f127a4d2032dc274129c714117a37..197ba7a3d05343931e6d5285b4a2c8e49fc8b8fd 100644 (file)
@@ -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
     
        
     
index 475ea2788213326d9664a940d988032cd3dea123..a1bfc0babc0444044fa04e7421282464f1f31a02 100644 (file)
@@ -366,14 +366,14 @@ void GridOut::write_eps (const Triangulation<dim> &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<dim> 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.),

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.