Wireshark-bugs: [Wireshark-bugs] [Bug 6635] New: Wireshark doesn't compile due to a warning bein
Date: Wed, 30 Nov 2011 12:02:45 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6635

           Summary: Wireshark doesn't compile due to a warning being
                    treated as an error.
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Blocker
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: christopher.maynard@xxxxxxxxx


Build Information:
SVN 40052 on Windows 7 x86-64.

--
Wireshark doesn't compile due to a warning being treated as an error.  Here's
the relevant output:

        cl  -WX -DHAVE_CONFIG_H -D_U_="" /Zi /W3 /MD /DWIN32_LEAN_AND_MEAN
/DMSC
_VER_REQUIRED=1600  /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /MP
/
GS /w34295  /I. /I.. /I../.. /IC:\wireshark-win64-libs\gtk2\include\glib-2.0 
/I
C:\wireshark-win64-libs\gtk2\lib\glib-2.0\include  -DG_DISABLE_DEPRECATED 
/IC:\
wireshark-win64-libs\zlib125\include 
/IC:\wireshark-win64-libs\gnutls-2.10.3-1.
7-win64ws\include /DNOCRYPT /DIMPORT_LIGNUTLSDLL    
/IC:\wireshark-win64-libs\G
eoIP-1.4.6-win64ws\libGeoIP  /IC:\wireshark-win64-libs\WPdpack\include -Fd.\ -c
packet-dcerpc-netlogon.c packet-kerberos.c packet-ntlmssp.c packet-spnego.c
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

packet-dcerpc-netlogon.c
packet-kerberos.c
packet-ntlmssp.c
packet-spnego.c
../../asn1/spnego/packet-spnego-template.c(439) : error C2220: warning treated
a
s error - no 'object' file generated
../../asn1/spnego/packet-spnego-template.c(439) : warning C4267: '=' :
conversio
n from 'size_t' to 'int', possible loss of data
../../asn1/spnego/packet-spnego-template.c(526) : warning C4267: 'function' :
co
nversion from 'size_t' to 'int', possible loss of data
../../asn1/spnego/packet-spnego-template.c(537) : warning C4267: 'function' :
co
nversion from 'size_t' to 'int', possible loss of data
../../asn1/spnego/packet-spnego-template.c(563) : warning C4267: 'return' :
conv
ersion from 'size_t' to 'int', possible loss of data
packet-ntlmssp.c(499) : error C2220: warning treated as error - no 'object'
file
 generated
packet-ntlmssp.c(499) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
packet-kerberos.c(437) : fatal error C1083: Cannot open include file: 'krb5.h':
No such file or directory
packet-dcerpc-netlogon.c(6851) : error C2220: warning treated as error - no
'obj
ect' file generated
packet-dcerpc-netlogon.c(6851) : warning C4267: '=' : conversion from 'size_t'
t
o 'int', possible loss of data
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\Bin\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.