Guido Serassio wrote:
> Hi Amos,
>
>>> Hi,
>>>
>>> Who can help me to fix the following C++ errors on Visual Studio ?
>>>
>>> 1>auth_basic.cc
>>> 1>c:\work\nt-3.0\src\SquidString.h(97) : error C2057: expected
> constant
>> expression
>>> 1>../../../src\auth/User.h(39) : warning C4099:
> 'AuthUserHashPointer' :
>> type name first seen using 'struct' now seen using 'class'
>>> 1> ../../../src\auth/Gadgets.h(51) : see declaration of
>> 'AuthUserHashPointer'
>>> Regards
>>>
>>> Guido
>>>
>> I think the TODO just needs to be enacted.
>> Changing the 'struct' to 'class'.
>>
>
> I need some hints for the SquidString.h error: it's a blocking error.
> I remember you that my C++ knowledge is too much limited.
Hmm, looking deeper there is a few typedefs to clean out as well.
Patch attached.
Amos
-- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18 Current Beta Squid 3.1.0.13
This archive was generated by hypermail 2.2.0 : Sun Aug 23 2009 - 12:00:05 MDT