shithub: scc

Download patch

ref: 11c86352844f5300d504753a5e0019e24a8a0eec
parent: 6a436d0cc010b4e281d3fb5c0adcffca6175f536
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Jan 8 12:42:06 EST 2016

Disallow casting from void

This cast is not allowed

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -255,7 +255,6 @@
 		case INT:
 		case FLOAT:
 		case ENUM:
-		case VOID:
 			break;
 		default:
 			return NULL;