diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-02-15 11:25:31 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-02-15 23:31:32 +0000 |
commit | 08754c3893befe1bc2377b8b30abef00aa5e52d0 (patch) | |
tree | bbc1c7026e1a4213ef31e5dea320924a71cfe342 /ui | |
parent | a5094050e4f024a17f3abaab1c406fcf18244155 (diff) |
Suppress more PortAudio + Win64 compiler warnings.
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>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/gtk/CMakeLists.txt b/ui/gtk/CMakeLists.txt index c4d34b6a43..cc6b01e89e 100644 --- a/ui/gtk/CMakeLists.txt +++ b/ui/gtk/CMakeLists.txt @@ -173,7 +173,8 @@ if(PORTAUDIO_FOUND) 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 @@ -181,6 +182,8 @@ if(PORTAUDIO_FOUND) #) target_compile_options(portaudio PUBLIC "/w44267" + PUBLIC "/w44311" + PUBLIC "/w44312" ) endif() endif() |