Unified · Split
| @@ -9,7 +9,6 @@ Bugs: · 8 unmodified lines | ||
| 9 | 9 | - constructors |
| 10 | 10 | - cast bug (Peter Wang) |
| 11 | 11 | - define incomplete type if defined several times (Peter Wang). |
| 12 | −- configure --cc=tcc (still one bug in libtcc1.c) | |
| 13 | 12 | - test binutils/gcc compile |
| 14 | 13 | - tci patch + argument. |
| 15 | 14 | - see -lxxx bug (Michael Charity). |
| @@ -571,7 +571,8 @@ static void error1(TCCState *s1, int is_warning, const char *fmt, va_list ap) · 570 unmodified lines | ||
| 571 | 571 | |
| 572 | 572 | buf[0] = '\0'; |
| 573 | 573 | /* use upper file if inline ":asm:" or token ":paste:" */ |
| 574 | − for (f = file; f && f->filename[0] == ':'; f = f->prev); | |
| 574 | + for (f = file; f && f->filename[0] == ':'; f = f->prev) | |
| 575 | + ; | |
| 575 | 576 | if (f) { |
| 576 | 577 | for(pf = s1->include_stack; pf < s1->include_stack_ptr; pf++) |
| 577 | 578 | strcat_printf(buf, sizeof(buf), "In file included from %s:%d:\n", |
| @@ -924,7 +925,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 346 unmodified lines | ||
| 924 | 925 | /* standard defines */ |
| 925 | 926 | tcc_define_symbol(s, "__STDC__", NULL); |
| 926 | 927 | tcc_define_symbol(s, "__STDC_VERSION__", "199901L"); |
| 927 | − tcc_define_symbol(s, "__STDC_HOSTED__", "1"); | |
| 928 | + tcc_define_symbol(s, "__STDC_HOSTED__", NULL); | |
| 928 | 929 | |
| 929 | 930 | /* target defines */ |
| 930 | 931 | #if defined(TCC_TARGET_I386) |
| @@ -597,8 +597,7 @@ are supported. · 596 unmodified lines | ||
| 597 | 597 | |
| 598 | 598 | @itemize |
| 599 | 599 | |
| 600 | −@item @code{__TINYC__} is a predefined macro to @code{1} to | |
| 601 | −indicate that you use TCC. | |
| 600 | +@item @code{__TINYC__} is a predefined macro to indicate that you use TCC. | |
| 602 | 601 | |
| 603 | 602 | @item @code{#!} at the start of a line is ignored to allow scripting. |
| 604 | 603 | |
| @@ -78,7 +78,6 @@ struct macro_level { · 77 unmodified lines | ||
| 78 | 78 | const int *p; |
| 79 | 79 | }; |
| 80 | 80 | |
| 81 | −ST_FUNC void next_nomacro(void); | |
| 82 | 81 | static void next_nomacro_spc(void); |
| 83 | 82 | static void macro_subst( |
| 84 | 83 | TokenString *tok_str, |