This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: C++ crash with -fno-exceptions
Phil Edwards <pedwards@disaster.jaj.com> writes:
| On Wed, Dec 20, 2000 at 07:13:54PM +0100, Gabriel Dos Reis wrote:
| > Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
| >
| > | [1 <text/plain; US-ASCII (7bit)>]
| > | If I disable exception handling with -fno-exceptions
| >
| > This is a real question: Is the standard library supposed to work
| > with -fno-exceptions?
|
| Well... [17.4.4.8]/1 starts with
|
| # Any of the functions defined in the C++ Standard Library can report a
| # failure by throwing an exception of the type(s) described in their Throws:
| # paragraph and/or their exception-specification.
I see. Thanks.
| so I think if 3.0 ships with a library that requires exception handling,
| we would be okay. Still, it would be nice if we could build a library
| that worked with -fno-exceptions.
I understand -- but personnally, that is not a priority issue for me.
| ... I think we'd be looking at Yet Another
| Multilib Configuration.
Good luck :-)
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com