daddydave wrote:Were you getting any compiler errors prior to the build error (is that the same as a linker error?) ?
I reconstructed the problem (not difficult anymore, now I know the mechanism behind it). See one of my earlier posts with the wxCheckBox example.
This is the exact output of the compiler:
Code: Select all
F:\AppData\My Program Data\wxWidgets\wxDevCpp\Qac\QacDlg.cpp In member function `void QacDlg::CreateGUIControls()':
76 F:\AppData\My Program Data\wxWidgets\wxDevCpp\Qac\QacDlg.cpp [Warning] passing NULL used for non-pointer converting 1 of `wxArrayString::wxArrayString(int)'
101 F:\AppData\My Program Data\wxWidgets\wxDevCpp\Qac\QacDlg.cpp `chkboxShortName' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
F:\AppData\My Program Data\wxWidgets\wxDevCpp\Qac\Makefile.win [Build Error] [QacDlg.o] Error 1
The first warning should be ignored for this problem (already mentioned this one in another thread and it has been answered already over there).
I hope the rest is clear for analyzing?
As you can see, the next complaint is about the non-existing chkboxShortName
variable (should be chkboxShortNames
). Then I get the message of a corrupted Makefile via a very cryptic description.
But maybe you can try it yourself, if you're willing to do that. Introduce deliberately a similar bug into an application and see what it does.
In commemoration of my beloved Mother...