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

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 12 22:09:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list