Fixed "constant exceeds range of float [-Woverflow]" (issue #544)

This commit is contained in:
Benoit Blanchon
2017-07-09 15:24:58 +02:00
parent 788c9be016
commit abfd3997eb
8 changed files with 163 additions and 111 deletions

View File

@ -19,13 +19,14 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
-Wformat=2
-Winit-self
-Wmissing-include-dirs
-Wparentheses
-Wnon-virtual-dtor
-Wold-style-cast
-Woverloaded-virtual
-Wparentheses
-Wredundant-decls
-Wshadow
-Wsign-promo
-Wstrict-aliasing
-Wstrict-overflow=5
-Wundef
)