News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Problem with svn 7250

Started by gd_on, June 23, 2011, 09:09:55 PM

Previous topic - Next topic

gd_on

While compiling svn 7251 I obtain this error (but probably a svn 7250 problem) :

C:\CodeBlocks_SVN\CodeBlocks_src\src\plugins\astyle\astyleplugin.cpp||In member function 'void AStylePlugin::OnFormatProject(wxCommandEvent&)':|
C:\CodeBlocks_SVN\CodeBlocks_src\src\plugins\astyle\astyleplugin.cpp|135|error: 'class ProjectManager' has no member named 'GetTreeSelection'|
C:\CodeBlocks_SVN\CodeBlocks_src\src\plugins\astyle\astyleplugin.cpp|38|warning: '<unnamed>::idCodeFormatterFile' defined but not used|
||=== Génération terminée : 1 erreurs, 1 avertissements (0 minutes, 7 secondes) ===|

I use Windows XP, C::B svn 7244, compiled by myself, tdm-gcc 4.5.2

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

MortenMacFly

Quote from: gd_on on June 23, 2011, 09:09:55 PM
While compiling svn 7251 I obtain this error (but probably a svn 7250 problem) :
I think that's my fault. Can you try if it works if you exchange the line:
wxTreeItemId treeItem = manager->GetTreeSelection();
...with:
wxTreeItemId treeItem = tree->GetSelection();
I have a patch pending that got partially included by accident here... :?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

gd_on

OK.
I have seen that you have already included the correction in svn 7252. 8)
Thanks.

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).