[opengtl-commits] [413] possible workaround for gcc 3.3 (ter)

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 413
Author:   cyrille
Date:     2008-09-21 16:45:44 +0200 (Sun, 21 Sep 2008)

Log Message:
-----------
possible workaround for gcc 3.3 (ter)

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/Type.h


Modified: trunk/OpenGTL/OpenGTL/GTLCore/Type.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Type.h	2008-09-21 14:05:17 UTC (rev 412)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Type.h	2008-09-21 14:45:44 UTC (rev 413)
@@ -25,6 +25,11 @@
 #include <list>
 #include <vector>
 
+#if __GNUC__ == 3 && (__GNUC_MINOR__ <= 3 && __GNUC_MINOR__ <= 3)
+#include <GTLCore/TypeManager.h>
+#endif
+
+
 namespace OpenCTL {
   class Compiler;
   class Program;
@@ -61,6 +66,9 @@
     friend class ParserBase;
     friend class Function;
     friend class TypeManager;
+#if __GNUC__ == 3 && (__GNUC_MINOR__ <= 3 && __GNUC_MINOR__ <= 3)
+    friend class TypeManager::Private;
+#endif
     friend class Visitor;
     friend class VectorVisitor;
     friend class ExpressionResult;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/