RAD Studio
ContentsIndex
PreviousUpNext
W8016: Array size for 'delete' ignored (C++)

(Command-line option to suppress warning: -w-dsz) 

The C++ IDE issues this warning when you've specified the array size when deleting an array. 

With the new C++ specification, you don't need to make this specification. The compiler ignores this construct. 

This warning lets older code compile.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!