Skip to content

Commit

Permalink
Disable NAN and INF optimisations, as NANs are used in some code
Browse files Browse the repository at this point in the history
  • Loading branch information
srcejon committed Jun 6, 2022
1 parent 76ed92c commit 9052694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/CompilerOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if(WIN32)
endif()

if(NOT MSVC)
add_compile_options(-Wall -Wextra -Wvla -Woverloaded-virtual -ffast-math -ftree-vectorize)
add_compile_options(-Wall -Wextra -Wvla -Woverloaded-virtual -ffast-math -fno-finite-math-only -ftree-vectorize)
endif()

if (SANITIZE_ADDRESS)
Expand Down

0 comments on commit 9052694

Please sign in to comment.