wireshark/tools
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
..
cppcheck Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
dftestfiles Rename PCAP files to .pcap; set mime-type appropriately. Should these files be in the test/captures directory? 2013-09-18 14:23:14 +00:00
dftestlib dfilter-test.py: add OOT support and Python 3 compat 2015-03-25 07:15:36 +00:00
lemon CMake: Add /WX 2015-10-16 21:32:22 +00:00
npl Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
pidl Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
tpg Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
.gitattributes Add simple script to export release tarball right from Git 2014-06-19 00:35:02 +00:00
Get-HardenFlags.ps1 CMake: Add a hardening-check target. 2015-09-25 20:04:42 +00:00
Makefile.am Add missing CMake files to the tarball. 2015-10-15 21:07:40 +00:00
Makefile.nmake Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
SkinnyProtocolOptimized.xml dissector-skinny: Update skinny dissector to fix ServerRes Message 2015-09-13 19:24:00 +00:00
WiresharkXML.py
asn2deb Merge asn2deb and idl2deb from official Debian package 2013-03-06 13:31:08 +00:00
asn2wrs.py tools/asn2wrs.py: fix isdn-sup generation with Py3 2015-06-29 22:46:58 +00:00
build-qt-sdk.bat Confirm the license as well. 2013-10-24 17:24:07 +00:00
checkAPIs.pl Remove proto_tree_add_text API. 2015-09-21 14:11:43 +00:00
checkfiltername.pl Remove proto_tree_add_text from some dissectors. 2015-05-26 15:20:46 +00:00
checkhf.pl Replace HF_EMPTY and ETT_EMPTY with -1 2015-03-25 01:05:02 +00:00
checklicenses.py Always use html2text.py for FAQ, improve output 2015-03-25 07:08:52 +00:00
colorfilters2js.pl Add license header to colorfilters2js.pl as per email from Dirk. 2013-09-13 23:02:39 +00:00
commit-msg Add commit-msg hook to tools to spare searching for it 2014-04-08 17:23:14 +00:00
compare-abis.sh Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
compress-pngs.sh WSUG and image updates. 2015-02-14 19:47:03 +00:00
convert-proto-tree-new.awk Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
convert_expert_add_info_format.pl Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
convert_proto_tree_add_text.pl tvb_bytes_to_ep_str -> tvb_bytes_to_str 2015-01-07 18:16:23 +00:00
debian-setup.sh Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
delete_includes.py delete_includes.py: Python 3 compatibility 2015-03-22 16:33:47 +00:00
dfilter-test.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
extract_asn1_from_spec.pl LTE RRC: upgrade dissector to v12.5.0 2015-03-31 21:40:10 +00:00
fix-encoding-args.pl Add proto_tree_add_bitmask_with_flags. 2014-12-08 01:13:02 +00:00
fix_pragma_wdocumentation.sh Add tools for fix -Wdocumentation 2014-11-11 17:31:43 +00:00
fixhf.pl Update my email address in a couple more spots. 2014-06-25 02:15:55 +00:00
ftsanity.py ftsanity.py: make it work with modern tshark 2015-03-24 05:13:46 +00:00
fuzz-test.sh fuzz-test.sh: added missing option in help. 2015-08-13 11:24:08 +00:00
gen-bugnote "tools" updates. 2014-02-25 00:00:54 +00:00
generate-bacnet-vendors.py [tools] Add missing GPL license to generate-bacnet-vendors.py 2014-10-08 10:52:38 +00:00
git-compare-abis.sh Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
git-export-release.sh Generate xz compressed archives instead of .bz2-s 2014-06-19 00:35:56 +00:00
html2text.py html2text.py: Python 2.5 compatibility, improve Unicode support 2015-03-26 07:14:20 +00:00
idl2deb Merge asn2deb and idl2deb from official Debian package 2013-03-06 13:31:08 +00:00
idl2wrs Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
indexcap.py indexcap.py: fix tmpdir handling, python 3 compat 2015-03-25 07:09:41 +00:00
install_rpms_for_devel.sh Install GTK3 too. 2015-08-17 20:53:58 +00:00
lex.py Ply parser updated to 3.5 (from GitHub github.com/dabeaz/ply) 2013-12-04 14:45:32 +00:00
list_protos_in_cap.sh indexcap.py: fix tmpdir handling, python 3 compat 2015-03-25 07:09:41 +00:00
make-dissector-reg.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
make-manuf Add OUI-28 to make-manuf. 2015-10-16 18:43:20 +00:00
make-services.pl Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
make-services.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
make-sminmpec.pl Be less aggressive about rebuilding sminmpec.c. 2014-05-09 09:03:24 +00:00
make-tap-reg.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
make-usb.py Fixup make-usb.py 2015-07-19 20:24:08 +00:00
make_charset_table.c Use %zu, not %zd, to print a size_t value (%zd would be for ssize_t). 2015-06-06 19:20:19 +00:00
msnchat
native-nmake.cmd
ncp2222.py NCP2222: change ncp.nds_return_all_classes filter type from FT_STRING to FT_UINT32 2015-09-29 21:48:42 +00:00
netscreen2dump.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
parse_xml2skinny_dissector.py dissector-skinny: Update skinny dissector to fix ServerRes Message 2015-09-13 19:24:00 +00:00
pkt-from-core.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
pre-commit tools/pre-commit: compare files instead of mtime 2015-09-08 11:01:18 +00:00
process-x11-fields.pl Add a comment to each of these scripts to say that 2014-12-19 03:51:12 +00:00
process-x11-xcb.pl Fix some cases where we're shifting a signed 1 left. 2015-05-01 02:55:29 +00:00
randpkt-test.sh tools: permit setting BIN_DIR in the environment 2015-06-26 06:52:58 +00:00
rdps.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
runa2x.sh Fix Cygwin path 2015-01-12 12:40:04 +00:00
runlex.sh Fix the flex wrapper to ensure Cygwin /bin is on the path for Windows. 2014-07-08 13:14:42 +00:00
setuid-root.pl.in Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
test-captures.sh tools: permit setting BIN_DIR in the environment 2015-06-26 06:52:58 +00:00
test-common.sh tools: permit setting BIN_DIR in the environment 2015-06-26 06:52:58 +00:00
textify.ps1 Modified script to not use PS 3.0 constructs 2014-08-20 06:24:44 +00:00
update-tx Don't commit translation updates for now. 2015-04-05 15:56:30 +00:00
usb-ptp-extract-models.pl Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
usb-ptp-extract-models.txt From Max Baker via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8431 2013-04-12 15:50:55 +00:00
valgrind-wireshark.sh Update valgrind script for the UI 2015-06-26 21:17:39 +00:00
vg-suppressions Add ws_mempbrk_sse42_compile to Valgrind suppression list 2015-02-15 18:46:54 +00:00
win-setup.ps1 Add USBPcap 1.1.0.0-g794bf26 to Windows installer 2015-10-08 04:18:39 +00:00
win-setup.sh Pass HTTP URLs to wget. 2015-04-09 19:56:19 +00:00
wireshark_be.py Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
wireshark_gen.py idl2wrs: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang 2015-09-28 20:11:05 +00:00
ws-coding-style.cfg Remove $Id$ and other Subversion leftovers from the tools. 2014-02-14 01:35:57 +00:00
yacc.py Ply parser updated to 3.5 (from GitHub github.com/dabeaz/ply) 2013-12-04 14:45:32 +00:00