Re: gcc 4.3.2 rethrow exception

2009-09-28 Thread Dave Korn
zevel12 wrote: > Dave Korn-6 wrote: >> It's always best to use the proper language driver for compiling C++ >> instead >> of adding -lstdc++ to the C compiler command-line, in fact it's not a >> supported mode of operation > It did indeed fix the problem. As an added note, I also had to use g

Re: gcc 4.3.2 rethrow exception

2009-09-28 Thread zevel12
Dave Korn-6 wrote: > > zevel12 wrote: >> Rethrowing an exception in Cygwin's gcc 4.3.2 causes an abort. This works >> with gcc 3.4.4 and in Linux with gcc 4. Below is an example that is >> compiled >> as: gcc rethrow.cpp -lstdc++. > > This could be a "Well, don't do that then" situation. I

Re: gcc 4.3.2 rethrow exception

2009-09-28 Thread Dave Korn
zevel12 wrote: > Rethrowing an exception in Cygwin's gcc 4.3.2 causes an abort. This works > with gcc 3.4.4 and in Linux with gcc 4. Below is an example that is compiled > as: gcc rethrow.cpp -lstdc++. This could be a "Well, don't do that then" situation. I tried your testcase, but I compiled i