[haiku-commits] Re: haiku: hrev44916 - src/add-ons/opengl/swpipe

  • From: Sean Bailey <ziusudra@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 28 Nov 2012 15:30:25 -0700

On Wed, Nov 28, 2012 at 7:56 AM, JÃrÃme Duval <korli@xxxxxxxxxxxxxxxx>wrote:

> 2012/11/28 Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>:
> > I thought gcc2 didn't like that? (loop variables declared in the for)
> >
>
> Yes, only in C.
>
>
What it doesn't like is actually declarations after statements in C, so in
that case these declarations would still throw errors. (Ran into this on
IRC with somebody attempting to port C code.)

- Sean

Other related posts: