Bug 13547 - #include <iostream> doesn't compile
Summary: #include <iostream> doesn't compile
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: egcs (Show other bugs)
(Show other bugs)
Version: 1.0
Hardware: i386 Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-06 20:20 UTC by doug
Modified: 2008-05-01 15:37 UTC (History)
0 users

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: ---


Attachments (Terms of Use)

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


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