From 1d997048d36577569c66ded8089262b69a268272 Mon Sep 17 00:00:00 2001 From: milahu Date: Mon, 15 Apr 2024 11:46:04 +0200 Subject: [PATCH] fix: error: '_Noreturn' does not name a type --- libtcg/include/tcg/utils/osdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtcg/include/tcg/utils/osdep.h b/libtcg/include/tcg/utils/osdep.h index 98d875f57..168b0a597 100644 --- a/libtcg/include/tcg/utils/osdep.h +++ b/libtcg/include/tcg/utils/osdep.h @@ -143,7 +143,7 @@ static inline void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) { } #define LIBTCG_ERROR(X) __attribute__((error(X))) -extern _Noreturn void LIBTCG_ERROR("code path is reachable") qemu_build_not_reached_always(void); +NORETURN extern void LIBTCG_ERROR("code path is reachable") qemu_build_not_reached_always(void); static inline void qemu_thread_jit_write(void) { }