Skip to content

Commit

Permalink
build: ignore implicit-fallthrough warning @ build
Browse files Browse the repository at this point in the history
The implicit fallthrough on murmur3 hash function's switch/case
is a wanted behavior, so we better ignore this warning as
it might be confising for users building the project.
Fixes #16
  • Loading branch information
nil0x42 committed Sep 8, 2020
1 parent a316b04 commit 2a433e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ level = 1
CFLAGS = -Iinclude -Wall -Wextra \
-Wdisabled-optimization -Winline \
-Wdouble-promotion -Wunknown-pragmas \
-mtune=native -ffast-math
-mtune=native -ffast-math \
-Wno-implicit-fallthrough
LDFLAGS = -lm -pthread
RELEASEFLAGS = -O2 -D NDEBUG
DEBUGFLAGS = -O0 -D DEBUG=$(level) -std=gnu99 -g3
Expand Down

0 comments on commit 2a433e8

Please sign in to comment.