[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Yet another newbie

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2000-08-07 23:56:32 CEST

> In C...but any C++ compiler worth it's salt should be able to
> compile a C program. It would be nice to not limit users to a
> C-only compiler...

The set of code which is correct in both C and C++ code is smaller
than the set of code which is correct in C in a number of ways (can't
use "new" as a variable name, for instance), not just in this respect.
Given that an arbitrary symbol containing "__" is very unlikely to
collide with a C++ implementation namespace, and that Subversion is
written in C, I don't think we want to accept this particular
restriction of C++ on the Subversion project. It is silly to worry
about being theoretically correct for a language we are not even
targeting.

And, of course, any C++ compiler worth its salt should have a mode
which can compile arbitrary correct C code, not just C code which
happens to also be correct C++ code.
Received on Sat Oct 21 14:36:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.