[LLVMdev] Showstopper on Visual C

Paolo Invernizzi arathorn at fastwebnet.it
Tue Oct 12 01:56:37 PDT 2004


Hi all,

Well, suggestion for workarounds for the namespace problems are 
welcome... this is a 7 minutes compile files on a pentium 4 3ghz 700Mb 
ram...

The fatal error at the end MAY depend on the previous... or at least, I 
hope so.

cl /nologo /TP /EHsc /GR /Zi /Yd /D__STDC_LIMIT_MACROS 
/DHAVE__FINITE_IN_FLOAT_H /DHAVE__ISNAN_IN_FLOAT_H 
/ISTLport-4.6.2\stlport /Illvm\inc
lude /Itablegen_includes /c llvm\lib\Target\X86\X86AsmPrinter.cpp 
/Fobuild_vc71\lib\Target\X86\X86AsmPrinter.obj X86AsmPrinter.cpp

tablegen_includes\X86GenIntelAsmWriter.inc(15) : error C2888: 'bool 
`anonymous-namespace'::X86IntelAsmPrinter::printInstruction(const 
llvm::MachineInstr *)' : symbol cannot be defined within namespace 'llvm'
llvm\lib\Target\X86\X86AsmPrinter.cpp(364) : error C2264: 
'`anonymous-namespace'::X86IntelAsmPrinter::printInstruction' : error in 
function definition or declaration; function not called
tablegen_includes\X86GenATTAsmWriter.inc(15) : error C2888: 'bool 
`anonymous-namespace'::X86ATTAsmPrinter::printInstruction(const 
llvm::MachineInstr *)' : symbol cannot be defined within namespace 'llvm'
tablegen_includes\X86GenATTAsmWriter.inc(469) : fatal error C1204: 
compiler limit : internal structure overflow

scons: *** [build_vc71\lib\Target\X86\X86AsmPrinter.obj] Error 2
scons: building terminated because of errors.

---
Paolo Invernizzi





More information about the llvm-dev mailing list