diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-13 00:38:00 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-13 14:10:48 +0200 |
commit | 461e7ac873cf0def6b3dd6c7905f3c5b65734280 (patch) | |
tree | 028cf8a1ae408399e077525033d8bd1e7cfc8376 /.clang-format | |
parent | da3f50ee9cdb6896b365357b0d35577344f72ba4 (diff) |
meson.build: Silence the C99 designators warning
We use array designators for array initialization, which is a C99
extension. clang-10 warns about it, causing a build failure.
As this is a useful extension, silence the warning. This needs to be
done only if the compiler supports the -Wno-c99-designator argument,
otherwise a -Wunknown-warning-option will be generated.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions