Hi,
The patch from Amos fix the warning (not blocking problem), but the
compile problem is still present, and I don't know how to fix it.
Any file including SquidString.h doesn't build with following error:
c:\work\nt-3.0\src\SquidString.h(98) : error C2057: expected constant
expression
The offending code is:
const static size_type npos = std::string::npos;
Regards
Guido
Hi Amos,
Hi,
Who can help me to fix the following C++ errors on Visual Studio ?
1auth_basic.cc
1c:\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.
Regards
Guido Serassio
Acme Consulting S.r.l.
Microsoft Gold Certified Partner
Via Lucia Savarino, 110098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.seras...@acmeconsulting.it
WWW: http://www.acmeconsulting.it