------- Comment #1 from waspswarm at gmail dot com  2006-09-07 15:39 -------
Here is /usr/include/sys/_mbstate_t.h

/*
 * @(#)B11.23_LR
 */

#ifndef _MBSTATE_T_INCLUDED
#define _MBSTATE_T_INCLUDED

#  ifndef _MBSTATE_T
#     define _MBSTATE_T
      typedef struct {
         unsigned char __parse_size:3;
         unsigned char __dummy:4;
         unsigned char __shift_state:1;
         char __parse_buf[7];
      } mbstate_t;
#  endif

#endif /* _MBSTATE_T_INCLUDED */

Here is the section of /usr/local/include/c++/4.1.1/cwchar around line 66:
// Need to do a bit of trickery here with mbstate_t as char_traits
// assumes it is in wchar.h, regardless of wchar_t specializations.
#ifndef _GLIBCXX_HAVE_MBSTATE_T
extern "C"
{
  typedef struct
  {
    int __fill[6];
  } mbstate_t;
}
#endif

namespace std
{
  using ::mbstate_t;
}


-- 

waspswarm at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |waspswarm at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28975

Reply via email to