This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: G++ w/ C++ Exceptions
- To: Paul Prescod <papresco at calum dot csclub dot uwaterloo dot ca>
- Subject: Re: G++ w/ C++ Exceptions
- From: James Paul Morgan <jpmorgan at unm dot edu>
- Date: Wed, 16 Apr 1997 23:42:08 -0600 (MDT)
- cc: gnu-win32 at cygnus dot com
On Wed, 16 Apr 1997, Paul Prescod wrote:
I was not using exceptions, but I (foolishly) had a variable named
"short" that really freaked out the compiler. (I wasn't thinking and did
"String short;" I got the same error, over and over and over in an
infinite loop. For some reason, certain errors cannot be handled by the
compiler. Just like it gives a whole stack dump for a segmentation fault.
Btw, the Ctrl-C does not work under the current bash.
> When I compile certain C++ objects with -fexceptions, G++ goes berserk,
> even though the objects have no exception handling stuff in them (no
> try, catch, etc.). Here's what happens:
>
> (e:\gcc\i386\lib\gcc-lib\i386\cygnus-2.7.2-961023\cc1plus.exe 1007) In
> cygwin_except_handler
> (e:\gcc\i386\lib\gcc-lib\i386\cygnus-2.7.2-961023\cc1plus.exe 1007) In
> cygwin_except_handler
> (e:\gcc\i386\lib\gcc-lib\i386\cygnus-2.7.2-961023\cc1plus.exe 1007) In
> cygwin_except_handler
> ...
>
> And it goes on forever, until I hit Ctrl-C which may or may not cause
> Windows 95 to crash or Windows NT to launch Dr. Watson. (I presume
> that's a known bug too).
>
See ya around the Mulberry bush.
--James
:)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".