Bug #1797
openclang warnings in Wt headers
0%
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