From ac5c3d5ed482673fbcce4e94c9a8c32b4d829eeb Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sat, 29 Jun 2024 14:04:29 +0200 Subject: [PATCH] fixed all warnings except unused params --- lib/pclsync/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/pclsync/Makefile b/lib/pclsync/Makefile index 4db2034..05a1aa5 100644 --- a/lib/pclsync/Makefile +++ b/lib/pclsync/Makefile @@ -5,8 +5,10 @@ RANLIB=ranlib USESSL=mbed #CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2 -#CFLAGS= -Wunused-value -Wunused-parameter -Wunused-local-typedefs -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -DP_ELECTRON -fPIC -CFLAGS=-Wuse-after-free -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -DP_ELECTRON -fPIC +#CFLAGS=-Wunused-parameter -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC + +# TODO: fix unused parameters +CFLAGS=-O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC #CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2 #CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2 -I../sqlite