On a current Gentoo system (wxGTK version 2.8.12.1) I cannot compile zyk-0.8.0:
make all-am
make[1]: Entering directory `/tmp/zyk-0.8.0'
g++ -DHAVE_CONFIG_H -I. -I./unix -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DWX_VERSION_MAJOR=2 -DWX_VERSION_MINOR=8 -g -O2 -g -DDEBUG -pthread -g -O2 -I/usr/include/python2.7 -I/usr/include/python2.7 -DVERSION=\"0.8.0\" -g -O2 -I/usr/include/python2.7 -I/usr/include/python2.7 -MT zyk-zyk_app.o -MD -MP -MF .deps/zyk-zyk_app.Tpo -c -o zyk-zyk_app.o `test -f 'src/zyk_app.cc' || echo './'`src/zyk_app.cc
In file included from src/zyk_app.h:51:0,
from src/zyk_app.cc:66:
src/zyk_conf.h:56:1: error: expected class-name before ‘{’ token
src/zyk_conf.h:61:30: error: default argument for parameter of type ‘const wxString&’ has type ‘const char [17]’
In file included from src/zyk_app.cc:66:0:
src/zyk_app.h:79:16: error: expected constructor, destructor, or type conversion before ‘(’ token
src/zyk_app.cc:77:15: error: expected constructor, destructor, or type conversion before ‘(’ token
src/zyk_app.cc:82:3: error: ‘wxEVT_COMMAND_THREAD_LOADED’ was not declared in this scope
src/zyk_app.cc: In function ‘PyObject* app_filename(PyObject*, PyObject*)’:
src/zyk_app.cc:112:3: error: ‘wxScopedCharBuffer’ was not declared in this scope
src/zyk_app.cc:112:22: error: expected ‘;’ before ‘bf’
src/zyk_app.cc:114:3: error: ‘bf’ was not declared in this scope
src/zyk_app.cc: In member function ‘void ZykApp::cache_maybe_load()’:
src/zyk_app.cc:320:38: error: ‘CreateThread’ was not declared in this scope
src/zyk_app.cc: In member function ‘virtual void* ZykApp::Entry()’:
src/zyk_app.cc:416:43: error: ‘wxEVT_COMMAND_THREAD_LOADED’ was not declared in this scope
src/zyk_app.cc:416:71: error: ‘wxQueueEvent’ was not declared in this scope
src/zyk_app.cc: In member function ‘int ZykApp::prepare_script(int)’:
src/zyk_app.cc:545:3: error: ‘wxScopedCharBuffer’ was not declared in this scope
src/zyk_app.cc:545:22: error: expected ‘;’ before ‘f_utf8’
src/zyk_app.cc:554:27: error: ‘class wxFilePickerCtrl’ has no member named ‘GetFileName’
src/zyk_app.cc:588:5: error: ‘f_utf8’ was not declared in this scope
src/zyk_app.cc: In member function ‘void ZykApp::do_image()’:
src/zyk_app.cc:1115:119: error: conversion from ‘const char [23]’ to ‘wxString’ is ambiguous
src/zyk_app.cc:1115:119: note: candidates are:
In file included from /usr/include/wx-2.8/wx/longlong.h:20:0,
from /usr/include/wx-2.8/wx/dir.h:15,
from src/zyk_app.cc:37:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from ‘const char [23]’ to ‘wxChar {aka wchar_t}’
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from ‘const char [23]’ to ‘int’
src/zyk_app.cc:1088:6: error: initializing argument 2 of ‘void ZykApp::prepare_internal_image(ZykImage**, wxString, int, unsigned char*, int, unsigned char*, int)’
src/zyk_app.cc:1120:108: error: conversion from ‘const char [12]’ to ‘wxString’ is ambiguous
src/zyk_app.cc:1120:108: note: candidates are:
In file included from /usr/include/wx-2.8/wx/longlong.h:20:0,
from /usr/include/wx-2.8/wx/dir.h:15,
from src/zyk_app.cc:37:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from ‘const char [12]’ to ‘wxChar {aka wchar_t}’
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from ‘const char [12]’ to ‘int’
src/zyk_app.cc:1088:6: error: initializing argument 2 of ‘void ZykApp::prepare_internal_image(ZykImage**, wxString, int, unsigned char*, int, unsigned char*, int)’
make[1]: *** [zyk-zyk_app.o] Error 1