-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On January 4, 2002 09:53 pm, you wrote:
> On January 4, 2002 06:02 pm, you wrote:
> > Hopefully this small example is all you need.
>
> This is now in www.gnu.org gnats as: c++/5282
Tux is not needed if you use this .cpp instead. (last fix for testcase:-)
// BugLib.cpp
extern "C" {
void TUXAPI_init();
int TUXAPI_handle_events (void* req);
}
#include "syslog.h"
#include "TestException.h"
int TUXAPI_handle_events (void* req) {
return 1;
}
void TUXAPI_init() {
openlog("BugLib", LOG_PID | LOG_CONS | LOG_NDELAY, LOG_DAEMON);
syslog(LOG_INFO, "TUXAPI_init()");
try {
throw TestException("test123");
return;
} catch(TestException e) {
// This never happens
syslog(LOG_INFO, "Success");
}
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8NmzqP6+Az0OIt2IRAjvGAJ49eWrlNpFOM3puMwO3+DfNhqIZXQCfZSrM
cfBGd8u8fXKHKill+NhCpf0=
=erHn
-----END PGP SIGNATURE-----