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: "jerrydy at sbcglobal dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Aug 2004 20:29:41 -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 jerrydy at sbcglobal dot net 2004-08-12 20:29 -------
I stuck -D_INCLUDE__STDC_A1_SOURCE into CFLAGS but I get the following 2 errors
during make bootstrap.
/pics/log/ccase/gcc-3.4.1-objdir/gcc/include/wchar.h:87: error: `va_list' has
not been declared
Should va_list in the following lines be __gnuc_va_list as they are in the
other headers like stdio.h?
extern int vfwprintf __((FILE *, const wchar_t *, va_list));
extern int vwprintf __((const wchar_t *, va_list));
extern int vswprintf __((wchar_t *, size_t, const wchar_t *, va_list));
/usr/include/sys/_mbstate_t.h:11: error: 'mbstate_t' has a previous declaration
as `typedef struct mbstate_t mbstate_t'
/pics/log/ccase/gcc-3.4.1-objdir/hppa2.0w-hp-hpux11.11/libstdc++-
v3/include/cwchar:65: error: declaration of `typedef struct
mbstate_t mbstate_t'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17005