Survex 1.2.17 fails to compile on Fedora 21
Olly Betts
olly at survex.com
Mon Mar 2 09:36:14 GMT 2015
On Sun, Mar 01, 2015 at 08:30:56AM -0600, Bill Gee wrote:
> In file included from gfxcore.h:35:0,
> from mainfrm.h:35,
> from aven.cc:30:
> labelinfo.h: In member function ‘const char* LabelInfo::name_or_anon() const’:
> labelinfo.h:78:39: error: cannot convert ‘const wxChar* {aka const wchar_t*}’
> to ‘const char*’ in return
> if (!text.empty()) return text.c_str();
> ^
OK, this change should fix that:
http://trac.survex.com/changeset/d7ee3286eb62f48f485748b6bbae40a546833637/git
I'd recommend using wxWidgets 3.0 if you can though, as wxWidgets 2.8 is
no longer maintained - the last release (2.8.12) was just under 4 years
ago now.
It looks like Fedora 21 has it:
https://apps.fedoraproject.org/packages/wxGTK3-devel
Cheers,
Olly
More information about the Survex
mailing list