Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] C++ compile probblem
- Date: Thu, 22 Feb 2007 17:16:36 +0900
- From: "Stephen J. Turnbull" <stephen@??>
- Subject: [tlug] C++ compile probblem
- References: <45DD2F44.9020702@example.com>
Brett Robson writes: > IndexFile.cc: In constructor 'IndexFile::IndexFile(std::fstream&, int, > int)': > IndexFile.cc:30: error: 'struct std::basic_filebuf<char, > std::char_traits<char> >' has no member named 'fd' > IndexFile.cc:51: error: no matching function for call to > 'std::basic_fstream<char, std::char_traits<char> >::read(size_t*&, long un > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/istream:456: Looks to me like you have a program that uses internal details of the C++ standard library implementation: > fstat(idxfile.rdbuf()->fd(), &fstatus); My first guess is that you need to match up the program to the C++ compiler (vendor, probably GCC, *and* version) so that you get the library API that your program is expecting. This is why everybody loves C++ ... not.
- Follow-Ups:
- Re: [tlug] C++ compile probblem
- From: Brett Robson
- References:
- [tlug] C++ compile probblem
- From: Brett Robson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] C++ compile probblem
- Next by Date: Re: [tlug] C++ compile probblem
- Previous by thread: Re: [tlug] C++ compile probblem
- Next by thread: Re: [tlug] C++ compile probblem
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links