From c334b591429509730e9925b53ea23645d49cd8ce Mon Sep 17 00:00:00 2001 From: seyko Date: Tue, 6 Jan 2015 22:19:45 +0300 Subject: Warn about a conflicting compile options spectified on the command line. Try "tcc -E -c tccasm.c -o tccasm.o" --- libtcc.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libtcc.h') diff --git a/libtcc.h b/libtcc.h index e69cc6b..799ffd8 100644 --- a/libtcc.h +++ b/libtcc.h @@ -58,11 +58,11 @@ LIBTCCAPI int tcc_compile_string(TCCState *s, const char *buf); /* set output type. MUST BE CALLED before any compilation */ LIBTCCAPI int tcc_set_output_type(TCCState *s, int output_type); -#define TCC_OUTPUT_MEMORY 0 /* output will be run in memory (default) */ -#define TCC_OUTPUT_EXE 1 /* executable file */ -#define TCC_OUTPUT_DLL 2 /* dynamic library */ -#define TCC_OUTPUT_OBJ 3 /* object file */ -#define TCC_OUTPUT_PREPROCESS 4 /* only preprocess (used internally) */ +#define TCC_OUTPUT_MEMORY 1 /* output will be run in memory (default) */ +#define TCC_OUTPUT_EXE 2 /* executable file */ +#define TCC_OUTPUT_DLL 3 /* dynamic library */ +#define TCC_OUTPUT_OBJ 4 /* object file */ +#define TCC_OUTPUT_PREPROCESS 5 /* only preprocess (used internally) */ /* equivalent to -Lpath option */ LIBTCCAPI int tcc_add_library_path(TCCState *s, const char *pathname); -- cgit v1.3.1