3.3.9 build error in SquidString.h

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 26 Sep 2013 00:39:06 +1200

As some of you know I have been working with a sponsor to get Windows
builds going again this year.

Visual Studio is giving me a strange error though in our SquidString.h code:
    error C2057: expected constant expression

this is occuring on the code line:
    statis const size_type npos = std::string::npos;

any ideas about how to solve this one properly? for now we are having to
just define it as -1 by looking up the VC header files definitions of
std::string::npos manually.

Amos
Received on Wed Sep 25 2013 - 12:39:13 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 25 2013 - 12:00:16 MDT