"Wrong C++ default declaration in a method" build failure(s) — clang 3.0
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 |
|---|---|---|---|---|
| bowtie | 0.12.7-1 | ./ebwt.h:3938:11: error: default arguments cannot be added to an out-of-line definition of a member of a class template | Log |
1 errors