Wireshark mailing list archives

Re: Compiling Wireshark for Win32


From: Guy Harris <guy () alum mit edu>
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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: