gazebosim/gz-common
igniton-common3 uses string_view with c++11 which is a feature of c++17
Open
#239 opened on Aug 18, 2021
bughelp wanted
Repository metrics
- Stars
- (28 stars)
- PR merge metrics
- (PR metrics pending)
Description
Environment
- OS Version: Debian Sid, GCC11
- ign-common3 in debian, version 3.5.0
Description
- Expected behavior: compilation to be fine with any compiler
- Actual behavior: reports of failing on gcc11 in Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984182 due to the fact of having
std::string_viewwhich is part of c++17.
Steps to reproduce
- Install gcc11
- Compile code
Not sure how we want to resolve the problem. Seems like the own gtest is using absl::string_view which maybe an alternative until we have ign-common with c++17 enabled.