simple C compiler
git clone git://
Log | Files | Refs | README | LICENSE

commit e1001b8ff07111263c19b7ecef718fd80d010e64
parent 9f46cf48eaf3a14f7983f343fc3f7dee47441876
Author: Roberto E. Vargas Caballero <>
Date:   Tue, 29 Aug 2017 11:34:09 +0100

[cc1] Change comment for void [] arrays

In the moment that this error is printed we don't know if
we are declaring a typename, a variable, a field or whatever.
This message is more general and can cause less confusion to
the user.

cc1/types.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/types.c b/cc1/types.c @@ -299,7 +299,7 @@ mktype(Type *tp, int op, TINT nelem, Type *pars[]) switch (op) { case ARY: if (tp == voidtype) { - errorp("declaration of symbol as array of voids"); + errorp("declaration of array of voids type"); tp = inttype; } type.letter = L_ARRAY;