Skip to content

Commit fd884a0

Browse files
committed
Revert one of the warning skip removals from #1457
1 parent 57ea43d commit fd884a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/Findfmt.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if(MSVC AND VCPKG_DEVELOPMENT_WARNINGS AND NOT (CMAKE_CXX_COMPILER_ID MATCHES "A
2222
set(SKIP_WARNINGS ON)
2323
# fmt\base.h(451): warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>: Did you intend to use the bitwise-and (`&`) operator? If not, consider removing the redundant '<non-zero constant>' and the `&&` operator.
2424
string(APPEND CMAKE_CXX_FLAGS " /wd6239")
25+
# This one is guarded by an assert
26+
# fmt\format-inl.h(294): warning C6385: Reading invalid data from 'pow10_significands'.: Lines: 265, 267, 294
27+
string(APPEND CMAKE_CXX_FLAGS " /wd6385")
2528
# fmt\os.h(377): warning C6326: Potential comparison of a constant with another constant.
2629
string(APPEND CMAKE_CXX_FLAGS " /wd6326")
2730
endif()

0 commit comments

Comments
 (0)