Fix clang -Wfloat-equal warning

This commit is contained in:
Paweł Malowany
2019-06-10 10:59:31 +02:00
parent 3c8935676a
commit c9e8a68b00
5 changed files with 26 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ else
CFLAGS += -fstack-protector
endif
R_CFLAGS = -fPIC -std=c89 -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings -Wshadow -Winit-self -Wcast-align -Wformat=2 -Wmissing-prototypes -Wstrict-overflow=2 -Wcast-qual -Wc++-compat -Wundef -Wswitch-default -Wconversion $(CFLAGS)
R_CFLAGS = -fPIC -std=c89 -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings -Wshadow -Winit-self -Wcast-align -Wformat=2 -Wmissing-prototypes -Wstrict-overflow=2 -Wcast-qual -Wc++-compat -Wundef -Wswitch-default -Wconversion -Wfloat-equal $(CFLAGS)
uname := $(shell sh -c 'uname -s 2>/dev/null || echo false')