shithub: scc

Download patch

ref: 8797e25efdcf8ae086bd1f0d3b06f7f0d7e8cb77
parent: de0eaa156f9c775d23b63c5caf73ef9d54782bd6
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu May 28 07:42:31 EDT 2015

Do not return from usererr

The standard says that the compilation process must stop after
an #error directive.

--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -525,6 +525,7 @@
 	if (cppoff)
 		return;
 	printerr("#error %s", s);
+	exit(-1);
 }
 
 static void