[Insight-users] Linux build error, any help?

Brad King brad.king@kitware.com
Tue, 24 Sep 2002 16:15:43 -0400 (EDT)


Christian,

> XMLSourceParser (0x813db50): Invalid location entry f0:23 in
> XMLSourceElement _3

This looks like it might be due to a bug in gcc 2.96's stream library.
Please try building the program below, and send me the output.

Thanks,
-Brad

#include <iostream>
#include <sstream>

int main()
{
  int i=0;
  std::stringstream str;
  str << "1";
  str >> i;
  if(!!str)
    {
    std::cout << "Okay" << std::endl;
    }
  else
    {
    std::cout << "Failed" << std::endl;
    }
  return 0;
}