This is the mail archive of the
mailing list for the GCC project.
Re: Ada subtypes and base types
On Thursday 23 March 2006 17:14, Andrew Pinski wrote:
> On Mar 23, 2006, at 11:10 AM, Richard Guenther wrote:
> > Well - we could hack a new type attribute to specify min/max values...
> Or maybe try to using C++ instead since C++ rules for enums are
> than C :).
Well, I like the attribute idea since it gives much more flexibility
in making examples. Also, though I guess this only matters to me, in
order to produce C++ examples I'd have to build the compiler with C++
support, which I'd rather not do since I have no use for C++ otherwise.