[Mesa-dev] [PATCH 0/3] Fix missing initializer errors in generated tables
Emil Velikov
emil.l.velikov at gmail.com
Sun Jun 4 22:20:14 UTC 2017
On 4 June 2017 at 21:27, Benedikt Schemmer <ben at besd.de> wrote:
> Hi all,
>
> my reasoning wasn't based on how c handles partial initializations,
> but on how the generated files look like: like something is missing.
>
> Also I don't want to suppress these warnings, because I don't have
> the experience you have with the codebase and would kind of like to
> see if my changes have an negative impact or I forgot something.
>
Using [C99] designated initalizers should "make things right". Do
check that the generated files are not included in C++ context, since
C99 initalizers are not allowed there :-\
Keep in might that explicit [zero] initialization may "force" the
compiler to generate the actual code, increasing the binary size.
-Emil
More information about the mesa-dev
mailing list