Suppress more PortAudio + Win64 compiler warnings.
authorGerald Combs <gerald@wireshark.org>
Thu, 15 Feb 2018 19:25:31 +0000 (11:25 -0800)
committerGerald Combs <gerald@wireshark.org>
Thu, 15 Feb 2018 23:31:32 +0000 (23:31 +0000)
Add C4311 and C4312 to the suppression list.

Change-Id: I90c85ee5cd3f7c3f235ed89b78d04f34bf0db449
Reviewed-on: https://code.wireshark.org/review/25810
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
ui/gtk/CMakeLists.txt

index c4d34b6a43a6db1b07bb1f7b02fbebf8812c4f91..cc6b01e89e132d4a46df5068efce169f82eac3b7 100644 (file)
@@ -173,7 +173,8 @@ if(PORTAUDIO_FOUND)
                        PUBLIC "/w44305"
                )
 
                        PUBLIC "/w44305"
                )
 
-               # Portaudio has some size_t > long warnings as a result of using strlen() on x64.
+               # Portaudio has some size_t > long warnings as a result of using strlen()
+               # and other warnings on x64.
                if ("${WIRESHARK_TARGET_PLATFORM}" STREQUAL "win64")
                        #set_source_files_properties(${PORTAUDIO_SRC_DIR}/hostapi/wmme/pa_win_wmme.c
                        #       PROPERTIES
                if ("${WIRESHARK_TARGET_PLATFORM}" STREQUAL "win64")
                        #set_source_files_properties(${PORTAUDIO_SRC_DIR}/hostapi/wmme/pa_win_wmme.c
                        #       PROPERTIES
@@ -181,6 +182,8 @@ if(PORTAUDIO_FOUND)
                        #)
                        target_compile_options(portaudio
                                PUBLIC "/w44267"
                        #)
                        target_compile_options(portaudio
                                PUBLIC "/w44267"
+                               PUBLIC "/w44311"
+                               PUBLIC "/w44312"
                        )
                endif()
        endif()
                        )
                endif()
        endif()