mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-20 11:20:02 +00:00
Fix clang -Wfloat-equal warning
This commit is contained in:
1 parent
3c8935676a
commit
c9e8a68b00
5 files changed
+26
-6
No files matched your search
@@ -47,6 +47,7 @@ if (ENABLE_CUSTOM_COMPILER_FLAGS)
|
||||
-Wmissing-variable-declarations
|
||||
-Wused-but-marked-unused
|
||||
-Wswitch-enum
|
||||
-Wfloat-equal
|
||||
)
|
||||
elseif("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
||||
# Disable warning c4001 - nonstandard extension 'single line comment' was used
|
||||
|
||||
Reference in new issue
Block a user