Boost logo

Boost Users :

From: John Maddock (jz.maddock_at_[hidden])
Date: 2021-05-28 19:12:51


On 28/05/2021 17:41, Brad Smith via Boost-users wrote:
> Hi,
>
> I am trying to upgrade from Boost 1.73 to Boost 1.76 and down to only
> one consumer left that will
> not build. This appears to be an issue with Boost::regex.
>
> I noticed this in the Boost 1.76 release notes..
>
> "Regex is now header only except in C++03 mode."
>
> Clang defaults to C++14, but I noticed BOOST_REGEX_CXX03 is defined.
> The project does not
> specify a particular C++ version so it should be using C++14.

Are you defining BOOST_REGEX_RECURSIVE?  That would force it into
legacy-mode.

>
> The functions below exist in the Boost 1.73 Boost::regex library but
> not in the 1.76
> library.

Hmm, that's strange, do you have a test case?  We do test C++03 legacy
mode in CI, so this should all still be working, plus nothing should
actually have changed in those classes compared to 1.73.

Best, John.

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net