I'm seeing a build failure... In file included from /Volumes/mrs5/net/llvm/llvm/lib/VMCore/ Attributes.cpp:14: /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h: In member function 'llvm::Attributes llvm::AttrListPtr::getParamAttributes(unsigned int) const': /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h:152: error: 'assert' was not declared in this scope make[1]: *** [/Volumes/mrs5/net/llvm/llvm-build/lib/VMCore/Debug/ Attributes.o] Error 1 ?
On Sep 26, 2008, at 4:30 PM, Mike Stump wrote:> I'm seeing a build failure... > > In file included from /Volumes/mrs5/net/llvm/llvm/lib/VMCore/ > Attributes.cpp:14: > /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h: In member > function 'llvm::Attributes > llvm::AttrListPtr::getParamAttributes(unsigned int) const': > /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h:152: error: > 'assert' was not declared in this scope > make[1]: *** [/Volumes/mrs5/net/llvm/llvm-build/lib/VMCore/Debug/ > Attributes.o] Error 1Not seeing it here and I just updated to head. Try that. -eric
On Fri, Sep 26, 2008 at 4:30 PM, Mike Stump <mrs at apple.com> wrote:> I'm seeing a build failure... > > In file included from /Volumes/mrs5/net/llvm/llvm/lib/VMCore/ > Attributes.cpp:14: > /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h: In member > function 'llvm::Attributes > llvm::AttrListPtr::getParamAttributes(unsigned int) const': > /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h:152: error: > 'assert' was not declared in this scope > make[1]: *** [/Volumes/mrs5/net/llvm/llvm-build/lib/VMCore/Debug/ > Attributes.o] Error 1 >Weird. I'm not seeing this... -bw
Works for me. Presumably #including <cassert> will fix it though? On Sep 26, 2008, at 4:30 PMPDT, Mike Stump wrote:> I'm seeing a build failure... > > In file included from /Volumes/mrs5/net/llvm/llvm/lib/VMCore/ > Attributes.cpp:14: > /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h: In member > function 'llvm::Attributes > llvm::AttrListPtr::getParamAttributes(unsigned int) const': > /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h:152: error: > 'assert' was not declared in this scope > make[1]: *** [/Volumes/mrs5/net/llvm/llvm-build/lib/VMCore/Debug/ > Attributes.o] Error 1 > > ? > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Ah! I think it's a SnowLeopard thing. -bw On Fri, Sep 26, 2008 at 4:41 PM, Dale Johannesen <dalej at apple.com> wrote:> Works for me. Presumably #including <cassert> will fix it though? > > On Sep 26, 2008, at 4:30 PMPDT, Mike Stump wrote: > >> I'm seeing a build failure... >> >> In file included from /Volumes/mrs5/net/llvm/llvm/lib/VMCore/ >> Attributes.cpp:14: >> /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h: In member >> function 'llvm::Attributes >> llvm::AttrListPtr::getParamAttributes(unsigned int) const': >> /Volumes/mrs5/net/llvm/llvm/include/llvm/Attributes.h:152: error: >> 'assert' was not declared in this scope >> make[1]: *** [/Volumes/mrs5/net/llvm/llvm-build/lib/VMCore/Debug/ >> Attributes.o] Error 1 >> >> ? >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Seemingly Similar Threads
- [LLVMdev] build failure in Attributes.h
- [LLVMdev] VMKIT: Error while producing LLVMruntime.inc (using llvm-as and llc)
- [LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
- [LLVMdev] problems found with make check on x86 darwin9
- [LLVMdev] strict aliasing in SPU land