Re: [Mesa-dev] [PATCH v2] gallium/tests: fix build with clang compiler

2015-12-01 Thread Samuel Pitoiset
On 12/01/2015 02:44 PM, Serge Martin wrote: On Sunday 29 November 2015 15:23:37 Samuel Pitoiset wrote: Nested functions are supported as an extension in GNU C, but Clang don't support them. This fixes compilation errors when (manually) building compute.c, or by setting --enable-gallium-tests

Re: [Mesa-dev] [PATCH v2] gallium/tests: fix build with clang compiler

2015-12-01 Thread Serge Martin
On Sunday 29 November 2015 15:23:37 Samuel Pitoiset wrote: > Nested functions are supported as an extension in GNU C, but Clang > don't support them. > > This fixes compilation errors when (manually) building compute.c, > or by setting --enable-gallium-tests to the configure script. > > Changes

[Mesa-dev] [PATCH v2] gallium/tests: fix build with clang compiler

2015-11-29 Thread Samuel Pitoiset
Nested functions are supported as an extension in GNU C, but Clang don't support them. This fixes compilation errors when (manually) building compute.c, or by setting --enable-gallium-tests to the configure script. Changes from v2: - fix typo Bugzilla: