At 2017-11-12T17:21:43+0000, Ralph Corderoy wrote: > Hi Branden, > > > I have a patch that quiets the sized-deallocation warning, but the > > most obvious solution (to me) causes a different warning. > > That I don't think you give? > Can't the new delete call the existing one to do the work?
I inlined the new warning in the diff hunk I posted, and it is in fact the precise result of what you advise. :-O + // In function 'void operator delete(void*, long unsigned int)': + // warning: deleting 'void*' is undefined [-Wdelete-incomplete] + //delete p; -- Regards, Branden
signature.asc
Description: PGP signature