On 03/13/2012 02:24 PM, Stephan Bergmann wrote:
[1] There might be a way around that after all, adding a non-virtual,
protected destructor to the C++ classes representing UNO interfaces.
Will look into that.

[2] <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302>
"-Wnon-virtual-dtor should't complain of protected dtor" apparently
solves the problem for cppuhelper/propertysetmixin.hxx that originally
caused problems. Seems to be available at least in the Fedora-16 GCC
4.6.2. (And -Wall appears to no longer automatically enable
-Wnon-virtual-dtor.) Maybe all this allows us to re-enable
-Wnon-virtual-dtor after all; will look into that.

FTR, done this now as <http://cgit.freedesktop.org/libreoffice/core/commit/?id=6e67c03dc0225fc66343546b14e902b9d238b1a3> "Enable -Wnon-virtual-dtor for GCC 4.6" and <http://cgit.freedesktop.org/libreoffice/binfilter/commit/?id=c599fdba10c210ecf3f94119cb1138f3846320df> "Adapted to -Wnon-virtual-dtor enabled for GCC 4.6".

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to