Re: [Mesa-dev] Use of nested functions in nouveau_array.c

2011-12-01 Thread İsmail Dönmez
Hi; On Thu, Dec 1, 2011 at 3:46 PM, Brian Paul wrote: > On 12/01/2011 07:36 AM, İsmail Dönmez wrote: > >> Hi; >> >> On Wed, Nov 9, 2011 at 8:08 PM, İsmail Dönmez > <mailto:ism...@namtrac.org>> wrote: >> >>Another thing to notice that nested f

Re: [Mesa-dev] Use of nested functions in nouveau_array.c

2011-12-01 Thread İsmail Dönmez
Hi; On Wed, Nov 9, 2011 at 8:08 PM, İsmail Dönmez wrote: > Another thing to notice that nested functions require executable stack. > This is also another reason to get rid of them. > > On Wed, Nov 9, 2011 at 3:11 PM, İsmail Dönmez wrote: > >> Hi; >> >> nouveau

Re: [Mesa-dev] Use of nested functions in nouveau_array.c

2011-11-09 Thread İsmail Dönmez
Another thing to notice that nested functions require executable stack. This is also another reason to get rid of them. On Wed, Nov 9, 2011 at 3:11 PM, İsmail Dönmez wrote: > Hi; > > nouveau_array.c seems to be using nested functions which is not supported > by clang (or the EDG bas

[Mesa-dev] Use of nested functions in nouveau_array.c

2011-11-09 Thread İsmail Dönmez
Hi; nouveau_array.c seems to be using nested functions which is not supported by clang (or the EDG based compilers it seems), the reduced testcase looks like this: foo() { auto void f(); void f() {}; } I talked to the clang developers and they don't plan to support this GNU extension sin