[squid-dev] [PATCH] remove old GnuRegex third-party code
Alex Rousskov
rousskov at measurement-factory.com
Tue Jul 28 15:39:25 UTC 2015
On 07/28/2015 06:51 AM, Amos Jeffries wrote:
> The attached patch replaces all Squid code uses of regex.h C API with
> std::regex C++ API and drops the libregex related detections from
> ./configure
> * In the present day all systems using C++11 provide a std::regex API
> from the STL. This means all systems Squid-4 supports will provide it.
Not quite: AFAIK, GCC versions 4.8 and below do not support std::regex.
They do provide the API, but without the implementation to back it up:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631
http://stackoverflow.com/questions/12530406/is-gcc-4-7-and-gcc-4-8-buggy-about-regular-expressions
http://stackoverflow.com/questions/20027305/strange-results-when-using-c11-regexp-with-gcc-4-8-2-but-works-with-boost-reg
We are not going to require GCC v4.9 for Squid v4.0, are we?
Alex.
More information about the squid-dev
mailing list