forked from osmocom/wireshark
b05803db4b
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> |
||
---|---|---|
.. | ||
cppcheck | ||
dftestfiles | ||
dftestlib | ||
lemon | ||
npl | ||
pidl | ||
tpg | ||
.gitattributes | ||
Get-HardenFlags.ps1 | ||
Makefile.am | ||
Makefile.nmake | ||
SkinnyProtocolOptimized.xml | ||
WiresharkXML.py | ||
asn2deb | ||
asn2wrs.py | ||
build-qt-sdk.bat | ||
checkAPIs.pl | ||
checkfiltername.pl | ||
checkhf.pl | ||
checklicenses.py | ||
colorfilters2js.pl | ||
commit-msg | ||
compare-abis.sh | ||
compress-pngs.sh | ||
convert-proto-tree-new.awk | ||
convert_expert_add_info_format.pl | ||
convert_proto_tree_add_text.pl | ||
debian-setup.sh | ||
delete_includes.py | ||
dfilter-test.py | ||
extract_asn1_from_spec.pl | ||
fix-encoding-args.pl | ||
fix_pragma_wdocumentation.sh | ||
fixhf.pl | ||
ftsanity.py | ||
fuzz-test.sh | ||
gen-bugnote | ||
generate-bacnet-vendors.py | ||
git-compare-abis.sh | ||
git-export-release.sh | ||
html2text.py | ||
idl2deb | ||
idl2wrs | ||
indexcap.py | ||
install_rpms_for_devel.sh | ||
lex.py | ||
list_protos_in_cap.sh | ||
make-dissector-reg.py | ||
make-manuf | ||
make-services.pl | ||
make-services.py | ||
make-sminmpec.pl | ||
make-tap-reg.py | ||
make-usb.py | ||
make_charset_table.c | ||
msnchat | ||
native-nmake.cmd | ||
ncp2222.py | ||
netscreen2dump.py | ||
parse_xml2skinny_dissector.py | ||
pkt-from-core.py | ||
pre-commit | ||
process-x11-fields.pl | ||
process-x11-xcb.pl | ||
randpkt-test.sh | ||
rdps.py | ||
runa2x.sh | ||
runlex.sh | ||
setuid-root.pl.in | ||
test-captures.sh | ||
test-common.sh | ||
textify.ps1 | ||
update-tx | ||
usb-ptp-extract-models.pl | ||
usb-ptp-extract-models.txt | ||
valgrind-wireshark.sh | ||
vg-suppressions | ||
win-setup.ps1 | ||
win-setup.sh | ||
wireshark_be.py | ||
wireshark_gen.py | ||
ws-coding-style.cfg | ||
yacc.py |