5 #ifdef LICE_TARGET_AMD64
6 # include "arch_amd64.h"
9 * Any additional future targets will just keep bracing with
10 * conditional inclusion here.
12 # include "arch_dummy.h"
16 # define NORETURN __attribute__((noreturn))
22 * Function: compile_error
23 * Write compiler error diagnostic to stderr, formatted
26 * fmt - Standard format specification string
27 * ... - Additional variable arguments
30 * This function does not return, it kills execution via a call to
33 void NORETURN compile_error(const char *fmt, ...);
36 * Function: compile_warn
37 * Write compiler warning diagnostic to stderr, formatted
40 * fmt - Standard format specification string
41 * ... - Additional variable arguments
43 void compile_warn(const char *fmt, ...);
46 * Function: compile_ice
47 * Write an internal compiler error diagnostic to stderr, formatted
51 * fmt - Standard format specification string
52 * ... - Additional variable arguments
55 * Thie function does not return, it aborts execution via a call to
58 void NORETURN compile_ice(const char *fmt, ...);
61 extern bool compile_warning;