[Bug libstdc++/25191] exception_defines.h #defines try/catch

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Sat Dec 3 00:58:00 GMT 2005



------- 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



More information about the Gcc-bugs mailing list