Compiler Warning (level 1) C4155

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

Deletion of an array by the non-array form of delete is undefined.

This warning is generated only when the /Za ANSI-compatibility switch is enabled.

The following example causes this warning:

T (*array)[ 10 ] = new T[ 5 ][ 10 ];
delete array;                         // warning