From 5bc2da3207479b64388060cf090a27e53895fcd6 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 18 Feb 2024 15:50:29 -0800 Subject: [PATCH] Disable GCC's "unused-result" warnings (#776) Co-authored-by: sarahec --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index a716fdd29..f45c1d6f4 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -7,7 +7,7 @@ C_SOURCES = src/source/*.cpp src/include/*.h* .PHONY: black clang-format prettier format upload vendor-deps # CXXFLAGS = -std=c++14 -g -O0 # FIXME -CXXFLAGS = -std=c++14 -Wall -g -O3 -DNDEBUG -D_REENTRANT=1 -DHL_USE_XXREALLOC=1 -pipe -fno-builtin-malloc -fvisibility=hidden +CXXFLAGS = -std=c++14 -Wall -g -O3 -DNDEBUG -D_REENTRANT=1 -DHL_USE_XXREALLOC=1 -pipe -fno-builtin-malloc -fvisibility=hidden -Wno-unused-result # CXX = g++ INCLUDES = -Isrc -Isrc/include