In file included from c:/wxWidgets/include/wx/platform.h:293:0,
from c:/wxWidgets/include/wx/defs.h:21,
from c:/wxWidgets/include/wx/wx.h:15,
from main.cpp:2:
c:/wxWidgets/include/wx/chkconf.h:1817:9: error: #error "wxClipboard requires wxDataObject"
# error "wxClipboard requires wxDataObject"
^
In file included from c:/wxWidgets/include/wx/wx.h:15:0,
from main.cpp:2:
c:/wxWidgets/include/wx/defs.h:2887:5: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
"/manifestdependency:\"type='win32' \
^
c:/wxWidgets/include/wx/buffer.h: In constructor 'wxCharBuffer::wxCharBuffer(const char*)':
In file included from c:/wxWidgets/include/wx/string.h:55:0,
from c:/wxWidgets/include/wx/memory.h:16,
from c:/wxWidgets/include/wx/object.h:20,
from c:/wxWidgets/include/wx/wx.h:16,
from main.cpp:2:
c:/wxWidgets/include/wx/buffer.h:29:37: error: 'strdup' was not declared in this scope
: m_str(str ? strdupfunc(str) : NULL) \
^
c:/wxWidgets/include/wx/buffer.h:127:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxCharBuffer, char, wxStrdupA);
^
c:/wxWidgets/include/wx/buffer.h: In member function 'wxCharBuffer& wxCharBuffer::operator=(const char*)':
c:/wxWidgets/include/wx/buffer.h:81:37: error: 'strdup' was not declared in this scope
m_str = str ? strdupfunc(str) : NULL; \
^
c:/wxWidgets/include/wx/buffer.h:127:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxCharBuffer, char, wxStrdupA);
^
c:/wxWidgets/include/wx/buffer.h: In constructor 'wxWCharBuffer::wxWCharBuffer(const wchar_t*)':
c:/wxWidgets/include/wx/buffer.h:29:37: error: '_wcsdup' was not declared in this scope
: m_str(str ? strdupfunc(str) : NULL) \
^
c:/wxWidgets/include/wx/buffer.h:134:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxStrdupW);
^
c:/wxWidgets/include/wx/buffer.h: In member function 'wxWCharBuffer& wxWCharBuffer::operator=(const wchar_t*)':
c:/wxWidgets/include/wx/buffer.h:81:37: error: '_wcsdup' was not declared in this scope
m_str = str ? strdupfunc(str) : NULL; \
^
c:/wxWidgets/include/wx/buffer.h:134:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxStrdupW);
^
c:/wxWidgets/include/wx/string.h: In function 'int Stricmp(const char*, const char*)':
In file included from c:/wxWidgets/include/wx/memory.h:16:0,
from c:/wxWidgets/include/wx/object.h:20,
from c:/wxWidgets/include/wx/wx.h:16,
from main.cpp:2:
c:/wxWidgets/include/wx/string.h:141:31: error: 'strcasecmp' was not declared in this scope
return strcasecmp(psz1, psz2);
^
c:/wxWidgets/include/wx/list.h: In constructor 'wxListKey::wxListKey(const wxChar*)':
In file included from c:/wxWidgets/include/wx/wx.h:18:0,
from main.cpp:2:
c:/wxWidgets/include/wx/list.h:406:36: error: 'strdup' was not declared in this scope
{ m_key.string = wxStrdup(s); }
^
c:/wxWidgets/include/wx/list.h: In constructor 'wxListKey::wxListKey(const wxString&)':
c:/wxWidgets/include/wx/list.h:408:44: error: 'strdup' was not declared in this scope
{ m_key.string = wxStrdup(s.c_str()); }
^
main.cpp: In function 'int main()':
main.cpp:77:13: error: no matching function for call to 'MyFrame::MyFrame()'
MyFrame f;
^
main.cpp:77:13: note: candidate is:
main.cpp:45:1: note: MyFrame::MyFrame(const wxString&, const wxPoint&, const wxSize&)
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
^
main.cpp:45:1: note: candidate expects 3 arguments, 0 provided |