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>
This commit is contained in:
Gerald Combs 2018-02-15 11:25:31 -08:00
parent a5094050e4
commit 08754c3893
1 changed files with 4 additions and 1 deletions

View File

@ -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()