This is the mail archive of the gcc-bugs@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]

[Bug c++/27235] goto crossing P.O.D. initialization



------- Comment #15 from falk at debian dot org  2006-05-01 20:55 -------
(In reply to comment #12)
> Subject: Re:  goto crossing P.O.D. initialization
> 
> "falk at debian dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> 
> | I think this is a valid request. While random language extensions aren't
> | useful,
> | compatibility with C99 is. Maybe somebody else can comment on this...
> 
> You have to be more precise about what you mean by C99 compatibility.

I have trouble seeing what might be unclear about this term. I mean that code
that is valid C99 is accepted in C++ unless there is a good reason not to.
just like most of C89 is accepted in C++ unless there is a good reason not to.

> My take on this goto stuff, if it is not valid C++, it is valid C++.

That logically implies that everything valid C++, which might be overdoing
it a bit ;-)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27235


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