diff --git a/Makefile b/Makefile index af8cfb2..bc6afb4 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ src/engine.o: src/engine.c include/engine.h src/feedback.o src/queue.o src/commo # Compiling the OS helper for the library src/os.o: src/os.c include/os.h src/common.o src/input.o - $(CC) $(CFLAGS) src/os.c -c -o src/os.o + $(CC) $(CFLAGS) -Wno-error src/os.c -c -o src/os.o # Compiling the OS helper for the library src/llmp.o: src/llmp.c include/llmp.h diff --git a/src/os.c b/src/os.c index 8bbd41c..17a6798 100644 --- a/src/os.c +++ b/src/os.c @@ -258,6 +258,7 @@ static u8 bind_cpu(s32 cpuid) { #else + (void) cpuid; // this will need something for other platforms // TODO: Solaris/Illumos has processor_bind ... might worth a try WARNF("Cannot bind to CPU yet on this platform.");