"Unused private field" build failure(s)
clang 3.8.1
clang -Wall -Werror will fail because bar is private (by default) and never used. g++ does not complain here.
class foo
{
int bar;
};
Package | Version | Supposed error message | Full log |
Bug report |
lmms | 1.1.3-3 | AutomatableModel.h:310:8: error: private field 'm_oldValue' is not used [-Werror,-Wunused-private-field]
| Log |
|
openni2 | 2.2.0.33+dfsg-6 | DDK/XnPixelStream.h:135:9: error: private field 'm_bAllowCustomResolutions' is not used [-Werror,-Wunused-private-field]
| Log |
|
2 errors