diff options
author | Simon McVittie <smcv@collabora.com> | 2019-11-21 14:57:40 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2019-11-21 14:57:40 +0000 |
commit | 355c64072612596a8c8895da5509ec257d801a33 (patch) | |
tree | 80e083a529b3ebf57e9c9e51ca40c70a00f77b25 | |
parent | c4776f8c10b4f371b6dc730369760cb8d8bc980d (diff) | |
download | dbus-python-355c64072612596a8c8895da5509ec257d801a33.tar.gz |
Disable compiler errors for -Winline
Being told that a `static inline` function was not inlined is not
particularly useful as a way to detect bugs.
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2cd026f..8149579 100644 --- a/configure.ac +++ b/configure.ac @@ -133,6 +133,7 @@ AX_COMPILER_FLAGS([WARN_CFLAGS], [ \ -Wdeprecated-declarations \ -Wno-duplicated-branches \ + -Wno-inline \ -Wno-redundant-decls \ -Wno-switch-default \ -Wno-write-strings \ @@ -141,6 +142,7 @@ dnl AX_COMPILER_FLAGS doesn't order the compiler flags correctly to be able dnl to disable flags that it would normally enable WARN_CFLAGS="$(echo "${WARN_CFLAGS}" | ${SED} \ -e s/-Wduplicated-branches// \ + -e s/-Winline// \ -e s/-Wredundant-decls// \ -e s/-Wswitch-default// \ -e s/-Wwrite-strings// \ |