From: pa@softsystem.com.pl (Piotr Andzel)
Subject: try-throw-catch possible bug in B19 ?
13 Mar 1998 22:57:13 -0800
Message-ID: <199803130748.IAA40590.cygnus.gnu-win32@waw.softsystem.com.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
To: <gnu-win32@cygnus.com>

Hi Guys.

Try to compile following example:

#include <iostream.h>

int main()
{
   try
   {
      throw "Error";
   }
   catch(const char* s)
   {
      cout << s << endl;
   }
   return 0;
}

Using B18 or some other compilers gives expected result - "Error" text
on the screen, but compiled by B19 gives no any effect.

Is this a bug or missed any option during compilation ?
Using -fexceptions makes no any difference.

Regards.

Piotr Andzel
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
