From 1281fdaaf0a82738eaaa9b91fa2e416040c21d24 Mon Sep 17 00:00:00 2001 From: dongresource Date: Sun, 23 Aug 2020 18:30:23 +0200 Subject: [PATCH] Add -Wall to Makefile. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8566ed9..58a3b8b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CXX=clang++ # -w suppresses all warnings (the part that's commented out helps me find memory leaks, it ruins performance though!) -CXXFLAGS=-std=c++17 -O3 -DPROTOCOL_VERSION=$(PROTOCOL_VERSION) #-g3 -fsanitize=address +CXXFLAGS=-Wall -std=c++17 -O3 -DPROTOCOL_VERSION=$(PROTOCOL_VERSION) #-g3 -fsanitize=address LDFLAGS=-lpthread # specifies the name of our exectuable SERVER=bin/fusion @@ -11,7 +11,7 @@ PROTOCOL_VERSION?=104 # Windows-specific WIN_CXX=x86_64-w64-mingw32-g++ -WIN_CXXFLAGS=-std=c++17 -O3 -DPROTOCOL_VERSION=$(PROTOCOL_VERSION) #-g3 -fsanitize=address +WIN_CXXFLAGS=-Wall -std=c++17 -O3 -DPROTOCOL_VERSION=$(PROTOCOL_VERSION) #-g3 -fsanitize=address WIN_LDFLAGS=-static -lws2_32 -lwsock32 WIN_SERVER=bin/winfusion.exe