This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Let's kill c-iterate.c
On Sat, Sep 04, 1999 at 02:15:41PM +0100, Bernd Schmidt wrote:
> >
> > But I'm disinclined to outright delete a feature, no matter how
> > inconvenient its existance is for us, until we make *some* effort to
> > find out if anybody is using it. I'd suggest at least posting to
> > comp.lang.c and perhaps the GCC announce list.
>
> The best way to do that would probably be to add a warning message to
> gcc-2.95.2 that triggers whenever someone tries to use iterators. I'm
> not entirely convinced that it's necessary; you need to read the gcc
> source carefully even to figure out that iterators exist, and that doesn't
> tell you yet how they are supposed to work. The only program I managed
> to create that used iterators didn't show any advantage they have over a
> simple for loop.
Please delete or mark XFAIL that uses iterators if you do this.
> Anyway, I found out in the meantime that the previous patch was incomplete,
> there are more places that contain iterator support. Before I send another
> one, can we come to a decision what to do about the feature?
>
> Bernd
>
>
--
Michael Meissner, Cygnus Solutions
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886
email: meissner@cygnus.com phone: 978-486-9304 fax: 978-692-4482