I believe that is actually clang, not gcc. Not sure if clang is supported.
On Mon, Mar 17, 2014 at 8:38 PM, zck900 <zck...@comcast.net> wrote: > Hello, > The build is broken for 0.98.1 when compiling on OS/X 10.9.2 and Xcode 5. > Below are the errors... > BTW I also did a fresh git clone from the latest code and that is broken > too. > Thanks for any help. > > In file included from llvm/lib/Analysis/LoopInfo.cpp:17: > ./llvm/include/llvm/Analysis/LoopInfo.h:817:19: error: no matching member > function for call to 'insert' > TodoStack.insert(TodoStack.end(), InvBlockTraits::child_begin(X), > ~~~~~~~~~~^~~~~~ > ./llvm/include/llvm/Analysis/LoopInfo.h:755:22: note: in instantiation of > member function > 'llvm::LoopInfoBase<llvm::BasicBlock, llvm::Loop>::ConsiderForLoop' > requested here > if (LoopT *L = ConsiderForLoop(*NI, DT)) > ^ > llvm/lib/Analysis/LoopInfo.cpp:384:6: note: in instantiation of member > function 'llvm::LoopInfoBase<llvm::BasicBlock, > llvm::Loop>::Calculate' requested here > LI.Calculate(getAnalysis<DominatorTree>().getBase()); // Update > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/ > XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:718:14: note: > candidate function not viable: no known conversion from > 'ChildIteratorType' (aka 'PredIterator<llvm::BasicBlock, > Value::use_iterator>') to 'size_type' (aka 'unsigned long') for 2nd > argument > iterator insert(const_iterator __position, size_type __n, > const_reference __x); > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/ > XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:722:14: note: > candidate template ignored: disabled by 'enable_if' [with > _InputIterator = llvm::PredIterator<llvm::BasicBlock, > llvm::value_use_iterator<llvm::User> >] > __is_input_iterator <_InputIterator>::value && > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/ > XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:733:13: note: > candidate template ignored: disabled by 'enable_if' [with > _ForwardIterator = llvm::PredIterator<llvm::BasicBlock, > llvm::value_use_iterator<llvm::User> >] > __is_forward_iterator<_ForwardIterator>::value && > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/ > XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:710:14: note: > candidate function not viable: requires 2 arguments, but 3 were > provided > iterator insert(const_iterator __position, const_reference __x); > ^ > > Here is my compiler info: > > gcc -v > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) > Target: x86_64-apple-darwin13.1.0 > Thread model: posix > > _______________________________________________ > http://lurker.clamav.net/list/clamav-devel.html > Please submit your patches to our Bugzilla: http://bugs.clamav.net > -- http://volatile-minds.blogspot.com -- blog http://www.volatileminds.net -- website _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net