strange c++ compile errors
crash3m
crash3m at crosswinds.net
Wed May 16 06:05:44 CDT 2001
During the 3rd meeting Hal brought up my problem with a little c++
program.
#include <iostream.h>
int main()
{
cout << "Welcome to GNU C++ for Linux Programming!" << endl;
return 0;
}
when compiled using 'c++ welcome.cpp' I get
/usr/include/g++-2/streambuf.h: In method 'struct streampos
streambuf::pubseekoff(streamoff, enum _seek_dir, int = 3)':
In file included from /usr/include/g++-2/streambuf.h:362 conversion from
'__off64_t' to non-scalar type 'streampos' requested
/usr/include/g++-2/streambuf.h:364: 'struct streampos' used where a
'__off64_t' was expected
I'm using ecgs-2.91.66...
More information about the Kclug
mailing list