"Changes of default constructor" build failure(s)
clang 5.0
This code is a defect of the C++ standard:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1344
class foo {
int a;
foo(int);
};
foo::foo(int c = 5) : a(c) {
}
Package | Version | Supposed error message | Full log |
Bug report |
kbibtex | 0.4-4 | websearchabstract.cpp:69:63: error: addition of default argument on redeclaration makes this constructor a default constructor
| Log |
753270
|
ucimf-openvanilla | 2.10.11-3 | openvanilla.cpp:32:33: error: addition of default argument on redeclaration makes this constructor a default constructor
| Log |
753337
|
2 errors