Out of a combination of boredom and curiosity, I decided to install the new
versions of libc, libg++, gcc, etc... I decompress them in the root
directory as root, then run ldconfig.. everything seems to work ok...
the problem is that now whenever I compile anything that includes
iostream.h, it gives me implicit declaration warnings... everything
works fine after that (it seems), but it spews out warnings like nobodies
business. I presume it has something to do with the new header files
that the g++ lib installs. Here's a copy of the output I get:
g++ -Wall -fno-builtins -O2 -m486 -fno-strength-reduce -c main.cc
/usr/include/g++/streambuf.h: In method `long int streambuf::pubseekoff(long
int, enum ios::seek_dir, int = 3)':
In file included from /usr/include/g++/iostream.h:31,
/usr/include/g++/streambuf.h:351: warning: implicit declaration of function `int
/usr/include/g++/streambuf.h: In method `long int streambuf::pubseekpos(long
int, int = 3)':
/usr/include/g++/streambuf.h:353: warning: implicit declaration of function `int
Wondering what was going on, I grepped around in /usr/include/g++ for
these fuctions, and I found that _IO_seekoff and _IO_seekpos are both
declared as extern in the file libioP.h The only thing that includes
it is iostreamP.h and nothing includes iostreamP.h I don't even know
what it's for. All iostreamP.h does is include streambuf.h and libioP.h.
Anyway, if anyone has any ideas, this kind of bothers me, as it obviously
shouldn't be giving me warnings from standard include files, and I wonder
if there's anything else more messed up that I haven't discovered yet.
Eep! Erm, yeah, just mail me if you have any comments/suggestions.
__ __ __________________________________
|__/ \__/ handehari ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~