AIX I/O failures

Gabriel Dos Reis gdr@codesourcery.com
Thu Jan 25 12:05:00 GMT 2001


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


More information about the Libstdc++ mailing list