Hi Frederik,
Frederik Seiffert wrote:
> ICU release 68 changed their usage of primitive types, and removed the TRUE
> and FALSE defines as outlined here:
> https://github.com/unicode-org/icu/blob/master/docs/userguide/dev/codingguidelines.md#primitive-types
>
> You’ll probably need to patch Gui
Looks like we could simply add:
#define U_DEFINE_FALSE_AND_TRUE 1
Before including the ICU headers. Or, I guess, use the actually values (0
or 1). Since we use ICU only intervally and do not have an issue with
redefined TRUE and FALSE, then the above define would be sufficient.
Stefan
On Mon, D
ICU release 68 changed their usage of primitive types, and removed the TRUE and
FALSE defines as outlined here:
https://github.com/unicode-org/icu/blob/master/docs/userguide/dev/codingguidelines.md#primitive-types
You’ll probably need to patch Gui in some way. For Base I simply defined
TRUE/FALS
Hi all!
gui stopped compiling for me on Linux/Gentoo.
I guess it comes from Unicode issues:
Compiling file GSCharacterPanel.m ...
GSCharacterPanel.m: In function 'enumCharNamesFn':
GSCharacterPanel.m:81:10: error: 'TRUE' undeclared (first use in this
function)
81 | return TRUE;
|