no matching function for call to ‘Type::defaultInitLiteral()’?

Andre Tampubolon andre at lc.vlsm.org
Tue Feb 21 00:55:41 PST 2012


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?


More information about the Digitalmars-d mailing list