Bug 13547

Summary: #include <iostream> doesn't compile
Product: [Retired] Red Hat Raw Hide Reporter: doug
Component: egcsAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-06 20:20:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description doug 2000-07-06 20:20:29 UTC
When compiling this simple program:
[balder: ~/devel]$ cat temp.cpp 
#include <iostream>

int main (int argc, char *argv[]) {

        cout << "hello, world";

}

I get these compiler warnings:
[balder: ~/devel]$ cc temp.cpp
/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/iostream.h:31,
                 from /usr/include/g++-2/iostream:6,
                 from temp.cpp:1:
/usr/include/g++-2/streambuf.h:362: conversion from `__off64_t' to
non-scalar type `streampos' requested
/usr/include/g++-2/streambuf.h: In method `struct streampos
streambuf::pubseekpos(struct streampos, int = 3)':
/usr/include/g++-2/streambuf.h:364: `struct streampos' used where a
`__off64_t' was expected