Thread (3 messages) flat view 3 messages, 2 authors, 3d ago

Re: [PATCH v2] cyclictest: Fix BUILD failure for GCC_VER < 14

From: John Kacur <hidden>
Date: 2026-09-03 18:39:24


On Wed, 2 Sep 2026, Suneeth D wrote:
timerthread() uses bool, true, and false. Those are keywords in C23,
which became GCC's default in GCC 15 (-std=gnu23), so the file compiles
there without stdbool.h. With the earlier versions of GCC the default is gnu17,
where they are provided by <stdbool.h>, and the build fails without it.

Fixes: 98fcd661ac59 (cyclictest: Acquire a lock before invoking pthread_cond_signal())
Closes: https://lore.kernel.org/linux-rt-users/4ce24139-5f7e-4180-a290-bcc15fb4f559@amd.com/ (local)
Signed-off-by: Suneeth D <redacted>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help