Everytime when something changes (like adding new events) in sdk_events.h, the next build fails for me on all my linux boxes, I will always have to do make clean first.
I would assume it should work incrementally to, right ?
Here's last nights error :
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/sdk/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp: In member function ‘void MainFrame::RegisterEvents()’:
main.cpp:614:27: error: ‘cbEVT_HIDE_LOG_WINDOW’ was not declared in this scope
main.cpp:616:27: error: ‘cbEVT_GET_ACTIVE_LOG_WINDOW’ was not declared in this scope
Might it be those nice precompiled headers ?
Once again, this is happening. I have the feeling it gas become a real pain the last couple of weeks, just like something died on the inside :
For example : Rev 6945 on the debugger branch (the same happened also on main, and there I also suffered this problem) : cbauibook.h got changed, together with some other files.
Build the system (aka make, so not make clean && make) :
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/sdk/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT environmentsettingsdlg.o -MD -MP -MF .deps/environmentsettingsdlg.Tpo -c -o environmentsettingsdlg.o environmentsettingsdlg.cpp
environmentsettingsdlg.cpp: In member function ‘virtual void EnvironmentSettingsDlg::EndModal(int)’:
environmentsettingsdlg.cpp:548:9: error: ‘AllowScrolling’ is not a member of ‘cbAuiNotebook’
environmentsettingsdlg.cpp:549:47: error: cannot call member function ‘void cbAuiNotebook::UseToolTips(bool)’ without object
environmentsettingsdlg.cpp:550:91: error: cannot call member function ‘void cbAuiNotebook::SetDwellTime(long int)’ without object
environmentsettingsdlg.cpp:551:9: error: ‘SetModKeys’ is not a member of ‘cbAuiNotebook’
environmentsettingsdlg.cpp:552:9: error: ‘UseModToAdvance’ is not a member of ‘cbAuiNotebook’
environmentsettingsdlg.cpp will get the include of cbauibook.h through sdk.h, but it seems those darn pch's will never ever work correctly :-(
I have a feeling that we used to run into such issues from time to time, but currently it is nearly always ...
Did we break something ?