Compiler Warning (level 2) C4156

deletion of an array expression without using the array form of 'delete'; array form substituted

Deletion of an array by the non-array form of delete is undefined. The compiler used translated the expression to use the array form of 'delete'.

This warning is generated only when the Microsoft extensions (/Ze) are enabled.

T (*array)[ 10 ] = new T[ 5 ][ 10 ];
delete array;     // warning, changed by compiler to "delete [] array;"