[Gambas-user] RegExp: How to find all matches of a pattern (global match)?
Benoît Minisini
benoit.minisini at gambas-basic.org
Sat Aug 26 00:35:25 CEST 2023
Le 26/08/2023 à 00:24, T Lee Davidson a écrit :
> On 8/24/23 09:40, T Lee Davidson wrote:
>> I followed the OpenSuse Leap/Tumbleweed instructions at
>> https://gambaswiki.org/wiki/install#t21
>>
>> According to that, the dependencies are the same. But, the 'make'
>> operation chokes with some weird errors as if it thinks there
>> should be a semi-colon in a "#define" statement. That makes no sense to me.
>>
>> Gitlab Continuous Integration apparently has no problem compiling on
>> Tumbleweed. But, Leap 15.5 won't do it on my laptop, on my
>> desktop, or in a VM.
>
> Well ... I finally got it to compile. I upgraded gcc (and g++) from
> version 7.5 to 12.3.
>
> Benoît, is there a minimum required version of gcc/g++?
>
>
Not that I am aware of.
On the contrary, it seems that some recent versions of C++ does not like
'#define toupper' at all.
This '#define', and the others that follow, are here only to ensure that
nobody uses the glibc versions of toupper(), tolower(), and strcasecmp()
in a Gambas component (because they are always locale dependant).
A solution could be browsing the Gambas source code to ensure that they
are not used, and removing the '#define' statements.
Regards,
--
Benoît Minisini.
More information about the User
mailing list