[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with Enum, install fail


Le 2025-12-25T12:55:27.000+01:00, Bruce Steers <bsteers4@xxxxxxxxx> a
écrit :

> Thanks Benoit. it's compiling and installing okay now but many
> programs (including IDE) are giving errors when pressing keys or
> scrolling mousewheel..
> 
> On Thu, 25 Dec 2025 at 09:12, Benoît Minisini
> <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:
> 
>>  Le 25/12/2025 à 04:47, Bruce Steers a écrit :
>>>   your gitlab ci shows okay but the log shows many install fails
>>>   https://gitlab.com/gambas/gambas/-/jobs/12540512684
>>  <https://gitlab.com/ ;
>>>   gambas/gambas/-/jobs/12540512684>
>>>   merry christmas :)
>>>   
>>>   BruceS
>>>   
>>  
>>  Oops, didn't check the installation. I'm leaving Paris now, I will
>>  see 
>>  if I can fix that...
>>  
>>  Sorry, and Merry Christmas again!
>>  
>>  -- 
>>  Benoît Minisini.
> 
> Thanks Benoit. it's compiling and installing okay now but many
> programs (including IDE) are giving errors when pressing keys or
> scrolling mousewheel..
I can't access gitlab at the moment, but here is a patch that
temporarily fixes the problem.

Regards,

--
Benoît Minisini.

diff --git a/main/gbx/gbx_exec_push.c b/main/gbx/gbx_exec_push.c
index 6608f73c0..17b4ed209 100644
--- a/main/gbx/gbx_exec_push.c
+++ b/main/gbx/gbx_exec_push.c
@@ -564,7 +564,10 @@ int EXEC_push_unknown_event(bool unknown)
 	{
 		name = CP->load->unknown[PC[1]];
 		// The ':' is already in the name, thanks to the compiler.
-		index = CLASS_find_symbol(CP, name);
+		if (*name == ':')
+			index = CLASS_find_symbol(CP, name);
+		else
+			index = CLASS_find_symbol_with_prefix(CP, name, ":");
 		if (index == NO_SYMBOL)
 			THROW(E_DYNAMIC, CLASS_get_name(CP), name);
 

Follow-Ups:
Re: problem with Enum, install failBruce Steers <bsteers4@xxxxxxxxx>
References:
problem with Enum, install failBruce Steers <bsteers4@xxxxxxxxx>
Re: problem with Enum, install failBruce Steers <bsteers4@xxxxxxxxx>
Re: problem with Enum, install failBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: problem with Enum, install failBruce Steers <bsteers4@xxxxxxxxx>