[PATCH INSTALLED]: const typedefs part 19/N

Kaveh R. GHAZI ghazi@caip.rutgers.edu
Tue Aug 28 20:31:00 GMT 2007


On Mon, 27 Aug 2007, Gabriel Dos Reis wrote:

> "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
>
> [...]
>
> | It could mean making it *possible* to build with a C++ compiler, i.e. use
> | -Wc++-compat for the whole compiler but still allow using plain C to
> | bootstrap.  (Has anyone tried this recently?  Gaby?)
>
> I haven't tried recently, mostly because I have been travelling and
> away from my development machine.  I suspect this is probably a good
> time to try again.
> -- Gaby

Is it sufficient to get the code compiling with -Wc++-compat, or are there
other problems?

BTW, what exactly does -Wc++-compat warn about?  The docs only talk about
implicit coversion from void * to non-void *.  But I imagine other things
like using "class", etc could have problems.  Could you please mention
what you came across in previous attempts?

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc-patches mailing list