User forums > Help

Linux build - Tools Node Regression?

<< < (5/7) > >>

Jenna:
As far as I know poedit is on all major distros.
I build packages of C::B for CentOS 5 + 6, Fedora 18 - 21 and Debian stable and unstable and I do not have any issues there.
So I think poedit can either be linked against wxWidgets without "--use-stl" as it is or it is patched to build this way. It might (of course) also be a wx3.0 problem with poedit.
But C::B builds fine with wx3.0 (and wxtrunk) without "--use-stl", it builds even again wx3.1 with gtk3 (with some patches), but it looks really ugly and is not stable.

digifuzzy:

--- Quote from: jens on May 04, 2014, 09:42:30 pm ---it builds even again wx3.1 with gtk3 (with some patches), but it looks really ugly and is not stable.

--- End quote ---
I also got deprecated messages during the build. The change I was looking at doing was #75565 from wxWidgets (font/brush/and other constants are changed from int to a typed value). But that's in 3.1 as Tim has pointed out.

Jenna:
As I said, C::B builds fine with wxtrunk (which is wx3.1).
I know there are a lot of deprectation warnings, I have fixed almost all of them in my working copy and will commit the fixes as soon as possible.
If I forget it, you can remember me to do it.
There is some private (family) stuff that takes a lot of my power the last weeks and will do it the next time (nothing I can influence).

digifuzzy:

--- Quote from: jens on May 04, 2014, 10:14:50 pm ---As I said, C::B builds fine with wxtrunk (which is wx3.1).
I know there are a lot of deprectation warnings, I have fixed almost all of them in my working copy and will commit the fixes as soon as possible.
If I forget it, you can remember me to do it.
There is some private (family) stuff that takes a lot of my power the last weeks and will do it the next time (nothing I can influence).

--- End quote ---

Here...let me help...
Attached is all the warnings/deprecations I got from gcc48 build.
Should note: there is a warning message (starting line 117 ) for ExpressionExecutor.cpp and ExpressionTestCases.cpp

--- Code: ---ExpressionExecutor.cpp:119:32: note: the ABI of passing union with long double has changed in GCC 4.4
     Value Executor::GetResult( )
                                ^

--- End code ---

And the deprecation warnings stem from...

--- Quote from: http://trac.wxwidgets.org/changeset/75565 ---Just deprecate but don't schedule for removal wxNORMAL and friends.

Deprecate the use of the old untyped constants but don't schedule them from
removal in a future wx version by removing "#if WXWIN_COMPATIBILITY_3_0" tests
around their definition and use. Provoking deprecation warnings in the code
using these constants is worth it as they are unclear and it's easy to make
mistakes when using them, but breaking this code compilation outright can't be
justified -- even in the future.

--- End quote ---

I don't know if can help you more than that, Jens.

[attachment deleted by admin]

stahta01:

--- Quote from: stahta01 on May 04, 2014, 09:30:13 pm ---
--- Quote from: BlueHazzard on May 04, 2014, 09:25:49 pm ---
--- Quote from: stahta01 on May 04, 2014, 09:20:46 pm ---
Try to make Code::Blocks compile when the wx uses "--use-stl" flag. (I have tried and failed on this; normally in the scripting section.)

--- End quote ---

some hint where? At the moment i don't have the resources to compile wx again...

--- End quote ---

It was months ago, IIRC it was in the script binding section.

I do NOT really have the harddisk space to compile wxWidgets right now either.
Next time I try I will try to post the errors.
Edit: trying to compile it now; I hope to get the error before the data/build disk is full.
Edit2: Made to sdk before error happened.

Tim S.

--- End quote ---

Several SDK issues when wxWidgets uses STL.
wxSafeConvertWX2MB function has compiler errors.

--- Code: ---In file included from E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\cbplugin.cpp:42:0:
include/loggers.h: In member function 'virtual void StdoutLogger::Append(const wxString&, Logger::level)':
include/loggers.h:34:37: error: cannot convert 'const wxString' to 'const wchar_t*' for argument '1' to 'wxCharBuffer wxSafeConvertWX2MB(const wchar_t*)'
         fputs(wxSafeConvertWX2MB(msg), lv < error ? stdout : stderr);

--- End code ---

Manager::Get()->GetLogManager()->DebugLog has compiler errors

--- Code: ---E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\cbplugin.cpp: In member function 'void cbDebuggerPlugin::SwitchToDebuggingLayout()':
E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\cbplugin.cpp:605:109: error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' for argument '1' to 'wxString F(const wxChar*, ...)'
     Manager::Get()->GetLogManager()->DebugLog(F(_("Switching layout to \"%s\""), switchEvent.layout.wx_str()));

--- End code ---
Manager::Get()->GetLogManager()->Log has compiler errors

--- Code: ---E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\editorcolourset.cpp: In member function 'void EditorColourSet::LoadAvailableSets()':
E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\editorcolourset.cpp:116:96: error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' for argument '1' to 'wxString F(const wxChar*, ...)'
         Manager::Get()->GetLogManager()->Log(F(_("Scanning for lexers in %s..."), path.wx_str()));

--- End code ---

wxString function Index does not exist take a look at the Find function might be the correct replacement.

--- Code: ---E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\macrosmanager.cpp: In member function 'void MacrosManager::ReplaceMacros(wxString&, ProjectBuildTarget*, bool)':
E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\macrosmanager.cpp:500:46: error: no matching function for call to 'wxString::Index(const wxString&)'
     while ((index = buffer.Index(toNativePath)) != wxNOT_FOUND)

--- End code ---

wxString function CompareTo does not take a look at the Cmp function might be the correct replacement.

--- Code: ---E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\pluginsconfigurationdlg.cpp: In function 'int sortByTitle(wxIntPtr, wxIntPtr, wxIntPtr)':
E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_git\svn-codeblocks-trunk\src\sdk\pluginsconfigurationdlg.cpp:47:57: error: no matching function for call to 'wxString::CompareTo(const wxString&) const'
     return elem1->info.title.CompareTo(elem2->info.title);

--- End code ---

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version