'token_to_string' [-Wunused-function] on M1
I followed the instructions on the other thread regarding removing the offending code from /src/misc/log.h but that code doesn't appear to be there.
My error is
rm -rf ./bin mkdir -p ./bin clang src/manifest.m -std=c99 -Wall -DNDEBUG -O2 -fvisibility=hidden -mmacosx-version-min=10.13 -F/System/Library/PrivateFrameworks -framework Carbon -framework Cocoa -framework CoreServices -framework SkyLight -o bin/limelight In file included from src/manifest.m:48: src/message.c:43:14: warning: unused function 'token_to_string' [-Wunused-function] static char *token_to_string(struct token token) ^
Am I doing something wrong?
I was able to work around this by removing -Wall from the makefile. It builds and runs, anyway.
It also segv's pretty regularly. Enough to where it's mostly not usable for me.
This is just a warning and does not prevent the software from compiling successfully. Just ignore it.
You're right, I'm an idiot. Sorry about that.