Re: [Mesa-dev] [PATCH 17/17] glsl: Suppress sign-compare warning generated by flex 2.6.1.

2018-02-12 Thread Timothy Arceri
On 13/02/18 06:59, Ian Romanick wrote: Supposedly later versions of flex fix this... or so I heard. Yes it's fixed in recent versions. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 17/17] glsl: Suppress sign-compare warning generated by flex 2.6.1.

2018-02-12 Thread Ian Romanick
Supposedly later versions of flex fix this... or so I heard. On 02/10/2018 08:33 AM, Eric Anholt wrote: > I got the following warning: > > src/compiler/glsl/glsl_lexer.cpp:1521:18: warning: comparison between signed > and unsigned integer expressions [-Wsign-compare] >for ( n = 0; n < max_si

[Mesa-dev] [PATCH 17/17] glsl: Suppress sign-compare warning generated by flex 2.6.1.

2018-02-10 Thread Eric Anholt
I got the following warning: src/compiler/glsl/glsl_lexer.cpp:1521:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( n = 0; n < max_size && \ src/compiler/glsl/glsl_lexer.cpp:3448:3: note: in expansion of macro ‘YY_INPUT’ YY_INPUT( (&YY_CURRENT_B