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


>>>>> 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

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