]> The Tcpdump Group git mirrors - libpcap/commitdiff
Suppress another error from Microsoft's headers.
authorGuy Harris <[email protected]>
Tue, 20 Mar 2018 20:30:50 +0000 (13:30 -0700)
committerGuy Harris <[email protected]>
Tue, 20 Mar 2018 20:30:50 +0000 (13:30 -0700)
CMakeLists.txt

index a67abc35d4ed7235fa5835a02742301fabafe008..de985e093357f9975508fb389edca388b78535db 100644 (file)
@@ -1588,6 +1588,10 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.devel)
         #
         check_and_add_compiler_option(-wd4255)
         #
+        # Windows FD_SET() generates this, so we suppress it.
+        #
+        check_and_add_compiler_option(-wd4548)
+        #
         # Perhaps testing something #defined to be 0 with #ifdef is an
         # error, and it should be tested with #if, but perhaps it's
         # not, and Microsoft does that in its headers, so we squelch