beginner question... :(
Florian Berger
FloriB@Bigfoot.com
Fri May 18 01:00:00 GMT 2001
Hi folks,
this is a Linux g++ beginner from Germany calling, maybe thereôs someone
out there who can help me.
g++ used to work perfect with my programmes, but for a few days there is
the following problem:
While trying to compile a program including iostream.h such as
#include <iostream.h>
int main()
{
cout<<"Hello world!";
return 0;
}
using
g++ -ofile infile.cpp
g++ comes up with those messages:
In file included from /usr/include/g++/iostream.h:31,
from infile.cpp:1:
/usr/include/g++/streambuf.h: In method `struct streampos
streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
/usr/include/g++/streambuf.h:362: conversion from `__off64_t' to
non-scalar type `streampos' requested
/usr/include/g++/streambuf.h: In method `struct streampos
streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/include/g++/streambuf.h:364: `struct streampos' used where a `long
long int' was expected
What has happened??
Thank you very much,
Florian Berger, Leipzig, Germany
> > > eMail: FloriB@bigfoot.com
More information about the Gcc-help
mailing list