Skip to content

Commit 358b7a9

Browse files
committed
deps: ntlmclient: disable implicit fallthrough warnings
The ntlmclient dependency has quite a lot of places with implicit fallthroughs. As at least modern GCC has enabled warnings on implicit fallthroughs by default, the developer is greeted with a wall of warnings when compiling that dependency. Disable implicit fallthrough warnings for ntlmclient to fix this issue.
1 parent a5ddae6 commit 358b7a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/ntlmclient/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FILE(GLOB SRC_NTLMCLIENT "ntlm.c" "unicode_builtin.c" "util.c")
22

33
ADD_DEFINITIONS(-DNTLM_STATIC=1)
44

5+
DISABLE_WARNINGS(implicit-fallthrough)
6+
57
IF (HTTPS_BACKEND STREQUAL "SecureTransport")
68
ADD_DEFINITIONS(-DCRYPT_COMMONCRYPTO)
79
SET(SRC_NTLMCLIENT_CRYPTO "crypt_commoncrypto.c")

0 commit comments

Comments
 (0)