Opened 4 years ago
Closed 4 years ago
#14184 closed enhancement (fixed)
icu4c-68_1
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 10.1 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New major version.
Change History (4)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Migration Issues
New in ICU 68
ICU4C public header files no longer define and use the macros FALSE and TRUE. (ICU-21267)
This avoids collisions between these macro definitions and application code that defines enum constants with these names. The ICU macros are no longer necessary: C++11 and C99 define false & true values. ICU API continues to use the ICU-specific type UBool for now; the standard values can be assigned to UBool variables and arguments without warnings. Please change call sites to use the standard false & true values where necessary. For C (as opposed to C++), these are also macros, defined in <stdbool.h>. You may transitionally define U_DEFINE_FALSE_AND_TRUE=1 if you need time to migrate code, for example in application code before including any ICU header file, or by patching unicode/umachine.h and changing # define U_DEFINE_FALSE_AND_TRUE 0 to assign value 1 instead.
Other recent migration issues
Constructing a StringPiece from NULL may be ambiguous, depending on the platform. Where this is a problem, please adjust call sites from using NULL to using nullptr. (ICU-20984 PR #1044)
This is similar to issues with the char16_t adoption in ICU 59.
If you rebuild the ICU locale data from (possibly patched) CLDR data, note that there is a new CLDR-to-ICU converter tool in the ICU repo now, replacing the old one in the CLDR repo. (ICU-20693) See icu4c/source/data/cldr-icu-readme.txt
=====
Here are the full release notes: http://site.icu-project.org/download/68
As Xi mentioned in IRC, currently 'libxml2' and 'libical' are known to be broken with TRUE and FALSE removed.
comment:3 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
We are pleased to announce the release of Unicode® ICU 68.
ICU 68 updates to CLDR 38 locale data with many additions and corrections. ICU 68 brings major improvements and API additions for measurement unit formatting, implements locale ID canonicalization conformant with CLDR, and includes many other bug fixes and enhancements.
For details please see http://site.icu-project.org/download/68
The API reference documents will be published at the following location: https://unicode-org.github.io/icu-docs/