This is the mail archive of the gcc@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: Switching to C++ by default in 4.8


> In the short term, a partial conversion to C++ gains us nothing. Even
> ignoring the bugs inevitably caused by any such project, we'll end up
> with a strange mish-mash of styles for a very long time, which instead
> of helping anyone can only lead to confusion. I don't see anyone
> committing to invest the time in converting even an entire subsystem let
> alone the whole compiler. Maybe a subsystem conversion would be a good
> thing to try on a branch and then present the results to the community
> for evaluation. This would be better than lowering the barrier now for
> all sorts of random but uncoordinated conversion efforts.

IMO the killer conversion would be vec.[ch], which is a very clever piece of 
code but is almost impossible to use without copy-and-pasting existing cases.
I think that a proper C++ implementation would be a very convincing argument.

-- 
Eric Botcazou


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