Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building current



On Thu, Apr 04, 2013 at 11:20:38PM +0200, Johnny Billquist wrote:
> Nope. Same error.
> However, the error (from lint) seems silly. How can an unsigned char 
> conversion to an int ever lead to out of range???

I did a grep on the autobuild master and got this list of builds that
feature a [119] warning from lint:

acorn26
acorn32
algor
amd64
amiga
amigappc
arc
atari
bebox
cats
cesfic
cobalt
dreamcast
emips
evbarm
evbmips-mips64eb
evbmips-mips64el
evbmips-mipseb
evbmips-mipsel
evbppc
evbsh3-sh3eb
evbsh3-sh3el
ews4800mips
hp300
hp700
hpcarm
hpcmips
hpcsh
i386
ibmnws
iyonix
landisk
luna68k
mac68k
macppc
mipsco
mmeye
mvme68k
mvmeppc
netwinder
news68k
newsmips
next68k
ofppc
pmax
prep
rs6000
sandpoint
sbmips-mipseb
sbmips-mipsel
sgimips
shark
sparc
sparc64
sun2
sun3
vax
x68k
zaurus


Christos: since you are the most likely candidate to look at lint internals,
here are some of the warnings easy to reproduce for you on amd64:

src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(554): 
warning: conversion of 'unsigned int' to 'int' is out of range [119]
src/external/bsd/libpcap/lib/../dist/gencode.c(2254): warning: conversion of 
'unsigned int' to 'int' is out of range [119]
src/external/bsd/libpcap/lib/../dist/gencode.c(2261): warning: conversion of 
'unsigned int' to 'int' is out of range [119]
src/lib/libm/complex/cacosh.c(42): warning: conversion of 'int' to 'double 
_Complex' is out of range [119]
src/lib/libm/complex/cacosh.c(42): warning: conversion of 'int' to 'double 
_Complex' is out of range [119]
src/lib/libm/src/e_jn.c(73): warning: conversion of 'unsigned int' to 'int' is 
out of range [119]
src/lib/libm/src/e_jnf.c(50): warning: conversion of 'unsigned int' to 'int' is 
out of range [119]
src/external/bsd/libarchive/dist/libarchive/archive_read_support_format_iso9660.c(430):
 warning: conversion of 'unsigned int' to 'int' is out of range [119]


What is lint trying to say us anyway?

Martin


Home | Main Index | Thread Index | Old Index