Re: Problem building diskd - Opinion needed

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 3 Jul 2005 00:59:34 +0200 (CEST)

On Sat, 2 Jul 2005, Serassio Guido wrote:

> DiskIO/DiskDaemon/diskd.cc: In function `void msg_handle(diomsg*, int,
> diomsg*)':
> DiskIO/DiskDaemon/diskd.cc:286: error: `assert' undeclared (first use this
> function)

Right, now I get what that fragment in the patch was about...

Correct Solution: Don't include squid.h here. squid.h is only meant to be
included by code in the main squid executable.

But defining an xassert() function like you did in the patch is also
acceptable.

Regards
Henrik
Received on Sat Jul 02 2005 - 16:59:36 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:03 MDT