[Insight-developers] SGI Build now okay

Will Schroeder will.schroeder@kitware.com
Fri, 08 Dec 2000 13:10:33 -0500


Hi Folks-

Bill Hoffman and I got Insight building on the SGI again (using the SGI 
compiler). It cost
me several hours of hacking to get it to work. Since the last time it was 
working on the
SGI (a few months ago) all sorts of bad stuff were introduced. Such as:

* people still using cout rather than std::cout. (We didn't see it because 
it was in code
   that was not compiling.)
* typedefs are NOT inherited. While most compilers do so, the SGI compiler
   does not (and we believe this is according to the C++ spec.)
* The sgi does not have <cstdlib>, <cmath>, <cstring>, <stdio>. Instead, use
   "stdlib.h" "math.h" "string.h" "stdio.h".
* There is no std::sqrt() std::exp(). Use sqrt() and exp().
* std::clock() ? I just commented this stuff out, I have no idea

We are going to try and get a dashboard going for the SGI.

I've checked it all in.

Will