Skip to content

Commit

Permalink
fix: error: '_Noreturn' does not name a type
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu authored Apr 15, 2024
1 parent f395069 commit d63611c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtcg/include/tcg/utils/osdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
}
Expand Down

0 comments on commit d63611c

Please sign in to comment.