Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.UCLA.EDU!rjc From: rjc@CS.UCLA.EDU (Robert Collins) Newsgroups: gnu.g++.bug Subject: array size expression for delete Message-ID: <9002262348.AA12899@maui.cs.ucla.edu> Date: 26 Feb 90 23:48:33 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20 Michael, When I use the syntax delete [size] array; and compile with '-O -Wall', I am told file.cc: warning: array size expression for delete ignored This sounds ominous. Is the [size] really ignored? Is only the first element of my array being destroyed? Is the warning bogus? Is my code bogus? Do you need some sample (bogus?) code? My code seems to do the right thing (I should run out of CM memory fairly quickly if this is failing to destroy all elements of the array, but I don't), but this warning has got me worried. Thanks, Worried in LA (rjc@cs.ucla.edu)