[Insight-developers] GDCM Failing on Borland

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Nov 22 14:02:43 EST 2004


Lorensen, William E (Research) wrote:
> I just updated and built. They all pass now!

Excellent.

For people using borland, here is what you shouldn't do:

------------------------------------------------
#include <iostream>

int main()
{
   std::streampos a = 9;
   long c = 10;

   if( a >= c )
    {
    std::cerr << "Bogus cast" << std::endl;
    }
   else
    {
    std::cerr << "Seems reasonable" << std::endl;
    }

   return 0;
}
------------------------------------------------

Mathieu




More information about the Insight-developers mailing list