Bug 13547 - #include <iostream> doesn't compile
Summary: #include <iostream> doesn't compile
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: egcs
Version: 1.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
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:
Clone Of:
Environment:
Last Closed: 2000-07-06 20:20:30 UTC
Embargoed:


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.