[C++ Patch] PR 4093

Stan Shebs shebs@apple.com
Fri Mar 1 14:04:00 GMT 2002


Richard Henderson wrote:
> 
> On Sun, Feb 24, 2002 at 06:23:06PM +0000, Jason Merrill wrote:
> > You shouldn't be building the C++ frontend with HP's compiler ...
> 
> Why don't we put
> 
> #ifndef __GNUC__
> #error "you should be using make bootstrap"
> #endif
> 
> in cp-tree.h and be done with it?

One of the long-term directions that has been talked about is to
unify all the C dialects into a single compiler, organized around
the rewritten C++ parser.  Making the C++ frontend __GNUC__-only
would work against that.

Kind of ironic actually, to want to make the C++ frontend
nonportable across compilers and yet still write it in K&R C...

Stan



More information about the Gcc-patches mailing list