Looks like there is an issue with wxWidget 3.1.7 compared to 3.1.6 in that BlueHazzard's cbSystemView plugin (https://forums.codeblocks.org/index.php?topic=22207.0 for info) failes to build with the error below on 3.1.7, but is okay with 3.1.6:
D:\Andrew_Development\Work_Installers\CodeBLocks_Private_Experimental\src\plugins\contrib-wip\cbSystemView\src\cbSVWindow.cpp: In constructor 'cbSVWindow::cbSVWindow(wxWindow*)':
D:\Andrew_Development\Work_Installers\CodeBLocks_Private_Experimental\src\plugins\contrib-wip\cbSystemView\src\cbSVWindow.cpp:194:36: error: 'void wxPropertyGridPageState::SetColumnCount(int)' is protected within this context
194 | m_pg_first_page->SetColumnCount(4);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from D:\Andrew_Development\Libraries\wxWidgets-3.1.7_win64\include/wx/propgrid/propgridiface.h:19,
from D:\Andrew_Development\Libraries\wxWidgets-3.1.7_win64\include/wx/propgrid/propgrid.h:23,
from D:\Andrew_Development\Libraries\wxWidgets-3.1.7_win64\include/wx/propgrid/manager.h:18,
from .\include/cbSVWindow.h:32,
from D:\Andrew_Development\Work_Installers\CodeBLocks_Private_Experimental\src\plugins\contrib-wip\cbSystemView\src\cbSVWindow.cpp:19:
D:\Andrew_Development\Libraries\wxWidgets-3.1.7_win64\include/wx/propgrid/propgridpagestate.h:586:10: note: declared protected here
586 | void SetColumnCount(int colCount);
| ^~~~~~~~~~~~~~
Process terminated with status 1 (0 minute(s), 3 second(s))
I have not looked into the error above.
The following is the list of plugin's I build and they all loaded without any errors on C::B startup:- abbreviations.dll
- astyle.dll
- autosave.dll
- AutoVersioning.dll
- BrowseTracker.dll
- byogames.dll
- cbBuildTools.dll
- cbDiff.dll
- cbInno.dll
- cbMarkdown.dll
- cbMemoryView.dll
- cbNSIS.dll
- CBTortoiseSVN.dll
- Cccc.dll
- clangd_client.dll
- classwizard.dll
- codecompletion.dll
- codesnippets.dll
- codestat.dll
- compiler.dll
- copystrings.dll
- CppCheck.dll
- Cscope.dll
- debugger.dll
- debugger_gdbmi.dll
- defaultmimehandler.dll
- devpakupdater.dll
- DisplayEvents.dll
- DoxyBlocks.dll
- DragScroll.dll
- EditorConfig.dll
- EditorTweaks.dll
- envvars.dll
- Exporter.dll
- FileManager.dll
- FortranProject.dll
- GitBlocks.dll
- headerfixup.dll
- headerguard.dll
- help_plugin.dll
- HexEditor.dll
- IncrementalSearch.dll
- keybinder.dll
- lib_finder.dll
- loghacker.dll
- ModPoller.dll
- MouseSap.dll
- NassiShneiderman.dll
- occurrenceshighlighting.dll
- openfileslist.dll
- Profiler.dll
- ProjectOptionsManipulator.dll
- projectsimporter.dll
- RegExTestbed.dll
- ReopenEditor.dll
- rndgen.dll
- scriptedwizard.dll
- SmartIndentCpp.dll
- SmartIndentFortran.dll
- SmartIndentHDL.dll
- SmartIndentLua.dll
- SmartIndentPascal.dll
- SmartIndentPython.dll
- SmartIndentXML.dll
- SpellChecker.dll
- SymTab.dll
- ThreadSearch.dll
- tidycmt.dll
- todo.dll
- ToolsPlus.dll
- wxsmith.dll
- wxSmithAui.dll
- wxSmithContribItems.dll
- xpmanifest.dll
The wxWidget 3.1.7 changes to the wxPropertyGridPageState class has caused the cbSystemView build to now fail.
The changed file is include\wx\propgrid\propgridpagestate.h and is caused by the following changes as per the following changes.txt file entry:
3.1.7: (released 2022-06-06) ---------------------------- INCOMPATIBLE CHANGES SINCE 3.1.6: - wxPropertyGridPageState funtions intended for internal use are no longer public. Corresponding functions in wxPropertyGridInterface, wxPropertyGrid, wxPropertyGridPage, and wxPropertyGridManager should be used instead.
On MacOS using wxWidgets 3.1.7 the C::B build fails with an ambiguous error for the src\sdk\editormanager.cpp on line 545 with the AddPage.
The function with the AddPage in it that fails is:
void EditorManager::AddEditorBase(EditorBase* eb)
{
int page = FindPageFromEditor(eb);
if (page == -1)
{
// use fullname as default, so tabs stay as small as possible
wxFileName fn(eb->GetTitle());
m_pNotebook->AddPage(eb, fn.GetFullName(), true);
}
}
the build log for the error is:
editormanager.cpp:545:22: error: call to member function 'AddPage' is ambiguous
m_pNotebook->AddPage(eb, fn.GetFullName(), true);
~~~~~~~~~~~~~^~~~~~~
/usr/local/include/wx-3.1/wx/aui/auibook.h:279:10: note: candidate function
bool AddPage(wxWindow* page,
^
../../src/include/cbauibook.h:125:14: note: candidate function
bool AddPage(wxWindow* page,
^
Using wxWidget 3.1.5 the C:B build does not fail.
Using wxWidget 3.2.0 rc1 also fails to build.
You still have to patch setup.h in \lib\gcc_dll\mswu\wx, line 1659 by :
#define wxUSE_GRAPHICS_DIRECT2D 1 // Modif GD for CB >= 11701