wireshark/caputils
Gerald Combs b05803db4b CMake: Add /WX
Add "/WX" to the Visual C++ compiler flags if DISABLE_WERROR is off,
similar to config.nmake.

We haven't compiled C++ code with -Wshorten-64-to-32 for quite 
some time so there's no need to add -Wno-shorten-64-to-32 in
ui/qt/CMakeLists.txt.

Additionally, squelch

----
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\algorithm(3050) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data (.\rpc_service_response_time_dialog.cpp)
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\algorithm(3065) : see reference to function template instantiation 'void std::_Median<_RanIt,bool(__cdecl *)(const QString &,const QString &)>(_RanIt,_RanIt,_RanIt,_Pr)' being compiled
        with
        [
            _RanIt=QList<QString>::iterator
,            _Pr=bool (__cdecl *)(const QString &,const QString &)
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\algorithm(3127) : see reference to function template instantiation 'std::pair<_RanIt,_RanIt> std::_Unguarded_partition<_RanIt,bool(__cdecl *)(const QString &,const QString &)>(_RanIt,_RanIt,_Pr)' being compiled
        with
        [
            _RanIt=QList<QString>::iterator
,            _Pr=bool (__cdecl *)(const QString &,const QString &)
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\algorithm(3157) : see reference to function template instantiation 'void std::_Sort<_Iter,int,bool(__cdecl *)(const QString &,const QString &)>(_RanIt,_RanIt,_Diff,_Pr)' being compiled
        with
        [
            _Iter=QList<QString>::iterator
,            _RanIt=QList<QString>::iterator
,            _Diff=int
,            _Pr=bool (__cdecl *)(const QString &,const QString &)
        ]
        .\rpc_service_response_time_dialog.cpp(130) : see reference to function template instantiation 'void std::sort<QList<QString>::iterator,bool(__cdecl *)(const QString &,const QString &)>(_RanIt,_RanIt,_Pr)' being compiled
        with
        [
            _RanIt=QList<QString>::iterator
,            _Pr=bool (__cdecl *)(const QString &,const QString &)
        ]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\algorithm(3051) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data (.\rpc_service_response_time_dialog.cpp)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\algorithm(3052) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data (.\rpc_service_response_time_dialog.cpp)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\algorithm(3053) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data (.\rpc_service_response_time_dialog.cpp)
----

in both rpc_service_response_time_dialog.cpp and wireshark_application.cpp
so that we'll compile successfully.

Change-Id: I457bcede99dcb1f3c1001f1f559c4901bb000357
Reviewed-on: https://code.wireshark.org/review/10533
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-16 21:32:22 +00:00
..
CMakeLists.txt CMake: Add /WX 2015-10-16 21:32:22 +00:00
Makefile.am Build libcaputils PIE, so it can be linked with dumpcap when it's built PIE. 2014-07-04 17:23:01 +00:00
Makefile.common Move the AirPcap stuff into caputils. 2014-08-01 00:30:03 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
airpcap.h Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
airpcap_loader.c Try to fix: warning C6244: Local declaration of 'airpcap_if_list' hides 2015-07-02 15:28:03 +00:00
airpcap_loader.h Try to fix: warning C6244: Local declaration of 'airpcap_if_list' hides 2015-07-02 15:28:03 +00:00
capture-pcap-util-int.h
capture-pcap-util-unix.c caputils/*.c: As needed: Add editor modelines & Fix indentation 2015-02-13 18:45:23 +00:00
capture-pcap-util.c Fix various memleaks 2015-10-04 15:45:02 +00:00
capture-pcap-util.h Oops, we also need to worry about pcap_get_tstamp_precision(). 2014-11-05 02:09:14 +00:00
capture-wpcap.c Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
capture-wpcap.h
capture_ifinfo.h Fix retrieval of data link type supported by remote interfaces with authentication 2015-07-22 07:10:10 +00:00
capture_win_ifnames.c caputils/*.c: As needed: Add editor modelines & Fix indentation 2015-02-13 18:45:23 +00:00
capture_win_ifnames.h
capture_wpcap_packet.c
capture_wpcap_packet.h
doxygen.cfg.in
iface_monitor.c libnl: disable pedantic warning of libnl lib 2015-02-19 16:15:53 +00:00
iface_monitor.h Allow the interface monitor routines to be called from C++. 2014-07-16 02:28:39 +00:00
ws80211_utils.c 80211 utils: free nl messages after use 2015-07-05 17:30:25 +00:00
ws80211_utils.h ws80211_utils.h: fix empty paragraph passed to '@param' command [-Wdocumentation] 2015-06-22 17:02:38 +00:00