"Changes of default constructor" build failure(s)
clang 3.8.1
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 |
gem | 1:0.93.3-10 | gemlist_info.cpp:37:42: error: addition of default argument on redeclaration makes this constructor a default constructor
| Log |
|
kbibtex | 0.4-4 | websearchabstract.cpp:69:63: error: addition of default argument on redeclaration makes this constructor a default constructor
| Log |
753270
|
linpsk | 1.2.5~rc1-1 | src/csound.cpp:72:22: error: addition of default argument on redeclaration makes this constructor a default constructor
| Log |
753272
|
wicd-kde | 0.3.1-1 | networkplotter.cpp:28:47: error: addition of default argument on redeclaration makes this constructor a default constructor
| Log |
753339
|
4 errors