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]

Re: AIX I/O failures


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

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