#1 Exceptions don't work with gcc-dos

open
nobody
None
5
2001-05-20
2001-05-20
Anonymous
No

Even this simple test program doesn't work with gcc-dos
(but works with gcc-win):

#include <stdio.h>

void test() {
throw(1);
}
int main() {
try {
test();
}
catch(int a) {
printf("%i\n", a);
}
return 0;
}

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks