| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <03d301bfc69d$13ebd150$a8a11dcb@ihug.co.nz> |
| From: | "Ross Smith" <ross DOT s AT ihug DOT co DOT nz> |
| To: | <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | G++ bug in Cygwin 1.1.1 |
| Date: | Fri, 26 May 2000 11:00:53 +1200 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.00.2919.6600 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
This short program:
class Foo {};
int main() {
try { throw Foo(); }
catch (const Foo&) { return 0; }
}
compiled with the version of g++ 2.95.2 that comes with the current
net distribution, crashes when run:
$ ./foo.exe
0 [main] foo 1007 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
5052 [main] foo 1007 stackdump: Dumping stack trace to foo.exe.stackdump
This doesn't show up with the same compiler on Linux, suggesting that
this is either a Cygwin bug, or a g++ bug that only shows up on some
operating systems.
--
Ross Smith <ross DOT s AT ihug DOT co DOT nz> The Internet Group, Auckland, New Zealand
========================================================================
"So that's 2 T-1s and a newsfeed ... would you like clues with that?"
-- Peter Da Silva
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |