Cast T[] to integral type: deprecation -> error.
Merge pull request #1755 from ibuclaw/error_array2int

Cast T[] to integral type: deprecation -> error.