]> www.ginac.de Git - ginac.git/blobdiff - ginac/archive.h
added description of wildcards
[ginac.git] / ginac / archive.h
index 96a6ea1c639f48c6ef24a29c79c2667515a6c909..c8dc71c4675aba41271143696b2edd673392c3f1 100644 (file)
@@ -74,12 +74,13 @@ public:
                std::string name;   /**< Name of property. */
                unsigned count;     /**< Number of occurrences. */
        };
-       // Cint doesn't like vector<..,default_alloc> but malloc_alloc is
-       // unstandardized and not supported by newer GCCs.
-#if defined(__GNUC__) && ((__GNUC__ == 2) && (__GNUC_MINOR__ < 97))
+       // Cint currently doesn't like vector<..,default_alloc> but malloc_alloc is
+       // unstandardized and not supported by newer GCCs.  This ugly hack will go
+       // away soon!
+#if (defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ < 97)) || (defined(G__GNUC) && (G__GNUC == 2) && (G__GNUC_MINOR < 97))
        typedef std::vector<property_info,malloc_alloc> propinfovector;
 #else
-       typedef std::vector<ex> propinfovector;
+       typedef std::vector<property_info> propinfovector;
 #endif
 
        archive_node() : a(*dummy_ar_creator()), has_expression(false) {} // hack for cint which always requires a default constructor