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]Re: [tlug] C++ compile probblem
- Date: Thu, 22 Feb 2007 20:12:50 +0900
- From: Brett Robson <b-robson@??>
- Subject: Re: [tlug] C++ compile probblem
- References: <45DD2F44.9020702@example.com> <87tzxeli8r.fsf@example.com>
- User-agent: Icedove 1.5.0.9 (X11/20061220)
Stephen J. Turnbull wrote: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.
Yes further investigation shows that even if I fix this problem I'm going to get more errors.
I've given up.
Brett
- Follow-Ups:
- Re: [tlug] C++ compile probblem
- From: Nguyen Vu Hung
- References:
- [tlug] C++ compile probblem
- From: Brett Robson
- [tlug] C++ compile probblem
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] C++ compile probblem
- Next by Date: Re: [tlug] C++ compile probblem
- Previous by thread: [tlug] C++ compile probblem
- Next by thread: Re: [tlug] C++ compile probblem
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links