From 283b95d8284d5a2a16b19f685884bbd1c717cd54 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 20 Dec 2024 14:31:59 -0500 Subject: [PATCH] Makefile.am : Set c++ std to c++20. Added some extra compiler warning flags. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 434bfe4..32c1c78 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,14 +17,14 @@ include_HEADERS= AM_CPPFLAGS = -I.. -I$(srcdir)/src/libcw AM_CFLAGS = -Wno-multichar -AM_CXXFLAGS = -Wno-multichar +AM_CXXFLAGS = -Wno-multichar -std=c++20 AM_LDFLAGS = # debug/release switches if DEBUG AM_CFLAGS += -g - AM_CXXFLAGS += -g -Wall -fsanitize=undefined + AM_CXXFLAGS += -g -Wall -Wextra -Wno-unused -fsanitize=undefined else AM_CFLAGS += -O3 AM_CXXFLAGS += -O3