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: 12 Aug 2004 22:09:55 -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-12 22:09 -------
> Should va_list in the following lines be __gnuc_va_list as they are in the
> other headers like stdio.h?
Yes. I've known about this for sometime. I think there are a couple of
other headers on 11i that use va_list and don't get fixed as well.
The problem is not specific to gcc 3.4. It affects all gcc versions.
Until someone works out a fixinclude patch, I suggest copying wchar.h
into gcc's internal include directory. Then, manually change va_list to
__gnuc_va_list. However, this won't fix any problems in the libstdc++ build
unless you redo it with the fixed header(s).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17005