Re: GUi stopped compiling

Frederik Seiffert <[email protected]>
Newsgroups gmane.comp.lib.gnustep.devel
Message-ID <[email protected]>
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/FALSE in GSICUString.h:
https://github.com/gnustep/libs-base/pull/163

Frederik


> Am 21.12.2020 um 11:00 schrieb Riccardo Mottola <[email protected]>:
> 
> 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;
>       |          ^~~~
> GSCharacterPanel.m:81:10: note: each undeclared identifier is reported
> only once for each function it appears in
> GSCharacterPanel.m: In function 'searchCharNamesFn':
> GSCharacterPanel.m:106:10: error: 'TRUE' undeclared (first use in this
> function)
>   106 |   return TRUE;
>       |          ^~~~
> 
> 
> 
> I don't see any significant change in the code though, so my fear is
> that it comes from a new version of libicu?
> I cheched and I have 68.1 installed.
> 
> What version(s) do you have? does gui still correctly build?
> 
> Riccardo
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.