Good morning everyone!
It seems the latest SVN version of CodeBlocks fails to build. It happens in the source file cbauibook.cpp where it seems to be missing the definitions of the structs ConfigManager and EditorManager generating a lot of subsequent errors.
This is the compiler output:
cbauibook.cpp: In constructor 'cbAuiNotebook::cbAuiNotebook(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int)':
cbauibook.cpp:69: error: invalid use of incomplete type 'struct ConfigManager'
../../src/include/manager.h:38: error: forward declaration of 'struct ConfigManager'
If this is based on my Gentoo noobishness and hence my fault, please excuse. If not, maybe this is of interest for you.
Cheers,
p.
Thank you for your fast reply, jens!
Indeed it gets a bit further but now it fails at:
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/sdk/wxpropgrid/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -march=core2 -mtune=generic -O2 -pipe -fno-strict-aliasing -fPIC -DPIC -fexceptions -MT cbexception.lo -MD -MP -MF .deps/cbexception.Tpo -c cbexception.cpp -fPIC -DPIC -o .libs/cbexception.o
cbeditor.cpp: In member function 'void cbEditor::OnZoom(wxScintillaEvent&)':
cbeditor.cpp:3429: error: invalid use of incomplete type 'struct cbAuiNotebook'
../../src/include/projectmanager.h:30: error: forward declaration of 'struct cbAuiNotebook'
Seems to be a follow-up error.
Hi
I have the same issue in all versions after 6951.
projectfileoptionsdlg.cpp: In member function ‘void ProjectFileOptionsDlg::OnReadOnlyCheck(wxCommandEvent&)’:
projectfileoptionsdlg.cpp:246: ошибка: invalid use of incomplete type ‘struct EditorManager’
../../src/include/manager.h:27: ошибка: forward declaration of ‘struct EditorManager’
make[3]: *** [projectfileoptionsdlg.lo] Ошибка 1