disable FastAlloc. Gcc 3.3.x appears to have a bug that
breaks FastAlloc when compiled with optimization.
base/fast_alloc.cc:
base/fast_alloc.hh:
#define NO_FAST_ALLOC makes FastAlloc a no-op.
--HG--
extra : convert_revision :
bf4bb8e963331c6782f2cfd475a811aa520e31b5
* by permission.
*/
+#ifndef NO_FAST_ALLOC
+
#ifdef __GNUC__
#pragma implementation
#endif
}
#endif
+
+#endif // NO_FAST_ALLOC
// (by bucket).
// #define FAST_ALLOC_STATS
+#ifdef NO_FAST_ALLOC
+
+class FastAlloc {
+};
+
+#else
+
class FastAlloc {
public:
deallocate(p, sz);
}
+#endif // NO_FAST_ALLOC
+
#endif // __FAST_ALLOC_H__