Wireshark
Subject: [Wireshark-dev] Re: Windows build failure
The Qt deprecation warning is because of QCustomPlot which is 3rd party code-
we have disabled failing compilation on those warnings while waiting for a fix
there, but it's taken a while (
https://www.qcustomplot.com/index.php/support/
>
> C:\Wireshark\src\master\ui\qt\widgets\qcustomplot.cpp(6827,15):
> warning C
>
>4996: 'QDate::startOfDay': Pass QTimeZone instead
> [C:\Wireshark\builds\x64\
>
>master\ui\qt\qtui.vcxproj]
>
>
>
> 3 Warning(s)
>
> 0
c\master\ui\qt\widgets\qcustomplot.cpp(6827,15):
warning C
4996: 'QDate::startOfDay': Pass QTimeZone instead
[C:\Wireshark\builds\x64\
master\ui\qt\qtui.vcxproj]
3 Warning(s)
0 Error(s)
From: Maynard, Chris via Wireshark-dev
Sent: Monday, May 19, 2025 2:23 PM
To: Devel
ule;C:\Wireshark\src\master\ui\qt\CMakeLists.txt' exited
with
code -1073741819.
[C:\Wireshark\builds\x64\master\ui\qt\qtui_autogen.vcxpr
oj]
1 Warning(s)
1 Error(s)
- Chris
From: John Thacker
Sent: Friday, May 16, 2025 7:57 AM
To: Developer support list for Wireshark
S
I updated to the latest version of Visual Studio and saw the same warnings.
They should be fixed now.
On Thu, May 15, 2025, 12:34 PM John Thacker wrote:
> The following link does suggest that MSVC 17.14.0 had some changes around
> warning if enums weren't the same type:
>
>
> https://developerco
I can see why all of those are warnings, as there's some incorrect casts or
entries from the wrong enum (with the correct value, though) used. I
suppose the latest MSVC is warning but the earlier versions don't.
John
On Thu, May 15, 2025, 10:05 AM Maynard, Chris via Wireshark-dev <
wireshark-dev@
The following link does suggest that MSVC 17.14.0 had some changes around
warning if enums weren't the same type:
https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942
Though I think in our case we ought to be able to resolve it by fixing the
casts or usin