Wireshark-commits: [Wireshark-commits] master dd19e15: Try to fix a Qt 5.5.0 + Visual Studio 2013 w
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 15 Oct 2015 19:24:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dd19e154843b9d4331e0e2f224dd6ee56c62ce4a
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

dd19e15 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Try to fix a Qt 5.5.0 + Visual Studio 2013 warning.
    
    Try to work around QTBUG-47948:
    
         1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xutility(
           2798): warning C4996: 'std::_Equal1': Function call with parameters that
            may be unsafe - this call relies on the caller to check that the passed
            values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNI
           NGS. See documentation on how to use Visual C++ 'Checked Iterators' [c:\
           Development\wireshark\cmbuild\ui\qt\qtui.vcxproj]
                     C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include
             \xutility(2783) : see declaration of 'std::_Equal1'
                     C:\Qt\5.5\msvc2013_64\include\QtCore/qvector.h(728) : see refe
             rence to function template instantiation 'bool std::equal<const T*,con
             st T*>(_InIt1,_InIt1,_InIt2)' being compiled
                     with
                     [
                         T=uint
             ,            _InIt1=const uint *
             ,            _InIt2=const uint *
                     ]
                     C:\Qt\5.5\msvc2013_64\include\QtCore/qvector.h(720) : while co
             mpiling class template member function 'bool QVector<uint>::operator =
             =(const QVector<uint> &) const'
                     C:\Development\wireshark\ui\qt\main_window_slots.cpp(314) : se
             e reference to function template instantiation 'bool QVector<uint>::op
             erator ==(const QVector<uint> &) const' being compiled
                     c:\development\wireshark\ui\qt\main_window.h(125) : see refere
             nce to class template instantiation 'QVector<uint>' being compiled
    
    Change-Id: Id6d4554c1b82370d175052e76c1104cd0db0462d
    Reviewed-on: https://code.wireshark.org/review/11051
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  6ea71d9   CMake: Don't feed -fPIC to Visual C++, second try.
    adds  dd19e15   Try to fix a Qt 5.5.0 + Visual Studio 2013 warning.


Summary of changes:
 ui/qt/main_window_slots.cpp |   10 ++++++++++
 1 file changed, 10 insertions(+)