User forums > Nightly builds
The 04 october 2006 build will NOT be out.
killerbot:
no commits
DmP:
Hello!
If build wx with option "#define WXWIN_COMPATIBILITY_2_4 0" in setup.h, then:
--- Code: ---Compiling: sdk\editarrayfiledlg.cpp
sdk\editarrayfiledlg.cpp: In member function `void EditArrayFileDlg::OnAdd(wxCommandEvent&)':
sdk\editarrayfiledlg.cpp:87: error: `wxHIDE_READONLY' undeclared (first use this function)
sdk\editarrayfiledlg.cpp:87: error: (Each undeclared identifier is reported only once for each function it appears in.)
sdk\editarrayfiledlg.cpp: In member function `void EditArrayFileDlg::OnEdit(wxCommandEvent&)':
sdk\editarrayfiledlg.cpp:107: error: `wxHIDE_READONLY' undeclared (first use this function)
Process terminated with status 1 (0 minutes, 6 seconds)
3 errors, 0 warnings
--- End code ---
CodeBlocks - last from SVN.
To fix errors, need rebuild wx?
stahta01:
No, rebuilding wxWidgets will not make WXWIN_COMPATIBILITY_2_4=0 work. The WXWIN_COMPATIBILITY_2_4=0 means turn off compatibility mode for version 2.4 wxWidgets. The way to fix this issue is to fix Code::Blocks or to set WXWIN_COMPATIBILITY_2_4=1. The main reason to set it to zero is when the user wishes to see if the wxWidgets application will work with the next version which would be 2.7 or 2.8 depending if you mean developement branch or stable. 2.8 does not exist to my knowedge at this time.
I am going to test right now and see if I get the same errors with SVN 3008
Edit: Look at this for more info http://forums.codeblocks.org/index.php?topic=3474.msg27345
Edit: In reply to "To fix errors, need rebuild wx?", you must set WXWIN_COMPATIBILITY_2_4=1 and rebuild wx or you must edit the code in code blocks to not use wxHIDE_READONLY.
If you wish to test CB with 2.7 you must/should edit CB to not use wxHIDE_READONLY.
(Note: I am lazy and I am trying to use #define wxHIDE_READONLY 0 to set wxHIDE_READONLY=0 in the idea that I won't have to edit as many files; i am trying this in the codeblocks defines.)
And, it seems to be required that CB and wxWidgets both have to be compiled with WXWIN_COMPATIBILITY_2_4=0 if CB was compiled with it set to zero. I have to fix my installation of CB now.
Tim S
DmP:
--- Quote from: stahta01 on October 05, 2006, 10:05:52 am ---
I am going to test right now and see if I get the same errors with SVN 3008
Edit: Look at this for more info http://forums.codeblocks.org/index.php?topic=3474.msg27345
Edit: In reply to "To fix errors, need rebuild wx?", you must set WXWIN_COMPATIBILITY_2_4=1 and rebuild wx or you must edit the code in code blocks to not use wxHIDE_READONLY.
Tim S
--- End quote ---
Thanks Tim.
thomas:
I removed all instances of wxHIDE_READONLY in 3013.
The interesting thing about it is that this constant is marked "deprecated" in 2.6+, which should actually trigger a warning, not break the build...
Navigation
[0] Message Index
[#] Next page
Go to full version