This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

beginner question... :(



 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]