This is the mail archive of the
mailing list for the GCC project.
Re: Patch: Enable wide strings in C++ on IA64 HP-UX
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: sje at cup dot hp dot com
- Cc: gcc-patches at gcc dot gnu dot org, dave dot anglin at nrc-cnrc dot gc dot ca
- Date: Tue, 24 Oct 2006 18:48:36 -0400 (EDT)
- Subject: Re: Patch: Enable wide strings in C++ on IA64 HP-UX
> This patch enables wide strings in C++ on IA64 HP-UX by defining
> _INCLUDE__STDC_A1_SOURCE when compiling C++ programs. Additionally, it
> links in unix98.o in order to get the correct unix98 behavour from the
> HP-UX wide string functions. PA HP-UX has something similar but it also
> supports older unix93 and unix95 semantics. Since this is being newly
> added for IA64 I don't think we need to add support for the older
> standards. Without adding the .o file, we get unix95 behavour on IA64
> HP-UX and some regression tests in the C++ library testsuite fail.
Agreed. The unix93 and unix95 options were for HP-UX 10 compatibility.
You might consider backporting this to earlier GCC versions. I just
had a question a about this for 3.3.6. This was introduced in 4.0.0
for the PA.
J. David Anglin email@example.com
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)