For the most part this simply resolves build warnings for C++ although BLI_array.h has been replace by blender::Vector.