[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libann-users] *** COMPILATION PROBLEM (another one!)
From: |
John Darrington |
Subject: |
Re: [libann-users] *** COMPILATION PROBLEM (another one!) |
Date: |
Fri, 4 Mar 2005 07:15:17 +0800 |
User-agent: |
Mutt/1.5.4i |
On Wed, Mar 02, 2005 at 03:22:48PM +0100, Pier Luca Lanzi wrote:
Hi!
here I come with another compilation error.
I am trying to compile libann.
I use the command "make YACC=bison" which solves the problem I
previously asked support for.
Good.
Now the compilation stops and report an error at line 48 of persist.cc
The problem regards the line 48:
"is.get(static_cast<char>(data[i]));"
I don't understand this.
g++ -c -I /usr/local/include -I . -I . -g ann/persist.cc -o
ann/persist.o
ann/persist.cc: In function `void ann::_read(std::istream&, unsigned
char*, int)':
ann/persist.cc:48: error: no matching function for call to
`std::basic_istream<char, std::char_traits<char> >::get(char)'
/usr/lib64/gcc/x86_64-mandrake-linux-gnu/3.4.1/../../../../include/c
++/3.4.1/bits/istream.tcc:441: note: candidates are: typename
std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT,
_Traits>::get() [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib64/gcc/x86_64-mandrake-linux-gnu/3.4.1/../../../../include/c
++/3.4.1/bits/istream.tcc:472: note:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(_CharT&) [with _CharT = char, _Traits =
std::char_traits<char>]
This candidate should match it. Shouldn't it ??
Any ideas anyone ?
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://wwwkeys.pgp.net or any PGP keyserver for public key.
pgpAVpfO6WxMZ.pgp
Description: PGP signature