This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: AIX I/O failures
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Subject: Re: AIX I/O failures
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 25 Jan 2001 15:08:37 -0500
- cc: Mark Mitchell <mark at codesourcery dot com>, Benjamin Kosnik <bkoz at nabi dot net>, Phil Edwards <pedwards at jaj dot com>, libstdc++ at sources dot redhat dot com
>>>>> Gabriel Dos Reis writes:
Gabriel> Mark Mitchell <mark@codesourcery.com> writes:
Gabriel> | char cin[sizeof(istream)]
Gabriel> | __attribute__ ((__align (__alignof__ (istream))));
Gabriel> Wouldn't then cin get type 'char[]'? Or am I missing something?
Yes. I believe that one needs to keep the cin type used in the
initializer completely separate from the rest of the code which defines
the correct istream type for cin.
David