Re: Squid-3 compile warning after latest comm.cc changes

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 26 Mar 2008 23:51:57 +0100

On Wed, 2008-03-26 at 10:14 +1300, Amos Jeffries wrote:
> Henrik Nordstrom wrote:
> > Revision 8905:
> >
> > src/comm.cc: In function 'int comm_connect_addr(int, const IPAddress&)':
> > src/comm.cc:1144: warning: passing NULL to non-pointer argument 2 of
> > 'void* memset(void*, int, size_t)'
> > make[1]: *** [comm.lo] Error 1
> >
> >
>
> What compiler are you using for this?

GCC 4.1.2 with a bunch of warning flags to err on dubious constructs.

Regards
Henrik
Received on Wed Mar 26 2008 - 16:52:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:10 MDT