]> www.ginac.de Git - ginac.git/blobdiff - ginac/inifcns_trans.cpp
* Added output-support for Python bindings and LaTeX printing for
[ginac.git] / ginac / inifcns_trans.cpp
index cbf370dbb16542f1be19e16566a547a998e90f01..b092b5370aff3eef118d83560f5d04e29009cf64 100644 (file)
@@ -141,6 +141,14 @@ static ex log_deriv(const ex & x, unsigned deriv_param)
        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,