Wireshark-dev: [Wireshark-dev] Compilation problem due to recent changes in init_wslua.c
From: "Peter Johansson" <[email protected]>
Date: Tue, 26 Feb 2008 23:43:33 +0100
I get the following when attempting to compile init_wslua.c rev 24479 on Win, using VS2005EE. Anyone else that has run into this or is it just my (newly set up) dev env that is wrong?

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

        perl make-reg.pl wslua_tvb.c  wslua_proto.c  wslua_tree.c  wslua_pinfo.c  wslua_listener.c  wslua_gui.c  wslua_u
til.c  wslua_field.c  wslua_dumper.c
        touch taps
        perl make-taps.pl taps taps_wslua.c taps.txt
        perl make-init-lua.pl template-init.lua > init.lua
        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DHAVE_CONFIG_H /I. /I.. /I../.. /IJ:\wireshark-win32-libs\glib\include\glib-2.0  /IJ:\wireshark-win32-libs\glib\lib\glib-2.0\include /IJ:\wireshark-win32-libs\lua5.1\include  /IJ:\wireshark-win32-libs\WPdpack\include -_U_="" /Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DMSC_VER_REQUIRED=1400 -Fd.\ -c init_wslua.c register_wslua.c taps_wslua.c wslua_dumper.c wslua_field.c wslua_gui.c wslua_pinfo.c wslua_proto.c wslua_listener.c wslua_tree.c wslua_tvb.c wslua_util.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

init_wslua.c(277) : error C2220: warning treated as error - no 'object' file generated
init_wslua.c(277) : warning C4090: 'function' : different 'const' qualifiers
init_wslua.c(306) : warning C4090: 'function' : different 'const' qualifiers

/ Peter