Re: clang compiler gives warnings expecting errors

2017-09-18 Thread Alex Kempshall
Hi Stephan That worked a treat. Thanks Alex On 15/09/17 09:18, Stephan Bergmann wrote: You need to configure LO with --enable-werror.  (Which developers should do anyway, independent of Clang/loplugin.) ___ LibreOffice mailing list LibreOffice@

Re: clang compiler gives warnings expecting errors

2017-09-15 Thread Stephan Bergmann
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

clang compiler gives warnings expecting errors

2017-09-15 Thread Alex Kempshall
Hi Stephen Thanks for the pointer on how to compile with clang. Done an autogen - Running ./configure with 'CC=clang CXX=clang++ --enable-debug --disable-ccache --disable-gtk3 --with-parallelism=5 --without-junit --without-gssapi --without-krb5 --enable-dbgutil --enable-compiler-plugins --ena