free warnings
Rick Giuly <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
jon, could you make both of the free warnings optional "attempt to free uninitialized object" "attempting to free released instance ..." -rick Quoting jon klein <[email protected]>: > > On May 27, 2004, at 4:15 AM, Rick Giuly wrote: > > > The code below creates warning messages because it tries to free each > > repetition on the element in the list. What's a good way to detect this > > problem and avoid the warnings? > > > > h (object). > > h = new Hello. > > free {h,h,h,h}. > > There's currently no way to automatically detect this situation and > avoid > the warnings -- you'd have to step through the list and do it yourself. > > It's occurred to me, though, that the freed instance warnings are a bit > irritating and almost never useful, so I'm considering getting rid of > them > altogether. > > Do people have any opinions on this? Are there reasons to keep these > warnings around? > > - jon klein > > _______________________________________________ > breve mailing list > [email protected] > http://www.spiderland.org/mailman/listinfo/breve > -- _______________________________________________ breve mailing list [email protected] http://www.spiderland.org/mailman/listinfo/breve