Re: [Mesa-dev] [PATCH] strip double const from generated file

2017-05-08 Thread Nicolai Hähnle
On 04.05.2017 13:25, Marc Dietrich wrote: Am Donnerstag, 4. Mai 2017, 13:00:38 CEST schrieben Sie: I filed a bug on this, my attempt caused some compilation warnings, see: https://bugs.freedesktop.org/show_bug.cgi?id=100227 I don't see warnings with my patch. However, I also don't understand t

Re: [Mesa-dev] [PATCH] strip double const from generated file

2017-05-04 Thread Marc Dietrich
Am Donnerstag, 4. Mai 2017, 13:00:38 CEST schrieben Sie: > I filed a bug on this, my attempt caused some compilation warnings, see: > https://bugs.freedesktop.org/show_bug.cgi?id=100227 I don't see warnings with my patch. However, I also don't understand the origin of the problem ;-) Marc > >

Re: [Mesa-dev] [PATCH] strip double const from generated file

2017-05-04 Thread Tapani Pälli
I filed a bug on this, my attempt caused some compilation warnings, see: https://bugs.freedesktop.org/show_bug.cgi?id=100227 On 05/04/2017 01:16 PM, Marc Dietrich wrote: In some cases gl_marshal.py generates entries with "const const" leading to a compiler warning. This strips the superfluous co

[Mesa-dev] [PATCH] strip double const from generated file

2017-05-04 Thread Marc Dietrich
In some cases gl_marshal.py generates entries with "const const" leading to a compiler warning. This strips the superfluous const from the type string. Signed-off-by: Marc Dietrich --- src/mapi/glapi/gen/gl_marshal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapi/g