This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting to ISO C89
> > Great!
> >
> > Is the topic on using C++ in the Java front-end handled by the SC?
>
> If necessary, the SC could deal with this.
>
> But it would be much better if there were consensus here first.
>
> I think the topic of using C++ in gcj is different: it doesn't affect
> the end-user. Using C89 in GCC means that the user must start with a
> C89 compiler; using C++ in gcj doesn't affect the set of tools the
> user must have at all. So, I think it's more a technical decision
> than an SC decison.
Agreed.
IMHO once we've decided to require ISO C89 to bootstrap, we should
remove gcc-isms from the cp/ dir and compile cc1plus during stage1.
We can perhaps condition cc1plus during stage1 iff java is enabled.
Then java (and all other) frontends can use C++ wherever it makes
sense.
--Kaveh
--
Kaveh R. Ghazi ghazi at caip dot rutgers dot edu