Skip to content

Commit

Permalink
Disable GCC's "unused-result" warnings (plasma-umass#776)
Browse files Browse the repository at this point in the history
Co-authored-by: sarahec <[email protected]>
  • Loading branch information
sarahec and sarahec authored Feb 18, 2024
1 parent 9b456c9 commit 5bc2da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bc2da3

Please sign in to comment.