ref: 14fcfac5df605f4349cfe6be78ca1cb9c5d6fabe
parent: e7be295f1130d29aee631c6c1d0c5243a87cab21
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Aug 10 04:40:16 EDT 2016
Add comment about incomplete types in README This is a small desviation over the correct behaviour expected for a compliant C89/90/11 compiler, so we have to document it in the README file.
--- a/README
+++ b/README
@@ -63,3 +63,11 @@
problems without this complexity (and they are the more usual
way of writing such code).
+- Definition of variables with incomplete type
+ ---------------------------------------------
+
+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 find in the file. The exact
+rules are a bit complex (3.7.2), and SCC ignores them at this moment
+and it does not allow any definition of variables with incomplete type.