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: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2004 20:06:11 -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 pcarlini at suse dot de 2004-08-15 20:06 -------
> The wcsftime call isn't working. The return value is 0 indicating
> that the results in __s are undefined. Changing the third argument
> to "const char *" works.
I see...
I do not understand well what you are saying below: the standard mandated type
for the third argument is const wchar_t* and from what you are writing it seems
that _INCLUDE__STDC_A1_SOURCE gets it right, *not* viceversa!
Thanks to your patch, _INCLUDE__STDC_A1_SOURCE is now defined (right?) so I
cannot understand why on this target wcsftime expects a (wrong) const char*!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17005