Re: Squid 3 build failure on MinGW

From: Serassio Guido <guido.serassio_at_acmeconsulting.it>
Date: Sun, 31 May 2009 15:01:54 +0200

Hi Amos,

At 14.33 31/05/2009, Amos Jeffries wrote:

>I've seen this occur under 2 cases. One was when a .h in the core
>section failed to include config.h outside its wrapping protection. A
>circular include developed and broke things.

Just found the problem: a min() & max() definition as macro into
MinGW includes file.
I'ts a "feature" of the latest version ... :-(

>And when the namespace for something was screwed up. It wouldn't be
>needing that nasty "using namespace Squid;" hack would it?

This hack is needed for the FD <==> sockets equivalence.

Regards

Guido

>Amos
>--
>Please be using
> Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
> Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio_at_acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun May 31 2009 - 13:02:04 MDT

This archive was generated by hypermail 2.2.0 : Sun May 31 2009 - 12:00:02 MDT