This is the mail archive of the gcc-patches@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]

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.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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