fixed narrowing conversion error
Merge with backed out
Backed out changeset: 3b77657cd8a7
fixed return on non-void function
fixed more gcc compilation issues
fixed compiler warning in ArrayVectorView copy ctor
added explicit braces around && within ||
fixed leftover reorder warnings