commit | a24d6fbae60c01a39fe5a026fb568ab7facc6fbb | [log] [tgz] |
---|---|---|
author | Dylan Baker <dylan@pnwbakers.com> | Thu Nov 21 09:11:45 2019 -0800 |
committer | Dylan Baker <dylan@pnwbakers.com> | Tue Nov 26 12:48:11 2019 -0800 |
tree | 7bf0f523f70ffb02c213ec39bf5d08459f2cb65f | |
parent | 25e58e37186d2ab2474391afe24cb895da50ccb0 [diff] |
meson: Add -Werror=gnu-empty-initializer to MSVC compat args Only clang has this argument (at least as of clang 8 and gcc 9), which errors when using the gcc empty initializer syntax in C: ```C struct foo f = {}; ``` GCC has a warning for this, but only when using -Wpedantic, which is a lot of noise to lose useful warnings in. Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>