[LLVMdev] Re: [llvm-commits] CVS: llvm/include/llvm/CodeGen/DwarfWriter.h - LLVM build problem

Vladimir A. Merzliakov wanderer at rsu.ru
Wed Mar 1 15:58:53 PST 2006


Hi!

After commit 
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060227/032167.html :

-  DIE *NewType(DIE *Unit, TypeDesc *TyDesc);
+ DIE *DwarfWriter::NewType(CompileUnit *Unit, TypeDesc *TyDesc);

and 
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060227/032227.html

- DIE *DwarfWriter::NewType(CompileUnit *Unit, TypeDesc *TyDesc);
+ DIE *DwarfWriter::NewType(DIE *Context, TypeDesc *TyDesc);

I can't build LLVM using gcc 4.1.0 or gcc 4.2.0 (CVS mainline)

Build terminate with error:

llvm[2]: Compiling DwarfWriter.cpp for Debug build
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/CodeGen/DwarfWriter.h:305: 
error: extra qualification 'llvm::DwarfWriter::' on member 'NewType'
gmake[2]: *** 
[/usr/home/wanderer/pkg/build/llvm/obj/lib/CodeGen/Debug/DwarfWriter.o] 
Error 1


Vladimir





More information about the llvm-dev mailing list