"Wrong C++ default declaration in a method" build failure(s)
clang 2.9
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 |
ants | 1.9+svn532-5 | itkBSplineControlPointImageFilter.txx:890:16: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| Log |
|
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 |
|
grass | 6.4.1-1 | ami_stream.h:250:22: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| Log |
|
igstk | 4.2.0-5 | igstkStateMachine.txx:486:52: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| Log |
|
sofa-framework | 1.0~beta4-5.1 | ../../../framework/sofa/core/objectmodel/Data.h:281:42: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| Log |
|
5 errors