[Mesa-dev] [PATCH] Android: disable warnings causing errors

Emil Velikov emil.l.velikov at gmail.com
Wed Nov 29 17:01:02 UTC 2017


On 27 November 2017 at 19:36, Rob Herring <robh at kernel.org> wrote:
> AOSP master has changed the build default to -Werror making all the
> warnings errors. Override that with -Wno-error.
>
For both Mesa and libdrm patches

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Mildly related:
Quick grep|sort|unique through your build log shows the following.
Some quick ideas, I haven't looked which one comes from where.

      4 -Wdeprecated-declarations]
     60 -Wdeprecated-register]
      6 -Wenum-conversion]
      3 -Wformat]
Should be trivial.

     14 -Wmissing-braces]
I'm fairly convinced this comes from the universal initializer {0}
Just silence it?

     44 -Wdelete-non-virtual-dtor]
      4 -Wshift-negative-value]
     20 -Wsometimes-uninitialized]
      4 -Wuninitialized]
Potential bugs, or compiler snafu?

     52 -Wasm-operand-widths]
      4 -Wconstant-logical-operand]
     16 -Wgnu-variable-sized-type-not-at-end]
      2 -Wmacro-redefined]
     56 -Woverloaded-virtual]
     26 -Wtautological-constant-out-of-range-compare]
      1 -Wuser-defined-warnings]
Meh?

Addressing the [clang] mismatched-tags and toggling the warning back
on shouldn't be too bad?


-Emil


More information about the mesa-dev mailing list