|Subject:||Re: [Tinycc-devel] ANSI C refers to which standard , C89 or C99?|
|Date:||Tue, 18 Jun 2019 15:25:10 +0200|
I agree with you that it’s not clear. What I’ve learnt all these years is:
- Tcc supports as much as it can C99
- It supports “some” C11 feature by default or using –std=c11 if there is possible name collision with C99
- Tcc internal source code should not use C11 feature to allow boostrap form an older C standard.
For short, except what is missing (and what is missing is not documented), tcc is C99. From C99 if lacks for example complex numbers.
While I really love tcc which is now the main compiler I use to develop and test my different C projects, I wish it becomes more strict about its conforming implementation (by mean of –std=c99, -std=c11, …)
That said, I leave perfectly wo it :o))
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=address@hidden] On Behalf Of Paul Jiao
TinyCC claims it fully supports ANSI C, does it mean the first standard from ANSI for C language: ANSI X3 ? which was referred as C89 from wiki page: https://en.wikipedia.org/wiki/ANSI_C
I know TinyCC does not fully support ISO C99.
Please help clarify.
|[Prev in Thread]||Current Thread||[Next in Thread]|