Just because it worked doesn't mean it works. PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
H_Language.pbi
Line 138: Constant not found: #LANG_ENGLISH
H_Initialization.pbi
Line 28:
;Raspberry pi doesn't know some pb constants !
CompilerIf Defined(LANG_ENGLISH, #PB_Constant)
#LANG_ENGLISH = 9
CompilerEndIf
How is that supposed to work? If the constant #LANG_ENGLISH is defined, CompilerIf is no longer needed. The value of the constant can then no longer be changed.
H_Procedures.pbi
Line 1555: With 'EnableExplicit', variables have to be declared: IconSize
H_Initialization.pbi
Line 134:
CompilerSelect #PB_Compiler_OS
CompilerCase #PB_OS_Windows
Global ImageList, IconSize
; CompilerCase #PB_OS_Linux
; CompilerCase #PB_OS_MacOS
; CompilerDefault
CompilerEndSelect
IconSize is missing for Linux.
H_Procedures.pbi
Line 2796: Search_FindStringInMemoryAll(): Incorrect number of parameters.
Line 2797: Search_FindInRamDiskAll(): Incorrect number of parameters.
Line 3656: InitWebXP() ist not a function, array, list, map or macro.
H_Runtimes.pbi
Line 28: With 'EnableExplicit', variables have to be declared: ShowSearch.
This is where I stopped trying to compile the code.