From 642b6d0f50c6b6a842c9239a102fe34d5619e931 Mon Sep 17 00:00:00 2001 From: YX Hao Date: Thu, 19 Sep 2013 21:50:38 +0800 Subject: Add the possibility to use noname functions by ordinal tcc.c: process.h:177:20: note: expected 'char * const*' but argument is of type 'char const*const*' tccpe.c: Add the possibility to use noname functions by ordinal. use def file: "AliasName @n" build-tcc.bat: 1. Enable 32 bits mode on 64 bits OS. 2. build doc. _parseLibs.bat: Convenient to use "*.def + *.c" instead of *.a, just use -l* _tcc.bat: a practice of _parseLibs.bat Signed-off-by: YX Hao --- tcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.c') diff --git a/tcc.c b/tcc.c index b223d39..58f9007 100644 --- a/tcc.c +++ b/tcc.c @@ -79,7 +79,7 @@ static void help(void) #include static int execvp_win32(const char *prog, char **argv) { - int ret = spawnvp(P_NOWAIT, prog, (char const*const*)argv); + int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv); if (-1 == ret) return ret; cwait(&ret, ret, WAIT_CHILD); -- cgit v1.3.1