Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 13547 - #include <iostream> doesn't compile
#include <iostream> doesn't compile
Product: Red Hat Raw Hide
Classification: Retired
Component: egcs (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2000-07-06 16:20 EDT by doug
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-06 16:20:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description doug 2000-07-06 16:20:29 EDT
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

Note You need to log in before you can comment on or make changes to this bug.