Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Busted C++ exceptions


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>

        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?


Julio M. Merino Vidal <>

Home | Main Index | Thread Index | Old Index