commit ff4af4d2c1a4fcf5e3e13ed4c03578b4495b993f
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Wed Aug 10 08:40:16 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Wed Aug 10 08:40:16 2016 +0200

    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.

diff --git a/README b/README
index f65a08c..5012be1 100644
--- a/README
+++ b/README
@@ -63,3 +63,11 @@ This complexity is not needed at all as function pointers 
fix all these
 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.

Reply via email to