Commit 7b18bd1f authored by Thomas Haller's avatar Thomas Haller

build/meson: disable "-Wgnu-variable-sized-type-not-at-end warning"

It's not useful for us.

    In file included from ../src/systemd/src/libsystemd/sd-event/sd-event.c:14:
    ../src/systemd/src/libsystemd/sd-event/event-source.h:195:36: error: field 'buffer' with variable sized type 'union inotify_event_buffer' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
            union inotify_event_buffer buffer;
                                       ^
parent dc4f6f66
......@@ -158,7 +158,6 @@ endif
if nm_debug
common_flags += cc.get_supported_arguments([
'-fno-strict-aliasing',
'-Wdeclaration-after-statement',
'-Wfloat-equal',
'-Wimplicit-fallthrough',
......@@ -169,6 +168,7 @@ if nm_debug
'-Wmissing-prototypes',
'-Wno-duplicate-decl-specifier',
'-Wno-format-truncation',
'-Wno-gnu-variable-sized-type-not-at-end',
'-Wno-missing-braces',
'-Wno-missing-field-initializers',
'-Wno-pragmas',
......@@ -181,6 +181,7 @@ if nm_debug
'-Wtypedef-redefinition',
'-Wundef',
'-Wunknown-attributes',
'-fno-strict-aliasing',
])
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment