summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd9edaa)
raw | patch | inline | side by side (parent: dd9edaa)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Wed, 22 Mar 2017 18:37:09 +0000 (21:37 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Wed, 22 Mar 2017 18:37:09 +0000 (21:37 +0300) |
mpc/Makefile | patch | blob | history | |
mpc/parser/parser.c | patch | blob | history | |
mpc/util/memory.h | patch | blob | history |
diff --git a/mpc/Makefile b/mpc/Makefile
index e12def34f2d70f81765462a11181323123990e66..ef353bc310a08c4df0351f624862c667a5cb4711 100644 (file)
--- a/mpc/Makefile
+++ b/mpc/Makefile
-CC = gcc
+CC = clang
CFLAGS = -g -DLINUX -DUNIX -DNDEBUG -D_CONSOLE
LDFLAGS = -lm
OUTPUT = mp3CC
CFLAGS = -g -DLINUX -DUNIX -DNDEBUG -D_CONSOLE
LDFLAGS = -lm
OUTPUT = mp3CC
diff --git a/mpc/parser/parser.c b/mpc/parser/parser.c
index a2acec53a29458d3df6aa63044704f5a20eb847a..12efd6cce671387385a756146787a9f991604e9c 100644 (file)
--- a/mpc/parser/parser.c
+++ b/mpc/parser/parser.c
@@ -6392,7 +6392,7 @@ void create_variable_bytecode(identifier *item, bytecode *code, char *name, int
else
{
add_error_message(444, "", "");
else
{
add_error_message(444, "", "");
- return 0;
+ return;
}
switch (item_type->type_class)
}
switch (item_type->type_class)
diff --git a/mpc/util/memory.h b/mpc/util/memory.h
index 5e7552f9c7c968c7d172dcdd6ec931ebc4d1347b..b39982bb0a8951b2252ee2c008b3ae85fe42a879 100644 (file)
--- a/mpc/util/memory.h
+++ b/mpc/util/memory.h
********************************************************************/
********************************************************************/
+#include <stddef.h>
+
struct memory_object_struct
{
struct memory_object_struct *next;
struct memory_object_struct
{
struct memory_object_struct *next;