Project

General

Profile

Bug #1797

clang warnings in Wt headers

Added by Nathan Ridge about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/29/2013
Due date:
% Done:

0%

Estimated time:

Description

When compiling a file that simply includes , I get the following warnings:

In file included from test.cpp:1:
In file included from Wt/WWidget:15:
In file included from Wt/WJavaScript:14:
In file included from Wt/WLogger:10:
Wt/WStringStream:98:9: warning: unused variable 'please_cast_to_a_supported_type' [-Wunused-variable]
int please_cast_to_a_supported_type = t;
^
In file included from test.cpp:1:
Wt/WWidget:1076:16: warning: 'Wt::WWidget::removeChild' hides overloaded virtual function [-Woverloaded-virtual]
virtual void removeChild(WWidget *child) = 0;
^
Wt/WObject:287:16: note: hidden overloaded virtual function 'Wt::WObject::removeChild' declared here
virtual void removeChild(WObject *child);
^

It would be great if these warnings would be fixed or worked around, to reduce noise when compiling Wt programs with clang.

No data to display

Also available in: Atom PDF