Re: Squid 3 build failure on MinGW

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 01 Jun 2009 00:33:10 +1200

Serassio Guido wrote:
> Hi Amos,
>
> At 11.45 31/05/2009, Amos Jeffries wrote:
>> >
>> > Someone could help me ?
>> >
>> > Regards
>> >
>> > Guido
>> >
>>
>> They are declared in the compat/* library. Included through config.h.
>>
>> compat/compat_shared.h to be exact if you need the definition (but
>> please only include config.h for the compat stuff).
>
> Already seen that, and config.h is included ....
>
> But there is something wrong in the definition of min() and max(), the
> build of every file in src including Range.h is failing ....
>
> Regards
>
> Guido
>

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.

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

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
Received on Sun May 31 2009 - 12:33:27 MDT

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