scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 16b6d7eff6ed79f63a7024868651f5652f2b4960
parent 59dde871c2899f620c5a56e89b5940b863648210
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 31 Mar 2022 08:10:15 +0200

doc: Add ISO C99 reference in the README

There was a case where we had a reference to the ANSI standard
and since it is more common to reference the ISO document I
added it here.

Diffstat:
MREADME | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/README b/README @@ -151,10 +151,11 @@ way of writing such code). --------------------------------------------- C89 allows the definition of variables with incomplete type that -have external linkage and file scope. The type of the variable -is the composition of all the definitions found in the file. The exact -rules are a bit complex (3.7.2) so SCC ignores them at this moment -by simply not allowing any definition of variables with incomplete type. +have external linkage and file scope. The type of the variable is the +composition of all the definitions found in the file. The exact rules +are a bit complex (ANSI 3.7.2, or ISO C99 6.2.5p22) so SCC ignores them +at this moment by simply not allowing any definition of variables with +incomplete type. If you don't believe me try this code: