gazebosim/gz-common
igniton-common3 uses string_view with c++11 which is a feature of c++17
开放
#239 创建于 2021年8月18日
bughelp wanted
仓库指标
- 星标
- (28 个星标)
- PR 合并指标
- (平均合并 9天 6小时) (30 天内合并 30 个 PR)
描述
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.