build: Add -Woverride-init
authorBenjamin Otte <otte@redhat.com>
Fri, 18 Aug 2023 19:06:59 +0000 (21:06 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 24 Aug 2023 14:25:59 +0000 (10:25 -0400)
commit6cabd44a2b696e430b3a1b660a2ba53691bd8c7d
tree89c79cdffddfa291c8e34d20567841efa032b438
parent012388da32004985b6cd3294dfa77f98934143e1
build: Add -Woverride-init

That's a gcc warning (clang has the equivalent -Winitializer-overrides,
but that one is included in -Wall) that complains about things like:

  VkOffset3D offset = { .x = pt.x, .x = pt.y, .y = 0 };

So you don't have to spend a few hours trying to understand what's going
on before realizing your copy/paste skills are substandard.
meson.build