Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Busted C++ exceptions
Hello,
With sources as of today (updated from a 4 day old installation), C++
exception handling seems to be busted. I have tried the following
test program on two NetBSD-current/amd64 machines and it raises a
SIGABORT at runtime:
---- cut here ----
#include <iostream>
int
main(void)
{
try {
throw int(5);
} catch (int i) {
std::cout << "Caught " << i << std::endl;
}
return 0;
}
---- cut here ----
Could anyone confirm this and/or knows what may be wrong?
Thanks.
--
Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
Home |
Main Index |
Thread Index |
Old Index