after some recent work by Masaharu.
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<property_info> propinfovector;
class archive_node;
class print_context;
-// 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))
- typedef std::vector<ex,malloc_alloc> exvector;
+// 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<GiNaC::ex,malloc_alloc> exvector;
#else
typedef std::vector<ex> exvector;
#endif
namespace GiNaC {
-// Cint does not like ${STLHEADER}<..,default_alloc> but malloc_alloc is
-// unstandardized and not supported by newer GCCs.
-#if defined(__GNUC__) && ((__GNUC__ == 2) && (__GNUC_MINOR__ < 97))
-typedef std::${STLHEADER}<ex,malloc_alloc> ${STLT};
+// Cint currently does not like ${STLHEADER}<..,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::${STLHEADER}<GiNaC::ex,malloc_alloc> ${STLT};
#else
typedef std::${STLHEADER}<ex> ${STLT};
#endif
const symbol &s = static_cast<symbol &>(*r.lhs().bp);
if (!coeff.is_zero())
- seq.push_back(expair(coeff, numeric(0)));
+ seq.push_back(expair(coeff, _ex0()));
int n;
for (n=1; n<order; ++n) {