fixed all warnings except unused params

This commit is contained in:
Levi Neely 2024-06-29 14:04:29 +02:00
parent 63ee0e8264
commit ac5c3d5ed4
1 changed files with 4 additions and 2 deletions

View File

@ -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