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

Offline gd_on

  • Regular
  • ***
  • Posts: 494
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: [Select]
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 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline gd_on

  • Regular
  • ***
  • Posts: 494
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 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).