Unified · Split
| @@ -132,7 +132,7 @@ static void help(void) · 131 unmodified lines | ||
| 132 | 132 | #include <process.h> |
| 133 | 133 | static int execvp_win32(const char *prog, char **argv) |
| 134 | 134 | { |
| 135 | − int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv); | |
| 135 | + int ret = spawnvp(P_NOWAIT, prog, (const char *const*)argv); | |
| 136 | 136 | if (-1 == ret) |
| 137 | 137 | return ret; |
| 138 | 138 | cwait(&ret, ret, WAIT_CHILD); |
| @@ -10,14 +10,14 @@ echo>..\config.h #define TCC_VERSION "%VERSION%" · 9 unmodified lines | ||
| 10 | 10 | @if _%1_==_x64_ shift /1 && goto x86_64 |
| 11 | 11 | |
| 12 | 12 | @set target=-DTCC_TARGET_PE -DTCC_TARGET_I386 |
| 13 | −@set CC=gcc -Os -s -fno-strict-aliasing | |
| 13 | +@set CC=gcc -Os -s -fno-strict-aliasing -Wno-incompatible-pointer-types | |
| 14 | 14 | @if _%1_==_debug_ set CC=gcc -g -ggdb |
| 15 | 15 | @set P=32 |
| 16 | 16 | @goto tools |
| 17 | 17 | |
| 18 | 18 | :x86_64 |
| 19 | 19 | @set target=-DTCC_TARGET_PE -DTCC_TARGET_X86_64 |
| 20 | −@set CC=x86_64-w64-mingw32-gcc -Os -s -fno-strict-aliasing | |
| 20 | +@set CC=x86_64-w64-mingw32-gcc -Os -s -fno-strict-aliasing -Wno-incompatible-pointer-types | |
| 21 | 21 | @if _%1_==_debug_ set CC=x86_64-w64-mingw32-gcc -g -ggdb |
| 22 | 22 | @set P=64 |
| 23 | 23 | @goto tools |