Skip to content

Commit

Permalink
ICU-21107 Clarify the C11 & C++17 requirement in the userguide.
Browse files Browse the repository at this point in the history
  • Loading branch information
roubert committed Jan 17, 2024
1 parent 2d65456 commit 4a8cd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/userguide/icu4c/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ License & terms of use: http://www.unicode.org/copyright.html

## Recommended Build Options

Depending on the platform and the type of installation, we recommend a small number of modifications and build options. Note that C11 compatibility is now required.
Depending on the platform and the type of installation, we recommend a small number of modifications and build options. Note that ICU4C requires C11 & C++17.

* **Namespace (ICU 61 and later):** Since ICU 61, call sites need to qualify ICU types explicitly, for example `icu::UnicodeString`, or do `using icu::UnicodeString;` where appropriate. If your code relies on the "using namespace icu;" that used to be in `unicode/uversion.h`, then you need to update your code.
You could temporarily (until you have more time to update your code) revert to the default "using" via `-DU_USING_ICU_NAMESPACE=1` or by modifying `unicode/uversion.h`:
Expand Down

0 comments on commit 4a8cd80

Please sign in to comment.