cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 8c3315e5119452b48978abaf955deaabdfd015de
parent 608c11d269d2ee74ea64906e627b36d1a50d01c0
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 18 Feb 2019 23:03:07 -0800

void is an incomplete type

Diffstat:
Mtype.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/type.c b/type.c @@ -7,7 +7,7 @@ #include "backend.h" #include "type.h" -struct type typevoid = {.kind = TYPEVOID}; +struct type typevoid = {.kind = TYPEVOID, .incomplete = true}; struct type typechar = {.kind = TYPEBASIC, .size = 1, .align = 1, .repr = &i8, .basic = {.kind = BASICCHAR, .issigned = 1}}; struct type typeschar = {.kind = TYPEBASIC, .size = 1, .align = 1, .repr = &i8, .basic = {.kind = BASICCHAR, .issigned = 1}};