codelite-git fails lately with gcc-9.1.0

CodeLite installation/troubleshooting forum
Brane212
CodeLite Curious
Posts: 5
Joined: Mon Jun 18, 2018 1:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

codelite-git fails lately with gcc-9.1.0

Post 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...
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: codelite-git fails lately with gcc-9.1.0

Post by eranif »

should be fixed in master
Make sure you have read the HOW TO POST thread
Post Reply