Current-Users archive

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

Re: mDNSResponder build failure on 64-bit platform (amd64)



> On Oct 2,  9:34am, martin%duskware.de@localhost (Martin Husemann) wrote:
> -- Subject: Re: mDNSResponder build failure on 64-bit platform (amd64)
> 
> | On Fri, Oct 02, 2009 at 07:59:56AM +0200, Christoph Egger wrote:
> | > src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_ipc.h(338):
> | > negative array dimension (-1) [20]
> | 
> | Yes, and that one strongly looks like a lint bug to me, which
> | apparently only hits on amd64.
> 
> Lint does not understand __attribute__((__packed__)) so it
> computes the size wrong.

So using __packed should fix the build failure then.

This is #defined for lint in <sys/cdefs.h> as:

#define __packed        /* delete */
#define __aligned(x)    /* delete */
#define __section(x)    /* delete */

Christoph


Home | Main Index | Thread Index | Old Index