commit 29f01e916eba5a2302f98bae29f8d734a9b5c4d3 parent e93ff5c78be3f9964494e9663b66957b92614e3e 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:
M | README | | | 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: