libstdc++/2921
Phil Edwards
pedwards@disaster.jaj.com
Sat May 26 20:26:00 GMT 2001
The following reply was made to PR libstdc++/2921; it has been noted by GNATS.
From: Phil Edwards <pedwards@disaster.jaj.com>
To: Petter Reinholdtsen <pere@hungry.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/2921
Date: Sat, 26 May 2001 22:05:11 -0400
On Sat, May 26, 2001 at 05:56:01PM -0000, Petter Reinholdtsen wrote:
> Thanks for the suggestion on libstdc++-v3. I tested the GCC online commpiler
> and got this result with build 2001-05-26:
>
> Catched: St9exception
> Catched: St9bad_alloc
>
> At least this time the output is consistent, but I think
> 'std::exception' and 'std::bad_alloc' would be better choices. :-)
You're seeing the mangled names. In theory, if you ran those names through
the demangler (c++filt), you'd see the "human" names.
In practice, as of today, those aren't what c++filt is looking for, so
the demangler doesn't demangle them. The names themselves are correct,
but they're missing the 'local prefix':
% echo St9exception | ~/build/install-2001-05-25-3branch/bin/c++filt
St9exception
% echo _ZSt9exception | ~/build/install-2001-05-25-3branch/bin/c++filt
std::exception
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.
More information about the Gcc-prs
mailing list