[Mesa-dev] [PATCH mesa 0/6] Let's get rid of 99% of warnings :)
Jason Ekstrand
jason at jlekstrand.net
Fri Sep 21 18:47:32 UTC 2018
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
More information about the mesa-dev
mailing list