help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

beginner question... :(


From: Florian Berger
Subject: beginner question... :(
Date: Wed, 16 May 2001 01:51:18 +0200

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 after some installations
there is the following problem:

While trying to compile a program including iostream.h such as

#include <iostream.h>
int main()
{
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]