[Mesa-dev] MesaCVS: Current compiler warnnings

Dieter Nützel dieter at nuetzel-hh.de
Fri May 3 15:53:53 PDT 2013


Making all in builtin_compiler
gmake[4]: Entering directory `/opt/mesa/src/glsl/builtin_compiler'
CXX      glsl_lexer.lo
glsl_lexer.cpp: In function 'int yy_get_next_buffer(yyscan_t)':
glsl_lexer.cpp:3076:3: warning: comparison between signed and unsigned 
integer expressions [-Wsign-compare]


CXX      link_uniforms.lo
../../../src/glsl/link_uniforms.cpp: In function 'void 
link_update_uniform_buffer_variables(gl_shader*)':
../../../src/glsl/link_uniforms.cpp:567:37: warning: comparison between 
signed and unsigned integer expressions [-Wsign-compare]


CC       vbo_exec_api.lo
../../src/mesa/vbo/vbo_exec_api.c: In function 'vbo_exec_fixup_vertex':
../../src/mesa/vbo/vbo_exec_api.c:338:8: warning: '*((void *)&tmp+12)' 
may be used uninitialized in this function [-Wmaybe-uninitialized]
../../src/mesa/vbo/vbo_exec_api.c:334:16: note: '*((void *)&tmp+12)' was 
declared here
../../src/mesa/vbo/vbo_exec_api.c:338:8: warning: '*((void *)&tmp+8)' 
may be used uninitialized in this function [-Wmaybe-uninitialized]
../../src/mesa/vbo/vbo_exec_api.c:334:16: note: '*((void *)&tmp+8)' was 
declared here
../../src/mesa/vbo/vbo_exec_api.c:338:8: warning: '*((void *)&tmp+4)' 
may be used uninitialized in this function [-Wmaybe-uninitialized]
../../src/mesa/vbo/vbo_exec_api.c:334:16: note: '*((void *)&tmp+4)' was 
declared here
../../src/mesa/vbo/vbo_exec_api.c:338:8: warning: 'tmp' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
../../src/mesa/vbo/vbo_exec_api.c:334:16: note: 'tmp' was declared here


CC       draw/draw_gs.lo
draw/draw_gs.c: In function 'draw_create_geometry_shader':
draw/draw_gs.c:805:33: warning: 'llvm_gs' may be used uninitialized in 
this function [-Wmaybe-uninitialized]


CXX      gallivm/lp_bld_debug.lo
gallivm/lp_bld_debug.cpp: In member function 'virtual void 
raw_debug_ostream::write_impl(const char*, size_t)':
gallivm/lp_bld_debug.cpp:116:40: warning: cast from type 'const char*' 
to type 'char*' casts away qualifiers [-Wcast-qual]


CC       radeon_drm_cs_dump.lo
radeon_drm_cs_dump.c: In function 'radeon_dump_cs_on_lockup':
radeon_drm_cs_dump.c:104:21: warning: format '%lx' expects argument of 
type 'long unsigned int', but argument 4 has type 'uint64_t' [-Wformat]
radeon_drm_cs_dump.c:147:21: warning: format '%lx' expects argument of 
type 'long unsigned int', but argument 6 has type 'uint64_t' [-Wformat]
radeon_drm_cs_dump.c:150:21: warning: format '%lx' expects argument of 
type 'long unsigned int', but argument 5 has type 'uint64_t' [-Wformat]

Cheers,
Dieter
--
Please CC me, I'm not on the list.


More information about the mesa-dev mailing list