Actions
Bug #4903
closedCompiler error on auth2 example
Start date:
05/09/2016
Due date:
% Done:
0%
Estimated time:
Description
With github version 3.3.5-26-g9c44b4e building with gcc 4.7.2 (Debian 7.10), the following error is reported with the auth2 example:
examples/feature/auth2/RegistrationView.C: In member function ‘virtual Wt::WFormWidget* RegistrationView::createFormWidget(Wt::WFormModel::
examples/feature/auth2/RegistrationView.C:27:64: error: invalid conversion from ‘Wt::WWidget*’ to ‘Wt::WFormWidget*’ [-fpermissive]
The attached patch provides a clean compilation, but is otherwise untested.
Files
Updated by Koen Deforche over 8 years ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
- Target version set to 3.3.6
Bruce, that's right, I recently changed the return types to match the WTemplateFormView contract, but forgot about the examples.
Updated by Roel Standaert over 8 years ago
- Status changed from InProgress to Implemented @Emweb
Updated by Koen Deforche over 8 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Koen Deforche over 8 years ago
- Status changed from Resolved to Closed
Actions