help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb


From: Paul Pluzhnikov
Subject: Re: gdb
Date: Sun, 20 Apr 2008 21:01:11 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Andre Poenitz <poenitz@htwm.de> writes:

> It pretty much the behaviour one gets from g++ by default without doing
> anything fancy:
>
>   #include <stdexcept>
>   int main() { throw std::logic_error("empty rule"); }
>
> produces exactly the same output.

For some (but not all) versions of gcc.

It didn't produce that output on Linux/x86 for my version of gcc
(3.3.3), so I (incorrectly) assumed that non-default terminate
handler was installed. But code compiled with gcc-3.4.0 and above
does in fact produce that output.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]