[Done] PB v6.40 B1 SYS_FreeStructureStrings
Posted: Fri Feb 27, 2026 5:25 pm
Works with PB v6.40 Alpha 4 and Beta 1 ASM-Backend. Same on macOS
Module ThreadToGUI
Link En: http://www.purebasic.fr/english/viewtop ... 12&t=66180
C-Backend
Module ThreadToGUI
Link En: http://www.purebasic.fr/english/viewtop ... 12&t=66180
C-Backend
---------------------------
PureBasic - Assembler error
---------------------------
error: implicit declaration of function 'SYS_FreeStructureStrings'; did you mean 'SYS_FreeParameterString'? [-Werror=implicit-function-declaration]
3800 | SYS_FreeStructureStrings(&((threadtoguiXs_udtselectedfont*)(tls+24))[0],mthreadtoguiXs_udtselectedfo
---------------------------
OK
---------------------------
C-Code*** DisplayCcode ***
- Compiler File Path: C:\WinAPP\PureBasic-v640x64\Compilers\pbcompilerc.exe
- Compiler Parameters: --commented -co PB_Editor_BuildCount=0 -co PB_Editor_CompileCount=0 --thread --unicode --output "C:\Users\Michael\AppData\Local\Temp\purebasic"
- C-Code File Path:C:\WinAPP\PureBasic-v640x64\Compilers\purebasic.c
*** Compiler ***
Error: Assembler
error: implicit declaration of function 'SYS_FreeStructureStrings'; did you mean 'SYS_FreeParameterString'? [-Werror=implicit-function-declaration]
963 | SYS_FreeStructureStrings(&((threadtoguiXs_udtselectedfont*)(tls+24))[0],mthreadtoguiXs_udtselectedfo
*** C-Code ***
//
// PureBasic 6.40 beta 1 - C Backend (Windows - x64) generated code
//
// (c) 2026 Fantaisie Software
//
M_SYSFUNCTION(void) SYS_FreeThreadObjectCallback(char *tls) {
PB_FreeList(((pb_list *)(tls+0))[0].a);
SYS_FreeStructureStrings(&((threadtoguiXs_udtselectedfont*)(tls+24))[0],mthreadtoguiXs_udtselectedfont);
}