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 <th...@redhat.com>


inline function to be added in the code base.

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


Reply via email to