* functions. */
/*
- * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return power(x, _ex_1);
}
+// This is a strange workaround for a compiliation problem with the try statement
+// below. With -O1 the exception is not caucht properly as of GCC-2.95.2, at
+// least on i386. Version 2.95.4 seems to have fixed this silly problem, though.
+// Funnily, with a simple extern declaration here it mysteriously works again.
+#if defined(__GNUC__) && (__GNUC__==2)
+extern "C" int putchar(int);
+#endif
+
static ex log_series(const ex &arg,
const relational &rel,
int order,