[Mesa-dev] [PATCH mesa 0/6] Let's get rid of 99% of warnings :)

Dylan Baker dylan at pnwbakers.com
Mon Sep 24 18:56:27 UTC 2018


You should try building with MSVC. ☹

Quoting Jason Ekstrand (2018-09-21 11:47:32)
> You should try building with clang. 😜
> 
> On September 21, 2018 15:51:31 Eric Engestrom <eric.engestrom at intel.com> wrote:
> 
> > After this, I only see one last warning [1] in all of Mesa \o/
> > (building with GCC8, YMMV of course, especially with old compilers)
> >
> > [1] nvc0_surface.c:501 the switch doesn't initialise dst_fmt in
> >    the `case 12`; I don't really  have the time to figure this
> >    out though.
> >
> > Eric Engestrom (6):
> >  glsl_to_tgsi: silence paranoid compiler's -Wclass-memaccess
> >  nouveau: silence paranoid compiler's -Wclass-memaccess
> >  r600: silence paranoid compiler's -Wclass-memaccess
> >  gallivm: ensure string is null-terminated instead of assert()ing
> >  meson: make it trivial to add other -Wno-foo CFLAGS
> >  meson+autotools: get rid of spammy GCC warning -Wformat-truncation
> >
> > configure.ac                                          |  2 ++
> > meson.build                                           | 11 +++++++----
> > src/gallium/auxiliary/gallivm/lp_bld_printf.c         |  4 +---
> > src/gallium/drivers/nouveau/codegen/nv50_ir.cpp       |  2 +-
> > .../drivers/nouveau/codegen/nv50_ir_target.cpp        |  2 +-
> > src/gallium/drivers/r600/sb/sb_expr.cpp               | 10 +++++-----
> > src/gallium/drivers/r600/sb/sb_if_conversion.cpp      |  4 ++--
> > src/gallium/drivers/r600/sb/sb_ir.h                   |  2 +-
> > src/gallium/drivers/r600/sb/sb_peephole.cpp           |  4 ++--
> > src/mesa/state_tracker/st_glsl_to_tgsi.cpp            | 10 +++++-----
> > 10 files changed, 27 insertions(+), 24 deletions(-)
> >
> > --
> > Cheers,
> >  Eric
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
> 
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180924/baa847c0/attachment.sig>


More information about the mesa-dev mailing list