Wireshark-dev: [Wireshark-dev] Re: Windows Build Warnings

From: John Thacker <johnthacker@xxxxxxxxx>
Date: Fri, 22 May 2026 16:17:13 -0400
The CI jobs do have the warnings, but they go by quickly. It's in code only compiled by MSVC (not even by cross-compilers for Windows).

Those three were recently added. An underlying reason is that the Werror options are not applied in the extcap directory, which seems wrong.

The first warning from turning off warnings when compiling lemon is harmless, though with an annoying amount of effort it could be quieted.

John

On Fri, May 22, 2026 at 1:07 PM chuck c <bubbasnmp@xxxxxxxxx> wrote:

On Fri, May 22, 2026 at 11:58 AM Maynard, Chris via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx> wrote:
Anyone else seeing these warnings when compiling Wireshark on Windows?  I don’t see any of the CI jobs indicating these warnings, but maybe that’s because I’m running a newer version of the compiler, currently VS 2022 17.14.32 with MSVC 19.44.35227, whereas the CI jobs seem to be running MSVC 19.41.34123.0?
 
Build succeeded.
 
       "C:\Wireshark\builds\x64\master\Wireshark.sln" (default target) (1) ->
       "C:\Wireshark\builds\x64\master\wireshark.vcxproj.metaproj" (default target) (2) ->
       "C:\Wireshark\builds\x64\master\epan\epan.vcxproj.metaproj" (default target) (7) ->
       "C:\Wireshark\builds\x64\master\epan\dfilter\dfilter.vcxproj.metaproj" (default target) (10) ->
       "C:\Wireshark\builds\x64\master\tools\lemon\lemon.vcxproj.metaproj" (default target) (11) ->
       "C:\Wireshark\builds\x64\master\tools\lemon\lemon.vcxproj" (default target) (105) ->
       (ClCompile target) ->
         cl : command line  warning D9025: overriding '/W3' with '/w' [C:\Wireshark\builds\x64\master\tools\lemon\lemon.vcxproj]
 
 
       "C:\Wireshark\builds\x64\master\Wireshark.sln" (default target) (1) ->
       "C:\Wireshark\builds\x64\master\ALL_BUILD.vcxproj.metaproj" (default target) (31) ->
       "C:\Wireshark\builds\x64\master\extcap\etwdump.vcxproj.metaproj" (default target) (53) ->
       "C:\Wireshark\builds\x64\master\extcap\etwdump.vcxproj" (default target) (146) ->
         C:\Wireshark\src\master\extcap\etl.c(604,43): warning C4113: 'void (__cdecl *)(etw_frag *)' differs in parameter lists from 'GHFunc' [C:\Wireshark\builds\x64\master\extcap\etwdump.vcxproj]
         C:\Wireshark\src\master\extcap\etl.c(1189,44): warning C4133: 'function':incompatible types - from 'uint32_t *' to 'const guint8 *' [C:\Wireshark\builds\x64\master\extcap\etwdump.vcxproj]
         C:\Wireshark\src\master\extcap\etl.c(1371,77): warning C4133: 'function':incompatible types - from 'DWORD *' to 'PBYTE' [C:\Wireshark\builds\x64\master\extcap\etwdump.vcxproj]
 
    4 Warning(s)
    0 Error(s)
 
- Chris
 
 
 
 
 
CONFIDENTIALITY NOTICE: This message is the property of Brightstar Lottery and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.
_______________________________________________
Wireshark-dev mailing list -- wireshark-dev@xxxxxxxxxxxxx
To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx
_______________________________________________
Wireshark-dev mailing list -- wireshark-dev@xxxxxxxxxxxxx
To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx