This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]