ok juanfra@ GNU Cim is a compiler for the programming language Simula (except unspecified parameters to formal or virtual procedures). It offers a class concept, separate compilation with full type checking, interface to external C routines, an application package for process simulation and a coroutine concept. The compiler and run-time system are written in C, and the compiler produces C code that is passed to a C compiler for further processing towards machine code.
17 lines
587 B
Plaintext
17 lines
587 B
Plaintext
$OpenBSD: patch-src_expchecker_c,v 1.1.1.1 2017/12/09 00:21:17 bcallah Exp $
|
|
|
|
Clang doesn't like when non-void functions use return; by itself.
|
|
|
|
Index: src/expchecker.c
|
|
--- src/expchecker.c.orig
|
|
+++ src/expchecker.c
|
|
@@ -230,7 +230,7 @@ static void sametype (exp_t **rel, exp_t **rer)
|
|
/******************************************************************************
|
|
ARGUMENTERROR */
|
|
|
|
-static argumenterror (int melding, exp_t *re)
|
|
+static void argumenterror (int melding, exp_t *re)
|
|
{
|
|
int i = 1;
|
|
if (TYPE == TERROR)
|