Plugin/DiffUI,h includes a class that inherits from wxFrame but it does not include wx/frame.h .
This causes a build break when PCH is not used. Since the file is autogenerated from DiffUI.wxcp I draw the conclusion that wxcrafter has a bug since it generates code like this.
Version
Self compiled
Operating system
Linux
Steps to reproduce
Build codelite by adding -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON to the cmake command line.
Relevant log output
In file included from ../codelite/Plugin/DiffFoldersFrame.h:4:0,
from ../codelite/Plugin/DiffFoldersFrame.cpp:1:
../codelite/Plugin/DiffUI.h:67:35: error: invalid use of incomplete type 'class wxFrame'
class DiffFoldersBaseDlg : public wxFrame
What happened?
Plugin/DiffUI,h includes a class that inherits from wxFrame but it does not include wx/frame.h . This causes a build break when PCH is not used. Since the file is autogenerated from DiffUI.wxcp I draw the conclusion that wxcrafter has a bug since it generates code like this.
Version
Self compiled
Operating system
Linux
Steps to reproduce
Relevant log output