[Mesa-dev] [PATCH 0/4] Fix some warnings caught by GCC5

Martin Peres martin.peres at linux.intel.com
Fri Jun 5 05:31:48 PDT 2015


GCC5 apparently got the ability to remember if the output variables of
a function have been initialized in all the codepathes. The first
two patches fix real issues.

The r600 patch seem to fix a real issue, but I have not spent too long
looking at the code.

GCC5 also became more annoying around logic operations and requires
more parenthesis (last patch).


Martin Peres (4):
  main/version: make sure all the output variables get set in
    get_gl_override
  nouveau/compiler: init the size and code variables to NULL/0
  r600/sb_sched: fix what appears to be a typo in a condition
  softpipe/query: force parenthesis around a logical not

 src/gallium/drivers/nouveau/nouveau_compiler.c | 2 +-
 src/gallium/drivers/r600/sb/sb_sched.cpp       | 2 +-
 src/gallium/drivers/softpipe/sp_query.c        | 2 +-
 src/mesa/main/version.c                        | 3 ++-
 4 files changed, 5 insertions(+), 4 deletions(-)

-- 
2.4.2



More information about the mesa-dev mailing list