This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: basic_istream error building SPEC eon on AIX


----- Original Message ----- 
From: "David Edelsohn" <dje@watson.ibm.com>
To: "Benjamin Kosnik" <bkoz@redhat.com>
Cc: <libstdc++@gcc.gnu.org>
Sent: Monday, August 11, 2003 9:55 PM
Subject: Re: basic_istream error building SPEC eon on AIX 


> >>>>> Benjamin Kosnik writes:
> 
> Ben> I think this is a known issue with eon.
> 
> Ben> This looks like a bug in eon.
> 
> eon seems to be building in Andreas's and Diego's SPEC pages.
> 
> Ben> use istream::get(char), not non-existent istream::get(unsigned char)
> 
> I tried -fsigned-char (AIX defaults to unsigned), but that did not
> help.

No, that just decides whether plain char is signed or unsigned. There are still three distinct character types, two of which have the same range of values. It doesn't change overloading.

The std::istream contains only a get(char), it doesn't matter if char is signed or not. 

> 
> David
> 

Bo Persson
bop2@telia.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]