Initial reported on the `icu-support` mailing list.
As of version 59, ICU4C now uses and requires C++11 language features and libraries.
According to http://en.cppreference.com/w/cpp/compiler_support , the *aCC* compiler doesn't fully support C++11 yet.
However, it looks like it ''does'' support the new character types (`char16 ([ICU-unknown])_t` and `char32 ()_t`), but you don't get C++11 support by ''default'' though.
According to the manual ( https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04221956) for the aCC compiler, you need to use a command line switch to enable the C++11 support.
From the manual:
This option turns on support for several core language features introduced by the ISO C++11 language standard.
We should likely add this to the config for hp-ux.
From Jason on the `icu-support` mailing list, adding the "`std=c+11`" option was *not* sufficient to get ICU4C to compile on HP-UX with the aCC compiler.
However, they did not list what other issues they ran into after adding the option.
I replied back asking them for further details, either on the mailing list or directly here on the ticket.
Note: I do not have access to either HP-UX or the HP aCC compiler.
So I am parking this ticket on myself for now, but ideally this ticket should move to somebody else who has access to test and verify any changes.
Latest reply from Jason is that the additional issue they ran into even with the "std=c+11" option is the use of inheriting constructors:
So it seems that the aCC compiler does not have sufficient support for C++11, even with the special flag enabled.
Note: It is not clear that there is anything to do for this ticket, since adding the flag isn't sufficient.
(ICU doesn't have a status "BLOCKED" for tickets though.)