qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.0? v2 4/4] meson: Enable -Wstatic-in-inline


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH-for-9.0? v2 4/4] meson: Enable -Wstatic-in-inline
Date: Wed, 27 Mar 2024 08:49:45 +0100
User-agent: Mozilla Thunderbird

On 26/3/24 18:28, Thomas Huth wrote:
On 26/03/2024 18.10, Philippe Mathieu-Daudé wrote:
Compilers are clever enough to inline code when necessary.

The only case we accept an inline function is static in
header (we use C, not C++).

Add the -Wstatic-in-inline CPPFLAG to prevent public and

I think this is rather a compiler than a pre-processor flag, so s/CPPFLAG/CFLAGS/ ?

Oops indeed you are right, thanks!


Anyway:
Reviewed-by: Thomas Huth <thuth@redhat.com>


inline function to be added in the code base.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240313184954.42513-5-philmd@linaro.org>
---
  meson.build | 1 +
  1 file changed, 1 insertion(+)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]