Hi.
I'm using GNU/Linux Slackware current, 64 bit, and have installed wxGTK3. When trying to install version 20.03 with option PLUGINS=yes I get the following build error:
make[5]: Entering directory '/tmp/SBo/codeblocks-20.03/src/plugins/contrib/wxSmith/wxwidgets'
Making all in defitems
make[6]: Entering directory '/tmp/SBo/codeblocks-20.03/src/plugins/contrib/wxSmith/wxwidgets/defitems'
depbase=`echo wxsdatepickerctrl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../../../../../src/include -I../../../../../../src/sdk/wxscintilla/include -DCB_AUTOCONF -DCB_PRECOMP -DPIC -I../../../../../../src/include/tinyxml -DTIXML_USE_STL=YES -O2 -fPIC -fpermissive -Winvalid-pch -fPIC -fexceptions -MT wxsdatepickerctrl.lo -MD -MP -MF $depbase.Tpo -c -o wxsdatepickerctrl.lo wxsdatepickerctrl.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../../../../../src/include -I../../../../../../src/sdk/wxscintilla/include -DCB_AUTOCONF -DCB_PRECOMP -DPIC -I../../../../../../src/include/tinyxml -DTIXML_USE_STL=YES -O2 -fPIC -fpermissive -Winvalid-pch -fPIC -fexceptions -MT wxsdatepickerctrl.lo -MD -MP -MF .deps/wxsdatepickerctrl.Tpo -c wxsdatepickerctrl.cpp -fPIC -DPIC -o .libs/wxsdatepickerctrl.o
In file included from /usr/include/wx-3.0/wx/arrstr.h:32,
from ../wxsevents.h:26,
from ../wxsitem.h:26,
from ../wxswidget.h:26,
from wxsdatepickerctrl.h:27,
from wxsdatepickerctrl.cpp:24:
../properties/wxsarraystringcheckproperty.h: In member function ‘_wxArraywxArrayBool& wxArrayBool::Item(size_t) const’:
/usr/include/wx-3.0/wx/dynarray.h:144:44: error: invalid cast of an rvalue expression of type ‘std::vector<bool>::const_reference’ {aka ‘bool’} to type ‘_wxArraywxArrayBool&’ {aka ‘bool&’}
144 | { wxASSERT( uiIndex < size() ); return (T&)operator[](uiIndex); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro ‘_WX_DECLARE_BASEARRAY_2’
114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro ‘_WX_DECLARE_BASEARRAY’
339 | _WX_DECLARE_BASEARRAY(T, name, classexp)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro ‘_WX_DEFINE_TYPEARRAY’
342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp)
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro ‘_WX_DEFINE_TYPEARRAY_PTR’
697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro ‘WX_DEFINE_TYPEARRAY_WITH_DECL_PTR’
677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro ‘WX_DEFINE_TYPEARRAY_PTR’
880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt)
| ^~~~~~~~~~~~~~~~~~~~~~~
../properties/wxsarraystringcheckproperty.h:28:1: note: in expansion of macro ‘WX_DEFINE_ARRAY_INT’
28 | WX_DEFINE_ARRAY_INT(bool,wxArrayBool);
| ^~~~~~~~~~~~~~~~~~~
make[6]: *** [Makefile:986: wxsdatepickerctrl.lo] Error 1
make[6]: Leaving directory '/tmp/SBo/codeblocks-20.03/src/plugins/contrib/wxSmith/wxwidgets/defitems'
make[5]: *** [Makefile:861: all-recursive] Error 1
make[5]: Leaving directory '/tmp/SBo/codeblocks-20.03/src/plugins/contrib/wxSmith/wxwidgets'
make[4]: *** [Makefile:847: all-recursive] Error 1
make[4]: Leaving directory '/tmp/SBo/codeblocks-20.03/src/plugins/contrib/wxSmith'
make[3]: *** [Makefile:638: all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/codeblocks-20.03/src/plugins/contrib'
make[2]: *** [Makefile:534: all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/codeblocks-20.03/src/plugins'
make[1]: *** [Makefile:544: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/codeblocks-20.03/src'
make: *** [Makefile:675: all-recursive] Error 1
Any idea why?