On Wed, 2 Mar 2016 14:39:29 +0100 Vadim Zeitlin <[email protected]>
wrote:
VZ> just let me push out my (mostly
VZ> Windows-only) changes to both GitHub and SF so that we could avoid having
VZ> differences between them again as it happened the last time.
Trying to compile:
.src/gui/wxComposeView.cpp: In member function ‘wxWindow*
{anonymous}::AttachNamesInFileDialog::DoCreate(wxWindow*)’:
.src/gui/wxComposeView.cpp:4506:73: warning: lambda expressions only available
with -std=c++11 or -std=gnu++11
[=](wxCommandEvent&) { m_names = m_text->GetValue(); });
^
.src/gui/wxComposeView.cpp:4506:74: error: no matching function for call to
‘wxTextCtrl::Bind(const wxEventTypeTag<wxCommandEvent>&,
{anonymous}::AttachNamesInFileDialog::DoCreate(wxWindow*)::<lambda(wxCommandEvent&)>)’
[=](wxCommandEvent&) { m_names = m_text->GetValue(); });
^
In file included from /a/M/wxWindows.31/wxWidgets/include/wx/wx.h:24:0,
from .src/../include/Mpch.h:27:
/a/M/wxWindows.31/wxWidgets/include/wx/event.h:3504:10: note: candidate:
template<class EventTag, class EventArg> void wxEvtHandler::Bind(const
EventTag&, void (*)(EventArg&), int, int, wxObject*)
void Bind(const EventTag& eventType,
^
/a/M/wxWindows.31/wxWidgets/include/wx/event.h:3504:10: note: template
argument deduction/substitution failed:
.src/gui/wxComposeView.cpp:4506:74: note: mismatched types ‘void
(*)(EventArg&)’ and
‘{anonymous}::AttachNamesInFileDialog::DoCreate(wxWindow*)::<lambda(wxCommandEvent&)>’
[=](wxCommandEvent&) { m_names = m_text->GetValue(); });
^
In file included from /a/M/wxWindows.31/wxWidgets/include/wx/wx.h:24:0,
from .src/../include/Mpch.h:27:
/a/M/wxWindows.31/wxWidgets/include/wx/event.h:3530:10: note: candidate:
template<class EventTag, class Functor> void wxEvtHandler::Bind(const
EventTag&, const Functor&, int, int, wxObject*)
void Bind(const EventTag& eventType,
^
/a/M/wxWindows.31/wxWidgets/include/wx/event.h:3530:10: note: template
argument deduction/substitution failed
Regards,
Nerijus
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers