Hmm, now that the reason for using -Wno-non-virtual-dtor has been
documented (760e0d2d7329ca6fc00a8439715bae38becb168a ), I wonder,
should we globally then also turn off the corresponding MSVC warning?
That would be kinda predictable (from a "the usual waste of time"
point of view), as I and others have committed over times dozens of
WaE fixes for this very issue... (I.e. added a virtual no-op
destructor in most cases).
Or does gcc and MSVC warn for different cases of lack of virtual
destructor? Is it certain that in all cases this warning is bogus, in
both the gcc and MSVC cases?
--tml
Context
- -Wno-non-virtual-dtor · Tor Lillqvist
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.