Minor fixes

collected during switch to clang, but unrelated. Wanna merge them separately. Have a closer look at a304e27fa735385b5c1432dfdda66d42f734aad7


??? Do you have a way to easily reproduce ? Assuming that you are talking about a field, double myArray[5] should be stored as /double[5]