OpenMLDB
OpenMLDB copied to clipboard
remove boost and in favor of c++ std/abseil
current boost version won't compile on macOS 13, or higher gcc version. Most usage to boost can easily replaced from std
or absl
, its generally preferred to rm it.
Or if there is the case a lower gcc required, like centos 6 ?, use C macros to wrapper those functionality ? Anyway if centos 6 is able to compile gcc 8, macros are not necessary
yet many warning generated about boost
ld: warning: direct access in function 'boost::cpp_regex_traits
::get_catalog_name()' from file '/Users/runner/work/OpenMLDB/OpenMLDB/.deps/usr/lib/libboost_regex.a(cpp_regex_traits.o)' to global weak symbol 'guard variable for boost::cpp_regex_traits ::get_catalog_name_inst()::s_name' from file 'libhybridse_core.a(sql_case.cc.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.