This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Converting GCC to compilation with C++


Robert Dewar <dewar@gnat.com> writes:

> But are you sure that you want to limit the use of virtual functions
> in this way? There are surely other "safe" uses. So the question is
> it possible to formulate an appropriate set of restrictions? If so
> how can these restrictions be enforced?

By bootstrapping the compiler via a subset-of-C++ front-end that
wouldn't bootstrap if you deviated outside of that subset?  ;-)

Ben



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]