Bug 104983

Summary: current version, warning during make process in glsl
Product: Mesa Reporter: Randy <randy.ransier>
Component: glsl-compilerAssignee: mesa-dev
Status: RESOLVED NOTOURBUG QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Randy 2018-02-07 03:34:41 UTC
during a make, there is a warning while entering the .../mesa/src/compiler directory:

glsl/glsl_lexer.cpp:  In function 'int yy_get_next_buffer(yyscan_t)';
glsl/glsl_lexer.cpp:3488:47 warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {


(it's probably more my bug, i tried to not get any intel stuff in my libraries at all, and i think glsl is an intel thing; it's not a feature i plan on using)

the make finished fine, it was only a warning
i just want mesa3d to only get better, and better, and better... :)
anyways, my autogen command was as follows, which is probably why i was making glsl even though i don't think i need it:

 ./autogen.sh --prefix=/usr --libdir=/usr/lib/arm-linux-gnueabihf --with-gallium-drivers="vc4,swrast" --sysconfdir=/etc --with-platforms="drm,x11,wayland" --with-dri-drivers="swrast"

(if i didnt specify --with-dri-drivers=(something) it tried to load intel stuff on me)
Comment 1 Matt Turner 2018-02-07 19:22:53 UTC
That's code generated by flex. There's nothing we can do about it.
Comment 2 Timothy Arceri 2018-02-07 23:06:28 UTC
FYI this is also fixed in recent versions of flex.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.