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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2005 19:01:44 -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 #3 from pinskia at gcc dot gnu dot org 2005-12-02 19:01 -------
(In reply to comment #2)
> We are trying to keep the libstc++ code as clean and representative of
> standards-conforming C++ code as possible, and have avoided __try, __catch,
> etc. or other uglification in favor of the actual C++ terms, ie try, catch.
>
> I'd rather you work around this in objective-c or objective c++.
Actaully I can think of why this cannot be worked around, first try is the
keyword and not just @try.
I personally would like this fixed in libstdc++ as it is changing valid code in
people's sources without them knowing it is happening to them (maybe an #undef
before the end of the header files will fix the issue).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25191