aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-01-06 22:19:45 +0300
committerseyko <seyko2@gmail.com>2015-01-06 22:19:45 +0300
commitc334b591429509730e9925b53ea23645d49cd8ce (patch)
tree0ed35b75d6da33dfa3de1b424c0dfc9731eb6398 /libtcc.h
parentb93179f3c077977ff64053ee61c3bebbd1d5a940 (diff)
downloadtinycc-c334b591429509730e9925b53ea23645d49cd8ce.tar.gz
tinycc-c334b591429509730e9925b53ea23645d49cd8ce.tar.bz2
Warn about a conflicting compile options spectified on the command line.
Try "tcc -E -c tccasm.c -o tccasm.o"
Diffstat (limited to 'libtcc.h')
-rw-r--r--libtcc.h10
1 files changed, 5 insertions, 5 deletions
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);