User forums > General (but related to Code::Blocks)
New wxWidgets releases
Miguel Gimenez:
wx3.2.10 and wx3.3.2 have been released simultaneously.
stahta01:
Has anyone gotten Code::Blocks to build with wx3.3.2?
I gave up building wxWidgets git master about a month ago because of a build error already reported on this website by someone else.
Had to do with scripting and the red, blue, and green methods.
Tim S.
ollydbg:
--- Code: ---[ 23.3%] g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -DHAVE_W32API_H -D__WXMSW__ -D_WIN64 -DWXUSINGDLL -DcbDEBUG -DNOPCH -DBUILDING_PLUGIN -DwxUSE_UNICODE -std=gnu++11 -g -std=gnu++11 -IF:\code\wxWidgets-3.3.2\lib\gcc_dll\mswud -IF:\code\wxWidgets-3.3.2\include -I..\..\..\include -I..\..\..\include\tinyxml -I..\..\..\sdk\wxscintilla\include -I..\..\..\include\scripting\include -c F:\code\codeblocks-src\codeblocks_sfmirror\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxschoice.cpp -o ..\..\..\.objs33_64\plugins\contrib\wxSmithLib\wxwidgets\defitems\wxschoice.o
In file included from F:\code\wxWidgets-3.3.2\include/wx/arrstr.h:15,
from F:\code\wxWidgets-3.3.2\include/wx/ctrlsub.h:17,
from F:\code\wxWidgets-3.3.2\include/wx/listbox.h:21,
from F:\code\wxWidgets-3.3.2\include/wx/checklst.h:17,
from F:\code\codeblocks-src\codeblocks_sfmirror\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxschecklistbox.cpp:24:
F:\code\wxWidgets-3.3.2\include/wx/dynarray.h: In instantiation of 'T& wxBaseArray<T, Sorter>::operator[](size_t) [with T = bool; Sorter = wxSortedArray_SortFunction<bool>; size_t = long long unsigned int]':
F:\code\codeblocks-src\codeblocks_sfmirror\src\plugins\contrib\wxSmith\wxwidgets\defitems\wxschecklistbox.cpp:72:35: required from here
72 | if ( ArrayChecks[i] )
| ^
F:\code\wxWidgets-3.3.2\include/wx/dynarray.h:128:36: error: cannot bind non-const lvalue reference of type 'bool&' to an rvalue of type 'bool'
128 | return base_vec::operator[](uiIndex);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from D:/code/msys2/mingw64/include/c++/14.2.0/vector:67,
from F:\code\wxWidgets-3.3.2\include/wx/strvararg.h:34,
from F:\code\wxWidgets-3.3.2\include/wx/string.h:34,
from F:\code\wxWidgets-3.3.2\include/wx/arrstr.h:14:
D:/code/msys2/mingw64/include/c++/14.2.0/bits/stl_bvector.h:99:5: note: after user-defined conversion: 'std::_Bit_reference::operator bool() const'
99 | operator bool() const _GLIBCXX_NOEXCEPT
| ^~~~~~~~
Process terminated with status 1 (15 minute(s), 30 second(s))
Process terminated with status 0 (15 minute(s), 32 second(s))
1 error(s), 28 warning(s) (15 minute(s), 32 second(s))
--- End code ---
I just tried, and I see the build failure as above.
I built the wx 3.3.2 library with the command:
--- Code: ---mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1
--- End code ---
ollydbg:
I just compare the 2 release:
https://github.com/wxWidgets/wxWidgets/compare/v3.3.1...v3.3.2
I see this that the only 2 functions were added in the file: include/wx/dynarray.h
--- Code: ---T& operator[](size_t uiIndex)
{
wxASSERT( uiIndex < this->size() );
return base_vec::operator[](uiIndex);
}
const T& operator[](size_t uiIndex) const
{
wxASSERT( uiIndex < this->size() );
return base_vec::operator[](uiIndex);
}
--- End code ---
Miguel Gimenez:
--- Quote from: stahta01 on March 04, 2026, 01:11:32 am ---Has anyone gotten Code::Blocks to build with wx3.3.2?
I gave up building wxWidgets git master about a month ago because of a build error already reported on this website by someone else.
Had to do with scripting and the red, blue, and green methods.
--- End quote ---
This was fixed in r13802.
Navigation
[0] Message Index
[#] Next page
Go to full version