On 14 July 2017 at 20:13, Matt Turner <matts...@gmail.com> wrote:
> On Fri, Jul 14, 2017 at 11:15 AM, Rafael Antognolli
> <rafael.antogno...@intel.com> wrote:
>> gen4 have commands which start with KernelStartPointer, which is a
>> struct, so if we initialize it struct = { 0 }, we get warnings on some
>> compilers.
>
> Which compilers?
>
GCC (pre 4.9?) can throw a Wmissing-braces on[1] while clang
Wmissing-field-initializers [2].
Clang should also be fixed, despite that the bugreport is still open.

-Emil

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
[2] https://bugs.llvm.org/show_bug.cgi?id=21689
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to