Author Topic: compilation problem in fortranplugin for svn 11780  (Read 414 times)

Offline gd_on

  • Regular
  • ***
  • Posts: 488
compilation problem in fortranplugin for svn 11780
« on: July 05, 2019, 10:19:40 am »
When building C::B 11780 I obtain a compilation error in FortranPlugin :
Code: [Select]
-------------- Générer : default dans FortranProject wx3.1.x (64 bit) (compilateur : GNU GCC Compiler)---------------

Compilation : fortranproject.cpp
Compilation : indentestimator.cpp
Compilation : keywordsparserf.cpp
Compilation : makefilegen.cpp
Compilation : nativeparserf.cpp
Compilation : parserf.cpp
C:\Users\Gerard\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\fortranproject.cpp: In member function 'virtual bool FortranProject::BuildToolBar(wxToolBar*)':
C:\Users\Gerard\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\contrib\FortranProject\fortranproject.cpp:1265:34: error: 'class Manager' has no member named 'GetToolbarImageSize'; did you mean 'GetImageSize'?
     int imSize = Manager::Get()->GetToolbarImageSize();
                                  ^~~~~~~~~~~~~~~~~~~
                                  GetImageSize
Compilation : parserthreadf.cpp
Le processus s'est terminé avec le code d'état 1 (0 minute(s), 12 seconde(s))
 

I am on Windows 10 with MinGW 8.1 seh posix version. No problems with my previous svn 11764.

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 Miguel Gimenez

  • Regular
  • ***
  • Posts: 368
Re: compilation problem in fortranplugin for svn 11780
« Reply #1 on: July 05, 2019, 11:54:04 am »
GetToolbarImageSize() has been removed, use

Code: [Select]
    int imSize = Manager::Get()->GetImageSize(Manager::UIComponent::Toolbars);
instead until Darmar fixes the code