Closed miserman closed 1 year ago
Boost regex is, sadly, one of the Boost libraries that cannot used only with BH as they require linking. So this is outside the scope of the package.
The package README hints at his:
Note that this can be used solely by headers-only Boost libraries. This covers most of Boost, but excludes some libraries which require linking for parts or all of their functionality.
I don't know if it will want changes, but I ran into this issue when trying to compile this on Windows and R 3.6 specifically:
But that works when defining either
BOOST_REGEX_STANDALONE
orBOOST_REGEX_USE_C_LOCALE
(as far as I tested) beforehand:I'm not sure why those work or what difference they might make, so, if defining those is an acceptable solution, I wonder:
BOOST_REGEX_USE_C_LOCALE
for now because it seemed like it would have fewer side effects.