> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Thursday, 11 May 2023 10.30 > > On 2023-05-11 09:09, Morten Brørup wrote:
[...] > > In my experience using __builtin_constant_p(), you need > __extension__(__builtin_constant_p(nb_events)) to avoid warnings about using > this non-standard feature. > > > > Yes, since it's a public header. Thanks. If you run meson with -Dcheck_includes=true, ninja will catch it. Unfortunately, the build time increases significantly when using this option.