Author Topic: Problem with svn 7250  (Read 6625 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Problem with svn 7250
« on: June 23, 2011, 09:09:55 pm »
While compiling svn 7251 I obtain this error (but probably a svn 7250 problem) :
Code
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 (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Problem with svn 7250
« Reply #1 on: June 23, 2011, 09:30:08 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: Problem with svn 7250
« Reply #2 on: June 24, 2011, 08:45:03 am »
OK.
I have seen that you have already included the correction in svn 7252. 8)
Thanks.

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