Actions
Bug #202
closedWt::Signal demo code does not compile under Mac OS X 10.6.2, gcc 4.2.1
Start date:
12/02/2009
Due date:
% Done:
0%
Estimated time:
Description
The sample code on http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1Signal.html does not compile with Mac OS X 10.6.2, gcc 4.2.1 The compiler complains:
In member function 'void GUIClass::init()':
src/signaldemo.cpp:32: error: no matching function for call to 'Wt::Signal<int, std::basic_string<char, std::char_traits, std::allocator >, Wt::NoClass, Wt::NoClass, Wt::NoClass, Wt::NoClass>::connect(GUIClass* const, void (GUIClass::*)(int, std::string&))'
Files
Updated by Koen Deforche over 14 years ago
Ooops...
I have fixed this (i.e. WSignal) in our development branch.
In the meanwhile, you can build theexample (if you hadn't found out yet) by changing the signature of whenDone() to have as second argument a 'std::string' instead of a 'const std::string&'.
Updated by Koen Deforche over 14 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Updated by Koen Deforche about 14 years ago
- Status changed from Resolved to Closed
Actions