Unified · Split
| @@ -374,7 +374,7 @@ fi · 373 unmodified lines | ||
| 374 | 374 | |
| 375 | 375 | # a final configuration tuning |
| 376 | 376 | $cc -v --help > cc_help.txt 2>&1 |
| 377 | −W_OPTIONS="declaration-after-statement" | |
| 377 | +W_OPTIONS="declaration-after-statement undef strict-prototypes write-strings" | |
| 378 | 378 | for i in $W_OPTIONS; do |
| 379 | 379 | O_PRESENT="$(grep -- -W$i cc_help.txt)" |
| 380 | 380 | if test -n "$O_PRESENT"; then CFLAGS="$CFLAGS -W$i"; fi |
| @@ -101,7 +101,7 @@ ST_FUNC int tcc_tool_ar(TCCState *s1, int argc, char **argv) · 100 unmodified lines | ||
| 101 | 101 | char tfile[260], stmp[20]; |
| 102 | 102 | char *file, *name; |
| 103 | 103 | int ret = 2; |
| 104 | − char *ops_conflict = "habdioptxN"; // unsupported but destructive if ignored. | |
| 104 | + const char *ops_conflict = "habdioptxN"; // unsupported but destructive if ignored. | |
| 105 | 105 | int verbose = 0; |
| 106 | 106 | |
| 107 | 107 | i_lib = 0; i_obj = 0; // will hold the index of the lib and first obj |