
On Fri, Nov 11, 2005 at 06:39:30PM +1100, Peter Moulder wrote:
On Thu, Nov 10, 2005 at 02:33:16PM -0800, Jeremy Y. Meng wrote:
+++ inkscape_irix/src/approx-equal.h 2005-11-09 09:54:18.400619200 -0800
+#if defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION >= 730 +#include <math.h> +#else #include <cmath> +#endif
Is this because cmath doesn't exist, or because we've accidentally used something without namespace-qualifying it, or because cmath conflicts
Peter, I think you are right here. I experimented with MIPSpro a little bit more and found there exists cmath. However the function fabs() needs std:: to work without compiling error. Should I identify all those offending cmath functions and prefix them with std::?
with another header, or because math.h declares some things (C99 functions perhaps) not declared by cmath ?
Thanks.
Jeremy