From 5a7d2f2e3d662c526a330164072b958d8a72b2df Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sun, 30 Jun 2024 10:42:11 +0200 Subject: [PATCH] warnings fixed well enough; added -Werror to Makefile --- lib/pclsync/Makefile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/pclsync/Makefile b/lib/pclsync/Makefile index 05a1aa5..4124893 100644 --- a/lib/pclsync/Makefile +++ b/lib/pclsync/Makefile @@ -4,19 +4,7 @@ RANLIB=ranlib #USESSL=openssl USESSL=mbed -#CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2 -#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 -#CFLAGS=-Wall -Wpointer-arith -Os -g -mtune=core2 -I../sqlite -pg -#CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite/ -fPIC -#CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2 -I../sqlite -pg -m32 -D_FILE_OFFSET_BITS=64 -#CFLAGS=-O2 -g -pg -#CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2 -I../../psync32/zlib -I../../psync32/sqlite -m32 -D_FILE_OFFSET_BITS=64 +CFLAGS=-Werror -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC LIB_A=psynclib.a UNAME_S := $(shell uname -s)