Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Compiling Wireshark for Win32

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 10 Aug 2011 10:00:10 -0700
On Aug 10, 2011, at 9:18 AM, news.gmane.com wrote:

> I am a bit surprised about a problem with compiling Wireshark 1.6.0 with 
> Visual Studio 2005 for Win32. Some dissectors have assignments from 64 to 32 
> bit, what will issue a warning C4244 by the compiler. Since the -WX 
> parameter is passed to the compiler, the compilation fails. The warning 
> level /W3 will not suppress the warning C4244 but /W2 would do.

	...

> Why did this pass the compilation at wireshark.org?

The wireshark.org buildbot is running "Microsoft Visual Studio 9.0"; I'm not sure how that translates to Microsoft's year-based version scheme, but perhaps it's a different version of VS than VS 2005, and perhaps that version doesn't catch that if run with -WX and /W3.