digitalmars.D - no matching function for call to =?windows-1252?Q?=91Type=3A=3Ad?=
- Andre Tampubolon (8/8) Feb 21 2012 I just fetched the latest source code, and when I was trying to build dm...
- kennytm (4/14) Feb 21 2012 Modify func.c as described in
- Andre Tampubolon (2/18) Feb 21 2012 Ah yes, it has been fixed already.
I just fetched the latest source code, and when I was trying to build dmd, I got this: func.c: In member function ‘MATCH FuncDeclaration::leastAsSpecialized(FuncDeclaration*)’: func.c:2493:45: error: no matching function for call to ‘Type::defaultInitLiteral()’ func.c:2493:45: note: candidate is: mtype.h:304:25: note: virtual Expression* Type::defaultInitLiteral(Loc) mtype.h:304:25: note: candidate expects 1 argument, 0 provided make: *** [func.o] Error 1 Any help?
Feb 21 2012
Andre Tampubolon <andre lc.vlsm.org> wrote:I just fetched the latest source code, and when I was trying to build dmd, I got this: func.c: In member function ‘MATCH FuncDeclaration::leastAsSpecialized(FuncDeclaration*)’: func.c:2493:45: error: no matching function for call to ‘Type::defaultInitLiteral()’ func.c:2493:45: note: candidate is: mtype.h:304:25: note: virtual Expression* Type::defaultInitLiteral(Loc) mtype.h:304:25: note: candidate expects 1 argument, 0 provided make: *** [func.o] Error 1 Any help?Modify func.c as described in https://github.com/D-Programming-Language/dmd/commit/907c94d#diff-2 Hopefully this will be fixed by tonight.
Feb 21 2012
kennytm <kennytm gmail.com> wrote:Andre Tampubolon <andre lc.vlsm.org> wrote:Ah yes, it has been fixed already.I just fetched the latest source code, and when I was trying to build dmd, I got this: func.c: In member function ‘MATCH FuncDeclaration::leastAsSpecialized(FuncDeclaration*)’: func.c:2493:45: error: no matching function for call to ‘Type::defaultInitLiteral()’ func.c:2493:45: note: candidate is: mtype.h:304:25: note: virtual Expression* Type::defaultInitLiteral(Loc) mtype.h:304:25: note: candidate expects 1 argument, 0 provided make: *** [func.o] Error 1 Any help?Modify func.c as described in https://github.com/D-Programming-Language/dmd/commit/907c94d#diff-2 Hopefully this will be fixed by tonight.
Feb 21 2012