On 02/02/2019 00:41, SZEDER Gábor wrote: > On Fri, Feb 01, 2019 at 09:01:20PM +0000, Ramsay Jones wrote: [snip] >> At the moment, on Linux, the sp-out file is free from any sparse errors >> or warnings. So are next and pu: >> >> $ grep error sp-out >> $ grep warning sp-out > > On 'master' I get: > > $ grep error sp-out > $ grep warning sp-out > connect.c:652:40: warning: incorrect type in argument 2 (invalid types) > pack-revindex.c:65:23: warning: memset with byte count of 262144 > unix-socket.c:83:26: warning: incorrect type in argument 2 (invalid types) > unix-socket.c:108:23: warning: incorrect type in argument 2 (invalid types) > daemon.c:1041:36: warning: incorrect type in argument 2 (invalid types) > daemon.c:1184:67: warning: incorrect type in argument 2 (invalid types) > imap-send.c:1022:42: warning: incorrect type in argument 2 (invalid types) > credential-cache--daemon.c:180:37: warning: incorrect type in argument 2 (invalid types) > $ sparse --version > v0.5.0 Yeah, that version of sparse is a bit too old. If memory serves (it may not), all of the 'argument 2 (invalid types)' errors are caused by the glibc headers using a 'transparent union' to define the 'struct sockaddr' type. sparse could not handle that until commit 7698bae699 (aka. v0.5.0-5-g7698bae). The only remaining warning was addressed by commit bcfe020ed9 (aka. v0.5.1-rc1-22-gbcfe020) in sparse and commit 54360a1956 in git. So, it seems you need at least v0.5.2 of sparse on your Linux system (which can't be too recent, or you would need v0.6.0). ATB, Ramsay Jones