This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/25191] exception_defines.h #defines try/catch
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2005 00:58:41 -0000
- Subject: [Bug libstdc++/25191] exception_defines.h #defines try/catch
- References: <bug-25191-11686@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from gdr at integrable-solutions dot net 2005-12-03 00:58 -------
Subject: Re: exception_defines.h #defines try/catch
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| We really should not be defining keywords in the headers at all. If we
define
| bool somewhere to be int, we would get incorrect behavior the same way we are
| getting for try/catch.
But the issues are not the same. You're using try/catch with
-fno-exceptions! If you used a compiler options that tells you that
bool is defined to something else, that is it!
-- gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25191