"Wrong C++ default declaration in a method" build failure(s)
clang 3.3
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.2+svn680.dfsg-4 | itkBSplineControlPointImageFilter.txx:890:16: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| Log |
|
brainparty | 0.61+dfsg-1 | ./BPList.h:174:29: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| Log |
|
grass | 6.4.2-2 | ami_stream.h:252:22: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| Log |
|
igstk | 4.4.0-2 | 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-7.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