scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 264f6b0566d13ec568f36fe40865edb65f0db9f8
parent d48fb010d5772ec6a3c9620a5c763f6d3e36de84
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri,  8 Jan 2016 12:49:23 +0100

Add TODO in types about portability

The size of pointers is hardcoded in types.c

Diffstat:
cc1/types.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/cc1/types.c b/cc1/types.c @@ -79,6 +79,10 @@ static struct limits limits[][4] = { * syntax, so I have switched it to this ugly form * I hope I will change it again in the future */ +/* + * TODO: There are fields here that depends of the + * architecture + */ static Type types[] = { { /* 0 = voidtype */ .op = VOID,