[Bug libstdc++/17005] wide character strings don't work on HP-UX 11i using gcc 3.4.1

jerrydy at sbcglobal dot net gcc-bugzilla@gcc.gnu.org
Fri Aug 13 02:11:00 GMT 2004


------- Additional Comments From jerrydy at sbcglobal dot net  2004-08-13 02:11 -------
There's a name clash occuring for struct mbstate_t, which is double defined as 
shown below. Would somebody pls. give me guidance on how this might be 
resolved? Thanks!

include/c++/3.4.1/cwchar
extern "C"
{
  typedef struct
  {
    int __fill[6];
  } mbstate_t;
}

/usr/include/sys/_mbstate_t.h
      typedef struct {
         unsigned char __parse_size:3;
         unsigned char __dummy:4;
         unsigned char __shift_state:1;
         char __parse_buf[7];
      } mbstate_t;


-- 


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



More information about the Gcc-bugs mailing list