tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issue with re2 package





On 22/02/2025 10:21, snow flurry wrote:
When compiling for C++17 or above, absl::string_view is typedef'd as std::string_view. ABSL_OPTION_USE_STD_STRING_VIEW is used to enforce this: 0 or 1 to enforce absl::string_view or std::string_view respectively, or 2 to base it on the available C++ standard. At least on my build from pkgsrc, it's set to always use absl::string_view:

     #define ABSL_OPTION_USE_STD_STRING_VIEW 0


Yes, because pkgsrc abseil is built with FORCE_CXX_STD=c++14.

I'm wondering if qtwebengine-everywhere is including the abseil and re2 headers in the chromium tree, which does set ABSL_OPTION_USE_STD_STRING_VIEW=2 (src/3rdparty/chromium/third_party/abseil-cpp/absl/base/options.h).


And yes it is, which is why we need to use the bundled re2.

cheers
mark



Home | Main Index | Thread Index | Old Index