History

remove doubled prototype fix documentation about __TINYC__ define __STDC_HOSTED__ like __STDC__

Urs Janssen committed 13 years ago

Commit 0db7f611 parent 5d6cfe84 files · +4 −6Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t