|
From: | Richard Henderson |
Subject: | Re: [PATCH-for-9.0 4/4] meson: Enable -Wstatic-in-inline |
Date: | Wed, 13 Mar 2024 11:09:02 -1000 |
User-agent: | Mozilla Thunderbird |
On 3/13/24 08:49, 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 inline function to be added in the code base. Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- meson.build | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |