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
On Sun, 2009-08-30 at 09:48 +0200, Guido Serassio wrote:
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;
Can you find out what std::string::npos is defined as in your compiler's
On Sun, 2009-08-30 at 18:13 +0200, Guido Serassio wrote:
Hi,
I don't know what is std::string::npos, and so I don't know what to look
for
http://www.cplusplus.com/reference/string/string/npos/
It should be a static const, which is why I'm so surprised you're
getting an error about it.