| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | Silver <SilverBanana AT gmx DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | throwing an int does not work |
| Date: | Wed, 30 Jan 2002 16:21:24 +0100 |
| Organization: | Private |
| Lines: | 25 |
| Message-ID: | <3C580F74.4F484969@gmx.de> |
| Mime-Version: | 1.0 |
| X-Trace: | news.t-online.com 1012404155 05 3394 uBsjTTNS7YvEQ 020130 15:22:35 |
| X-Complaints-To: | abuse AT t-online DOT com |
| X-Sender: | 520041811770-0001 AT t-dialin DOT net |
| X-Mailer: | Mozilla 4.79 [en] (Win98; U) |
| X-Accept-Language: | en |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi!
Any idea why this code does not link?
int main()
{
try
{
int x=1;
throw x;
}
catch (int a)
{
// Do sth.
}
}
The linker responded something like this:
undefined refernce to __cxa_throw and so on.
Is it a bug or an installation issue?
Thanks in advance
Bernd F.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |