From: Marc-André Lureau <marcandre.lur...@redhat.com>

The warning is triggered when compiling with various build options, such
as -Doptimization=g.

>From gcc(1) man page about -Winline:
seemingly insignificant changes in the source program can cause the warnings 
produced by -Winline to appear or disappear.

Such flaky behaviour is best left to the user discretion.

Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
 meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meson.build b/meson.build
index c7e5947d10..15f5a0fe74 100644
--- a/meson.build
+++ b/meson.build
@@ -340,7 +340,6 @@ cc_flags += [
   '-Wimplicit-int',
   '-Wincompatible-pointer-types',
   '-Winit-self',
-  '-Winline',
   '-Wint-conversion',
   '-Wint-in-bool-context',
   '-Wint-to-pointer-cast',
-- 
2.47.0

Reply via email to