From: alane AT wozzle DOT linet DOT org Subject: Re: Anachronous delete. To: imageek!cs.ualberta.ca!stefan (Stefan Kremer) Date: Thu, 22 Jul 1993 17:54:31 -0500 (EDT) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > > I have a book on C++. It tells me that there are two forms of delete: > > 1. delete [_size_] _p-var_; > 2. delete _p-var_; > > I am using the first form in a program and gcc says: > > "warning: use of array size with vector delete is anachronistic" > The first form has been changed. It is now: delete [] var; You still need the brackets, but they should be empty. -- J. Alan Eldridge (alane AT wozzle DOT linet DOT org)