"Wrong C++ default declaration in a method" build failure(s) — clang 3.8.1
The default argument must be set in the definition or the definition done in the method declaration.
class string
{
friend string foo(int bar = 0);
};
| Package | Version | Supposed error message | Full log | Bug report |
|---|---|---|---|---|
| clamfs | 1.0.1-1.1 | string.h:734:35: error: friend declaration specifying a default argument must be a definition | Log | |
| ddd | 1:3.3.12-5.1 | strclass.h:813:19: error: friend declaration specifying a default argument must be a definition | Log | 755226 |
| ghemical | 3.0.0-1 | ./project.h:210:14: error: friend declaration specifying a default argument must be a definition | Log | |
| libabigail | 1.0~rc4-1 | abg-comparison.h:2685:3: error: friend declaration specifying a default argument must be a definition | Log | |
| libccscript3 | 1.1.7-2 | string.h:734:35: error: friend declaration specifying a default argument must be a definition | Log | |
| libcommoncpp2 | 1.8.1-6.1 | ../inc/cc++/string.h:734:35: error: friend declaration specifying a default argument must be a definition | Log | |
| ui-utilcpp | 1.8.5-1 | string.h:734:35: error: friend declaration specifying a default argument must be a definition | Log | |
| vfu | 4.10-1.1 | ./vstring.h:274:19: error: friend declaration specifying a default argument must be a definition | Log |
8 errors