"Changes of default constructor" build failure(s) — clang 11.0.0
This code is a defect of the C++ standard:
class foo {
int a;
foo(int);
};
foo::foo(int c = 5) : a(c) {
}
| Package | Version | Supposed error message | Full log | Bug report |
|---|---|---|---|---|
| canu | 2.0+dfsg-1 | overlapAlign/clearRangeFile.C:29:38: error: addition of default argument on redeclaration makes this constructor a default constructor | Log | |
| gtkguitune | 0.8-6 | lcdview.cc:26:31: error: addition of default argument on redeclaration makes this constructor a default constructor | Log | |
| libgdf | 0.1.3-4 | TagHeader.cpp:188:31: error: addition of default argument on redeclaration makes this constructor a default constructor | Log |
3 errors