[SOLVED] Re: Other build errors

2020-08-05 Thread julien2412
sberg wrote
>> ...
> 
> https://git.libreoffice.org/core/+/2e12d210cac8d031c21cdda9c37c1551f967ddc4%5E%21;
>  
> "Silence loplugin:staticmethods when the definition involves 
> preprocessing" is the last of the fixes I pushed; should work now

Indeed! Thank you!

Julien



--
Sent from: 
http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Other build errors

2020-08-05 Thread Stephan Bergmann

On 04/08/2020 23:12, Stephan Bergmann wrote:
It appears that most people's --enable-compiler-plugins builds also use 
--enable-dbgutil, so various issues with 
--disable-dbgutil/--disable-assert-always-abort/etc. have sneaked in 
over time and went unnoticed.  I'm doing such a build right now, fixing 
whatever I find.


 
"Silence loplugin:staticmethods when the definition involves 
preprocessing" is the last of the fixes I pushed; should work now


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Other build errors

2020-08-04 Thread julien2412
Hello again,

Following previous errors, I encountered others:
[CXX] workdir/UnpackedTarball/libcmis/src/libcmis/gdrive-folder.cxx
In file included from /home/julien/lo/libo_perf/vcl/skia/salbmp.cxx:20:
/home/julien/lo/libo_perf/vcl/inc/skia/salbmp.hxx:107:10: error: this member
function can be declared static [loplugin:staticmethods]
void verify() const {};
~^
1 error generated.
make[1]: *** [/home/julien/lo/libo_perf/solenv/gbuild/LinkTarget.mk:298:
/home/julien/lo/libo_perf/workdir/CxxObject/vcl/skia/salbmp.o] Error 1
make[1]: *** Attente des tâches non terminées
In file included from /home/julien/lo/libo_perf/vcl/skia/gdiimpl.cxx:23:
/home/julien/lo/libo_perf/vcl/inc/skia/salbmp.hxx:107:10: error: this member
function can be declared static [loplugin:staticmethods]
void verify() const {};
~^
/home/julien/lo/libo_perf/vcl/skia/gdiimpl.cxx:188:17: error: this member
function can be declared static [loplugin:staticmethods]
const char* get_debug_name(SkiaSalGraphicsImpl*) { return "skia idle"; }
^~~~
2 errors generated.
make[1]: *** [/home/julien/lo/libo_perf/solenv/gbuild/LinkTarget.mk:298:
/home/julien/lo/libo_perf/workdir/CxxObject/vcl/skia/gdiimpl.o] Error 1
make: *** [Makefile:282: build] Error 2


/home/julien/lo/libo_perf/canvas/source/tools/verifyinput.cxx:409:61: error:
unused class member [loplugin:unusedmember]
const char* mpStr;
^
/home/julien/lo/libo_perf/canvas/source/tools/verifyinput.cxx:411:61: error:
unused class member [loplugin:unusedmember]
sal_Int16   mnArgPos;
^~~~
2 errors generated.


/home/julien/lo/libo_perf/canvas/source/tools/verifyinput.cxx:410:61: error:
unused class member [loplugin:unusedmember]
const char* mpStr;
^

/home/julien/lo/libo_perf/emfio/inc/emfreader.hxx:45:14: error: this member
function can be declared static [loplugin:staticmethods]
void ReadGDIComment(sal_uInt32 nCommentId);
~^
/home/julien/lo/libo_perf/emfio/source/reader/emfreader.cxx:447:21: note:
defined here: [loplugin:staticmethods]
void EmfReader::ReadGDIComment(sal_uInt32)
^~
/home/julien/lo/libo_perf/vcl/unx/gtk3/gtk3gtkframe.cxx:3556:5: error:
statement mis-aligned compared to neighbours assert [loplugin:indentation]
assert(res);
^
/home/julien/lo/libo_perf/vcl/unx/gtk3/gtk3gtkframe.cxx:3555:9: note:
measured against this one [loplugin:indentation]
g_idle_remove_by_data(this);
^
/home/julien/lo/libo_perf/vcl/unx/gtk3/gtk3gtkframe.cxx:3558:5: error:
statement mis-aligned compared to neighbours  [loplugin:indentation]
css::datatransfer::dnd::DropTargetDropEvent aEvent;
^
...


Since the build hasn't finished yet, there may be others.

Julien



--
Sent from: 
http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Other build errors

2020-08-04 Thread Stephan Bergmann

On 04/08/2020 20:57, julien2412 wrote:

Following previous errors, I encountered others:
[CXX] workdir/UnpackedTarball/libcmis/src/libcmis/gdrive-folder.cxx
In file included from /home/julien/lo/libo_perf/vcl/skia/salbmp.cxx:20:
/home/julien/lo/libo_perf/vcl/inc/skia/salbmp.hxx:107:10: error: this member
function can be declared static [loplugin:staticmethods]
 void verify() const {};
 ~^
1 error generated.


It appears that most people's --enable-compiler-plugins builds also use 
--enable-dbgutil, so various issues with 
--disable-dbgutil/--disable-assert-always-abort/etc. have sneaked in 
over time and went unnoticed.  I'm doing such a build right now, fixing 
whatever I find.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice