Project

General

Profile

Actions

Bug #4903

closed

Compiler error on auth2 example

Added by Bruce Toll over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
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

Actions #1

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.

Actions #2

Updated by Roel Standaert over 8 years ago

  • Status changed from InProgress to Implemented @Emweb
Actions #3

Updated by Koen Deforche over 8 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #4

Updated by Koen Deforche over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF