This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [basic-improvements] try/finally support for c/c++ - more tests


On Wednesday, November 6, 2002, at 04:44  PM, Mark Mitchell wrote:

I feel strongly that we should not try to bring C++ features into C,
just to avoid having to compile some stuff in libc with G++. Especially
as similar features may eventually go into ISO C with subtly different
semantics.
I have the same concerns as Mark.  I'm nervous about the
possibility that adding a major new language feature to
our C compiler now, just to meet the needs of a single
project, may conflict with future work on more general
exception handling.

I'd feel a lot better about this either if
 (1) it could be hidden behind builtins that looked like
     function calls, so that it didn't do anything like
     introducing new keywords or new kinds of scope into
     the language; or
 (2) it was done in the context of explicit consultation
     with WG14 and we could be pretty sure that we were
     headed in the same direction as standard C.

			--Matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]