[general] errors and warnings thanks to clang.
[scanner] add cplusplus wrapper