clang compiler gives warnings expecting errors

Stephan Bergmann sbergman at redhat.com
Fri Sep 15 08:18:15 UTC 2017


On 09/15/2017 10:08 AM, Alex Kempshall wrote:
> The make gives me a clean compile, with warnings,  which was not what I 
> was hoping for!
> 
>> /home/alex/master/sw/source/ui/inc/mmresultdialogs.hxx:213:5: 
>> *warning*: VclReferenceBase subclass dispose() function MUST call 
>> dispose() of its superclass as the last thing it does 
>> [loplugin:vclwidgets]
>> /home/alex/master/sw/source/ui/dbui/mmoutputtypepage.cxx:303:1: 
>> *warning*: VclReferenceBase subclass dispose() function MUST call 
>> dispose() of its superclass as the last thing it does 
>> [loplugin:vclwidgets]
> 
> I would have liked the compile to have failed in a similar way to 
> Jenkins where the *warnings* above became *errors*-

You need to configure LO with --enable-werror.  (Which developers should 
do anyway, independent of Clang/loplugin.)


More information about the LibreOffice mailing list