This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
beginner question... :(
- To: gcc-help at gcc dot gnu dot org
- Subject: beginner question... :(
- From: Florian Berger <FloriB at Bigfoot dot com>
- Date: Fri, 18 May 2001 10:10:19 +0200
- Reply-To: FloriB at Bigfoot dot com
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