https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100861
Andrew Pinski changed:
What|Removed |Added
CC||fchelnokov at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100861
--- Comment #3 from Martin Sebor ---
The virtual dtor forces an out-of-line call to the Grommet dtor which then
calls ::operator delete(), so the warning has nothing to complain about. It
sees this code (compile with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100861
--- Comment #2 from Joseph C. Sible ---
Wait, if it's just checking whether the calls to operator new and operator
delete match up, then why does adding "virtual ~Widget() {}" make the warning
go away?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100861
Martin Sebor changed:
What|Removed |Added
Severity|normal |enhancement