Mail Archives: djgpp/1999/02/28/09:43:55
On Sat, 27 Feb 1999, Manipal Institute of Technology wrote:
> Compile the above with -g. It gives some errors in the assembler because
> the symbol X::func gets into the assembler file.
Please make a point of reporting the exact error messages you get in
such cases. It is next to impossible to provide efficient help
without this minimal information.
> int main() {
> try {
> throw 1;
> }
> catch (...) {
> fprintf (stderr, "\nGot caught!");
> }
> }
>
> First, to compile this, we have to use -fhandle-exceptions. GCC complains
> of undefined reference to terminate().
Please report the version of the compiler you are using. Exceptions
support is only working in the latest versions. It is possible that
you use an outdated compiler.
> Please note that I'm not a member of mailing list and cant access the
> newsgroup. Please email to mit AT mahe DOT ernet DOT in with "TO CHIRAYU" prominantly
> in the subject and the beginning of the email body else I wont even know
> I got a reply.
Since you are creating a thread, you should make sure these words
appear in the Subject when you write your message.
- Raw text -