This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libstdc++] Don't access fpos_t.__state on uClibc w/o wchar support


Pétur Runólfsson <peturr02@ru.is> writes:

| Gabriel Dos Reis wrote:
| >Why can't you use the standard idiom
| >
| >  #if _GLIBCXX_USE_WCHAR_T
| 
| This won't work because fpos<mbstate_t> is also used for narrow streams.

then we've get a design problem then. 

| The correct fix for this is to not implement fpos<> in terms of fpos_t,
| which is how things were until this checkin:
| 
| 2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>

I'll let Benjamin to comment -- but there'll be some delay.

-- Gaby


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