Problem compiling with C++20
bsergean opened this issue · comments
Benjamin Sergeant commented
When building with clang-12 on macOS, with XCode 12, I am getting this error:
_deps/cxxopts-src/include/cxxopts.hpp:349:39: error: invalid operands to binary expression ('const char8_t [8]' and 'const std::string' (aka 'const basic_string<char>'))
: OptionSpecException(u8"Option " + LQUOTE + option + RQUOTE + u8" already exists")
~~~~~~~~~~~ ^ ~~~~~~
I think that C++20 concatenation rules have changed.
Benjamin Sergeant commented
Actually this works well in c04f8a5 / but compilation was broken in v2.1.2
Benjamin Sergeant commented
This is likely to become a stale ticket, closing it.