Wireshark-dev: Re: [Wireshark-dev] New Warnings on Windows builds? Related to defilter changes?

From: João Valverde <joao.valverde@xxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Oct 2021 08:06:14 +0100
It's related for sure, I will investigate, thanks.

On 05/10/21 07:15, Anders Broman via Wireshark-dev wrote:
Hi,

Recently these warnings started to show up

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(49,1): warning C4005: 'INT8_MIN': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(49,1): warning C4005: #define INT8_MIN         (-127i8 - 1) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(49,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(50,1): warning C4005: 'INT16_MIN': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(50,1): warning C4005: #define INT16_MIN        (-32767i16 - 1) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(50,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(51,1): warning C4005: 'INT32_MIN': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(51,1): warning C4005: #define INT32_MIN        (-2147483647i32 - 1) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(51,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(53,1): warning C4005: 'INT8_MAX': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(53,1): warning C4005: #define INT8_MAX         127i8 [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(53,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(54,1): warning C4005: 'INT16_MAX': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(54,1): warning C4005: #define INT16_MAX        32767i16 [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(54,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(55,1): warning C4005: 'INT32_MAX': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(55,1): warning C4005: #define INT32_MAX        2147483647i32 [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(55,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(57,1): warning C4005: 'UINT8_MAX': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(57,1): warning C4005: #define UINT8_MAX        0xffui8 [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(57,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(58,1): warning C4005: 'UINT16_MAX': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(58,1): warning C4005: #define UINT16_MAX       0xffffui16 [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(58,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(59,1): warning C4005: 'UINT32_MAX': macro redefinition [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(59,1): warning C4005: #define UINT32_MAX       0xffffffffui32 [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

       C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h(59,1): warning C4005: ^ (compiling source file C:\Development\wsbuild-gpl\epan\dfilter\scanner.c) [C:\Development\wsbuild-gpl\epan\dfilter\dfilter.vcxproj]

Regards

Anders


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe