https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296039
--- Comment #15 from Tatsuki Makino <[email protected]> --- This is probably due to the behavior of rust-bindgen 0.69.4. It seems that it can be avoided by directly rewriting part like the following in /usr/include/c++/v1/string. - using __self_view _LIBCPP_NODEBUG = basic_string_view<_CharT, _Traits>; +typedef basic_string_view<_CharT, _Traits> __self_view; (In reply to Tatsuki Makino from comment #14) The use of _LIBCPP_USE_FROZEN_CXX03_HEADERS also requires that __cplusplus be less than 201103, so just defining this is not enough to use it. If it had been conditions like following, we could have forced it to be used :) #if defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS) && (__cplusplus < 201103L || _LIBCPP_USE_FROZEN_CXX03_HEADERS) The method of using -isystem/usr/include/c++/v1/__cxx03 to make the __cxx03 headers be read first fails. In addition, when setting the cflags for bindgen, it seems that the port variable should be set as follows. CONFIGURE_ENV+= BINDGEN_CFLAGS=-isystem/usr/include/c++/v1/__cxx03 For now, within the range I have tried, it seems that there is no workaround available from the thunderbird-esr port side. -- You are receiving this mail because: You are the assignee for the bug.
