Stephan Bergmann sbergman at redhat.com
Thu Mar 15 00:24:18 PDT 2012

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 
"Enable -Wnon-virtual-dtor for GCC 4.6" and 
"Adapted to -Wnon-virtual-dtor enabled for GCC 4.6".


More information about the LibreOffice mailing list