Wireshark-bugs: [Wireshark-bugs] [Bug 5049] New: VS2008EE compiler warnings from packet-diameter

Date: Sat, 24 Jul 2010 06:40:26 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5049

           Summary: VS2008EE compiler warnings from packet-diameter.c and
                    packet-pktc.c
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: High
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: christopher.maynard@xxxxxxxxx


Chris Maynard <christopher.maynard@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4960|                            |review_for_checkin?
               Flag|                            |

Created an attachment (id=4960)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4960)
Patch to fix the 2 warnings.

Build Information:
SVN 33624
--
The following 2 compiler warnings are generated when trying to compile
Wireshark with VS2008EE on Windows XP SP3:

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

        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DHAVE_CONFIG_H /I. /I.. /I../..
/I
C:\wireshark-win32-libs\gtk2\include\glib-2.0 
/IC:\wireshark-win32-libs\gtk2\li
b\glib-2.0\include  /IC:\wireshark-win32-libs\zlib123\include  
/IC:\wireshark-w
in32-libs\gnutls-2.8.5-4.12-win32ws\include /DNOCRYPT /DIMPORT_LIGNUTLSDLL  
/IC
:\wireshark-win32-libs\kfw-3-2-2-i386-ws-vc6\include 
/IC:\wireshark-win32-libs\
GeoIP-1.4.6-win32ws\libGeoIP  /IC:\wireshark-win32-libs\WPdpack\include
-D_U_=""
 /Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
/DWIN32_LEAN
_AND_MEAN /DMSC_VER_REQUIRED=1500 /D_BIND_TO_CURRENT_CRT_VERSION=1 /MP -Fd.\ -c
packet-diameter.c packet-pktc.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

packet-diameter.c
packet-diameter.c(543) : error C2220: warning treated as error - no 'object'
fil
e generated
packet-diameter.c(543) : warning C4090: '=' : different 'const' qualifiers
packet-pktc.c
packet-pktc.c(520) : error C2198: 'abs_time_secs_to_str' : too few arguments
for
 call
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\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 the assignee for the bug.