Henrik Bach
2004-Jul-06 14:52 UTC
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
Hi guys Is some one able to explain me, why these errors emerge: gmake[2]: Entering directory `/usr/local/src/llvm/lib/VMCore' Compiling AsmWriter.cpp AsmWriter.cpp: In function `void WriteConstantInt(std::ostream&, const llvm::Constant*, bool, std::map<const llvm::Type*, std::string, std::less<const llvm::Type*>, std::allocator<std::pair<const llvm::Type* const, std::string> > >&, llvm::SlotCalculator*)': AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char, std::char_traits<char> >& << int64_t' operator /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:63: error: candidates are: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>&(*)(std::basic_ostream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:85: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ios<_CharT, _Traits>&(*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:107: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base&(*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:179: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits std::char_traits<char>] /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:216: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits std::char_traits<char>] /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:154: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits std::char_traits<char>] /opt/gcc.3.3/include/c++/3.3/ostream:178: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits std::char_traits<char>] /opt/gcc.3.3/include/c++/3.3/ostream:189: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits std::char_traits<char>] /opt/gcc.3.3/include/c++/3.3/ostream:193: error: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits std::char_traits<char>] ... and so on. /Henrik _________________________________________________________________ F� alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger
Chris Lattner
2004-Jul-06 14:56 UTC
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
On Tue, 6 Jul 2004, Henrik Bach wrote:> Hi guys > > Is some one able to explain me, why these errors emerge:It appears that your libstdc++ does not support insertion of 64-bit integers into iostreams. Did I mention that you should try cygwin? ;-) -Chris> gmake[2]: Entering directory `/usr/local/src/llvm/lib/VMCore' > Compiling AsmWriter.cpp > AsmWriter.cpp: In function `void WriteConstantInt(std::ostream&, const > llvm::Constant*, bool, std::map<const llvm::Type*, std::string, > std::less<const llvm::Type*>, std::allocator<std::pair<const llvm::Type* > const, std::string> > >&, llvm::SlotCalculator*)': > AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char, > std::char_traits<char> >& << int64_t' operator > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:63: error: candidates are: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(std::basic_ostream<_CharT, > _Traits>&(*)(std::basic_ostream<_CharT, _Traits>&)) [with _CharT = char, > _Traits = std::char_traits<char>] <near match> > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:85: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(std::basic_ios<_CharT, > _Traits>&(*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, > _Traits > = std::char_traits<char>] <near match> > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:107: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(std::ios_base&(*)(std::ios_base&)) [with _CharT > char, > _Traits = std::char_traits<char>] <near match> > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:179: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(long int) [with _CharT = char, _Traits > std::char_traits<char>] > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:216: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits > std::char_traits<char>] > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:154: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(bool) [with _CharT = char, _Traits > std::char_traits<char>] > /opt/gcc.3.3/include/c++/3.3/ostream:178: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(short int) [with _CharT = char, _Traits > std::char_traits<char>] > /opt/gcc.3.3/include/c++/3.3/ostream:189: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits > std::char_traits<char>] > /opt/gcc.3.3/include/c++/3.3/ostream:193: error: > std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, > _Traits>::operator<<(int) [with _CharT = char, _Traits > std::char_traits<char>] > > ... and so on. > > > /Henrik > > _________________________________________________________________ > F� alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev >-Chris -- http://llvm.cs.uiuc.edu/ http://www.nondot.org/~sabre/Projects/
Possibly Parallel Threads
- [LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
- [LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
- [LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
- [LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
- errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad