This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17005] wide character strings don't work on HP-UX 11i using gcc 3.4.1
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2004 04:40:31 -0000
- Subject: [Bug libstdc++/17005] wide character strings don't work on HP-UX 11i using gcc 3.4.1
- References: <20040812163817.17005.jerrydy@sbcglobal.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From danglin at gcc dot gnu dot org 2004-08-13 04:40 -------
I think that we can resolve the the namespace conflict by adding
the following to the hpux os_defines.h:
/* HP-UX 11i has mbstate_t when _MBSTATE_T is defined. */
#if !defined(_GLIBCXX_HAVE_MBSTATE_T) && defined(_MBSTATE_T)
#define _GLIBCXX_HAVE_MBSTATE_T
#endif
I have a patch for the va_list problem under test.
I'm not sure about _INCLUDE__STDC_A1_SOURCE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17005