From 1443039416dd02750765efde1af35e31c8d41be3 Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 24 Sep 2017 18:57:48 +0200 Subject: 'long' review add some features for more complete 'long' support tcc.h: - use LONG_SIZE=4/8 instead of TCC_LONG_ARE_64_BIT tccgen.c: - add ptrdiff_type, update size_type - support shift and ?: operations - support long enum types - display 'long' from type_to_str - nwchar_t is unsigned short on windows - unrelated: use memcpy in init_putv for long doubles to avoid random bytes in the image (if tcc was compiled by gcc) for diff purposes. tccpp.c: - make parse_number return correct types - improve multi-character-constants 'XX' 'abcd' Changelog: - update --- win32/build-tcc.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/build-tcc.bat b/win32/build-tcc.bat index b234178..3c3a726 100644 --- a/win32/build-tcc.bat +++ b/win32/build-tcc.bat @@ -113,7 +113,7 @@ for %%f in (*tcc.exe *tcc.dll) do @del %%f :compiler %CC% -o libtcc.dll -shared ..\libtcc.c %D% -DLIBTCC_AS_DLL @if errorlevel 1 goto :the_end -%CC% -o tcc.exe ..\tcc.c libtcc.dll %D% -DONE_SOURCE=0 +%CC% -o tcc.exe ..\tcc.c libtcc.dll %D% -DONE_SOURCE"=0" %CC% -o %PX%-tcc.exe ..\tcc.c %DX% @if (%TCC_FILES%)==(no) goto :files-done -- cgit v1.3.1