Wireshark-dev: Re: [Wireshark-dev] compilation errors in packet-spnego-template.c

From: Brian Vandenberg <phantal@xxxxxxxxx>
Date: Fri, 25 May 2007 15:11:14 -0600
Some code was changed for asn1\spnego\packet-spnego-template.c on line 472 that's causing the following warning/compilation error:

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DHAVE_CONFIG_H /I. /I.. /I../.. /ID:\projects\wireshark\wireshark-win32-libs\glib\include\glib-2.0 /ID:\projects\wireshark\wireshark- win32-libs\glib\lib\glib-2.0\include /ID:\projects\wireshark\wireshark-win32-libs\net-snmp-5.4\include /ID:\projects\wireshark\wireshark-win32-libs\net-snmp-5.4\win32 /ID:\project s\wireshark\wireshark-win32-libs\zlib123\include /ID:\projects\wireshark\wireshark-win32-libs\pcre-6.4\include /ID:\projects\wireshark\wireshark-win32-libs\gnutls-1.6.1-1\include /DNOCRYPT /ID:\projects\wireshark\wireshark-win32-libs\kfw-2.5\inc /ID:\projects\wireshark\wireshark-win32-libs\WPdpack\include -D_U_="" /Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE -Fd.\ -c packet-spnego.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

packet-spnego.c
packet-spnego-template.c(472) : error C2220: warning treated as error - no 'object' file generated packet-spnego-template.c(472) : warning C4133: 'function' : incompatible types - from 'guint32 [2]' to 'unsigned char *' NMAKE : fatal error U1077: '"C:\Program Files\vs8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\vs8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\vs8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

-Brian