[c++] clang++/libc++ warning and errors