shithub: scc

Download patch

ref: 264f6b0566d13ec568f36fe40865edb65f0db9f8
parent: d48fb010d5772ec6a3c9620a5c763f6d3e36de84
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Jan 8 07:49:23 EST 2016

Add TODO in types about portability

The size of pointers is hardcoded in types.c

--- a/cc1/types.c
+++ b/cc1/types.c
@@ -79,6 +79,10 @@
  * 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,