"Wrong C++ default declaration in a method" build failure(s)
clang 3.4
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 |
|
blender | 2.69-3 | frames.hpp:251:25: error: friend declaration specifying a default argument must be a definition
| 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 |
|
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 | strclass.h:813:19: error: friend declaration specifying a default argument must be a definition
| Log |
755226
|
eclib | 2013-01-01-1 | ./eclib/vec.h:81:20: error: friend declaration specifying a default argument must be a definition
| Log |
755227
|
festival | 1:2.1~release-6 | EST_String.h:576:16: error: friend declaration specifying a default argument must be a definition
| Log |
|
fltk1.1 | 1.1.10-16 | ./Fl_Type.h:47:21: error: friend declaration specifying a default argument must be a definition
| Log |
755228
|
gambit | 0.2010.09.01-1.1 | src/libgambit/integer.h:230:25: error: friend declaration specifying a default argument must be a definition
| Log |
755307
|
gfan | 0.5+dfsg-4 | ./polyhedralfan.h:77:24: error: friend declaration specifying a default argument must be a definition
| Log |
755308
|
ghemical | 3.0.0-1 | ./project.h:210:14: error: friend declaration specifying a default argument must be a definition
| Log |
756440
|
igstk | 4.4.0-6 | igstkStateMachine.txx:486:52: error: default arguments cannot be added to an out-of-line definition of a member of a class template
| 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 | ../inc/cc++/string.h:734:35: error: friend declaration specifying a default argument must be a definition
| Log |
756438
|
minisat2 | 1:2.2.1-4 | ./minisat/core/SolverTypes.h:50:16: error: friend declaration specifying a default argument must be a definition
| Log |
756336
|
sofa-framework | 1.0~beta4-8 | ../../../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 |
|
speech-tools | 1:2.1~release-6 | ../include/EST_String.h:576:16: error: friend declaration specifying a default argument must be a definition
| Log |
756335
|
texmacs | 1:1.0.7.18-1 | Kernel/Types/tree.hpp:87:15: error: friend declaration specifying a default argument must be a definition
| Log |
756333
|
vdr-plugin-fritzbox | 1.5.2-5 | 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 |
756330
|
20 errors