Closed kawashima-fj closed 10 months ago
The type of args_parser::expected_args and the type of it in args_parser::in_expected_args are incompatible. The former lacks const. This causes a compilation error with libc++ (e.g. use clang++ with CXXFLAGS=-stdlib=libc++).
args_parser::expected_args
it
args_parser::in_expected_args
const
clang++
CXXFLAGS=-stdlib=libc++
My colleague reported this as a bug of libc++ but a maintainer answered that this is a bug in IMB.
Ping. Can this and #20 be merged? If they are issues of Clang or libc++, please let me know.
This changes have already unstreamed in product. Thank you for contribution :)
The type of
args_parser::expected_args
and the type ofit
inargs_parser::in_expected_args
are incompatible. The former lacksconst
. This causes a compilation error with libc++ (e.g. useclang++
withCXXFLAGS=-stdlib=libc++
).My colleague reported this as a bug of libc++ but a maintainer answered that this is a bug in IMB.