AIX I/O failures

Gabriel Dos Reis
Thu Jan 25 12:05:00 GMT 2001

Mark Mitchell <> 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.


-- Gaby
CodeSourcery, LLC             

More information about the Libstdc++ mailing list