On Mon, 2025-02-03 at 16:43 -0500, Benjamin Marzinski wrote: > starting with version 0.15, userspace-rcu can be compiled with > CONFIG_RCU_USE_ATOMIC_BUILTINS. If it is, then any programs using it > must be compiled with at least the C11 standard. See: > https://github.com/urcu/userspace-rcu/commit/89280d020bf064d1055c360fb9974f128051043f > > To deal with this, check if compiling with gnu99 fails, and if so, > switch to using gnu11. > > Based-on-patch-by: Yaakov Selkowitz <yselkowi@xxxxxxxxxx> > Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>