"Changes of default constructor" build failure(s)
clang 8.0.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 |
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-3 | TagHeader.cpp:188:31: error: addition of default argument on redeclaration makes this constructor a default constructor
| Log |
751540
|
2 errors