Page 1 of 1

codelite-git fails lately with gcc-9.1.0

Posted: Sat Jul 13, 2019 12:18 am
by Brane212
with an error:
/var/tmp/portage/dev-util/codelite-9999/work/codelite-9999/wxcrafter/wxguicraft_main_view.cpp:1375:38: error: invalid use of non-static member function 'void GUICraftMainPanel::DoRefresh(int)'
1375 | CallAfter(GUICraftMainPanel::DoRefresh, eventType);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /var/tmp/portage/dev-util/codelite-9999/work/codelite-9999/wxcrafter/main.h:8,
from /var/tmp/portage/dev-util/codelite-9999/work/codelite-9999/wxcrafter/wxcrafter_plugin.h:8,
from /var/tmp/portage/dev-util/codelite-9999/work/codelite-9999/wxcrafter/wxguicraft_main_view.cpp:38:
/var/tmp/portage/dev-util/codelite-9999/work/codelite-9999/wxcrafter/wxguicraft_main_view.h:111:10: note: declared here
111 | void DoRefresh(int eventType);
I use gentoo ebuild for it. Error seems like one of those that new gcc versions are particularly picky about.
I have no idea how to patch it , though...

Re: codelite-git fails lately with gcc-9.1.0

Posted: Sat Jul 13, 2019 8:36 pm
by eranif
should be fixed in master