Ethereal-dev: [Ethereal-dev] warnings in win32 build

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Fri, 5 Aug 2005 10:55:02 +0100
The following warnings were seen in a win32 build from SVN 15221:

packet-bssgp.c(4136) : warning C4090: 'function' : different 'const'
qualifiers
packet-bssgp.c(4136) : warning C4024: 'strcpy' : different types for formal
and actual parameter 1
packet-bssgp.c(4348) : warning C4090: 'function' : different 'const'
qualifiers
packet-bssgp.c(4348) : warning C4022: 'free' : pointer mismatch for actual
parameter 1

packet-dcm.c(493) : warning C4090: 'function' : different 'const' qualifiers
packet-dcm.c(493) : warning C4022: 'g_free' : pointer mismatch for actual
parameter 1

packet-ms-mms.c(922) : warning C4090: 'function' : different 'const'
qualifiers
packet-ms-mms.c(922) : warning C4022: 'g_free' : pointer mismatch for actual
parameter 1
packet-ms-mms.c(941) : warning C4090: 'function' : different 'const'
qualifiers
packet-ms-mms.c(941) : warning C4022: 'g_free' : pointer mismatch for actual
parameter 1
packet-ms-mms.c(959) : warning C4090: 'function' : different 'const'
qualifiers
packet-ms-mms.c(959) : warning C4022: 'g_free' : pointer mismatch for actual
parameter 1
packet-ms-mms.c(977) : warning C4090: 'function' : different 'const'
qualifiers
packet-ms-mms.c(977) : warning C4022: 'g_free' : pointer mismatch for actual
parameter 1
packet-ms-mms.c(1015) : warning C4090: 'function' : different 'const'
qualifiers
packet-ms-mms.c(1015) : warning C4022: 'g_free' : pointer mismatch for
actual parameter 1
packet-ms-mms.c(1134) : warning C4090: 'function' : different 'const'
qualifiers
packet-ms-mms.c(1134) : warning C4022: 'g_free' : pointer mismatch for
actual parameter 1

packet-ncp2222.inc(2408) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(2676) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(2702) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(2740) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(2835) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(3033) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(3080) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(3088) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(3297) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(3308) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(3571) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(3579) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(5302) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(5431) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(5594) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(5632) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(5716) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(6623) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(6677) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(6965) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(7413) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(7496) : warning C4090: '=' : different 'const' qualifiers
packet-ncp2222.inc(7924) : warning C4090: '=' : different 'const' qualifiers

packet-quakeworld.c(172) : warning C4090: 'return' : different 'const'
qualifiers

packet-socks.c(584) : warning C4090: '=' : different 'const' qualifiers

packet-wsp.c(3374) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(3374) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(3390) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(3519) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(3537) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(3591) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(3604) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(3826) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(4186) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(4248) : warning C4090: '=' : different 'const' qualifiers
packet-wsp.c(4317) : warning C4090: '=' : different 'const' qualifiers

radius_dict.l(77) : warning C4005: 'OUT' : macro redefinition
        C:\PROGRA~1\MICROS~2\VC98\INCLUDE\rpcdce.h(23) : see previous
definition of 'OUT'
radius_dict.l(216) : warning C4090: 'function' : different 'const'
qualifiers
radius_dict.l(216) : warning C4022: 'g_hash_table_insert' : pointer mismatch
for actual parameter 2
radius_dict.l(268) : warning C4090: 'function' : different 'const'
qualifiers
radius_dict.l(268) : warning C4022: 'g_free' : pointer mismatch for actual
parameter 1

Graham Bloice