cc -Wall -Werror -g ot-recorder.c -o ot-recorder json.o geo.o geohash.o mkpath.o file.o safewrite.o base64.o ghash.o -lmosquitto -lcurl -lhiredis
ot-recorder.c: In function ‘on_message’:
ot-recorder.c:375:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘void * const’ [-Werror=format]
ot-recorder.c:424:5: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘void * const’ [-Werror=format]
cc1: all warnings being treated as errors