This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: AIX I/O failures
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: AIX I/O failures
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 25 Jan 2001 21:05:05 +0100
- Cc: Benjamin Kosnik <bkoz at nabi dot net>, David Edelsohn <dje at watson dot ibm dot com>, Phil Edwards <pedwards at jaj dot com>, libstdc++ at sources dot redhat dot com
- Organization: CodeSourcery, LLC
- References: <20010125114812L.mitchell@codesourcery.com>
Mark Mitchell <mark@codesourcery.com> writes:
[...]
| That's why my original patch used the trick:
|
| char cin[sizeof(istream)]
| __attribute__ ((__align (__alignof__ (istream))));
Wouldn't then cin get type 'char[]'? Or am I missing something?
[...]
| Phil, if there are coding guidelines for V3 somewhere, would you mind
| adding this idea in somewhere so that we continue to bear it in mind?
| It's a fundamental design principle required to make the library
| robust on AIX, and perhaps other systems as well.
Agreed.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com