[Insight-developers] Exception not a test failure - other linux machines

Brad King brad.king@kitware.com
Tue, 4 Mar 2003 17:30:28 -0500 (EST)


> The same test is failing on several other linux/gcc machines - do you
> think that it is failing for a similar reason?

It might.  Have the maintainers of those dashboards try the following
program by hand with their compilers:

struct A {};
void f() throw(A) { throw A(); }
int main()
{
  try { f(); }
  catch(const A&) {}
  catch(...) { return 1; }
  return 0;
}

It should return with error code 0.  If it aborts, or returns with error
code 1, something is wrong with their compiler's installation.

-Brad