From 451c5405e0e5b882e8a0d3221763ac28dee6a043 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Mon, 3 Mar 2025 00:58:19 +0000 Subject: [PATCH] fix(userspace/apps/test): fix noreturn compiler warning fix "warning: 'noreturn' function does return" Signed-off-by: EnderIce2 --- Userspace/apps/test/libc_test/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Userspace/apps/test/libc_test/main.c b/Userspace/apps/test/libc_test/main.c index cde209a4..4547260f 100644 --- a/Userspace/apps/test/libc_test/main.c +++ b/Userspace/apps/test/libc_test/main.c @@ -21,6 +21,7 @@ __attribute__((noreturn)) __attribute__((no_stack_protector)) void __stack_chk_fail(void) { _exit(0xbeef); + __builtin_unreachable(); } int sample_test_pass()