[RFA]: Clean up C front ends init_options langhook
Neil Booth
neil@daikokuya.co.uk
Sun Jun 29 08:21:00 GMT 2003
Zack Weinberg wrote:-
> Neil Booth <neil@daikokuya.co.uk> writes:
>
> > This arose out of the next step I want to do with the options stuff.
> > The patch removes c_language, and uses flag_cxx instead, which is
> > canonical with use of flag_objc.
>
> I don't have a strong opinion here but I would kind of prefer it go
> the other way, i.e. fold flag_objc into c_language.
That is doable, but means two enums for one flag, and two checks
for each if (flag_objc) now. Being ObjC or not is really canonical;
remember that Apple have ObjC++.
Neil.
More information about the Gcc-patches
mailing list