Hello! I have just installed the latest version of SplashKit, and I cannot compile SplashKit.pas:
fpc -S2 -Sh program.pas -Fu~/.splashkit/fpc/ -k-L~/.splashkit/lib/linux/ -k-lSplashKit
Free Pascal Compiler version 3.2.2 [2023/03/05] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling program.pas
Compiling /home/roland/.splashkit/fpc/SplashKit.pas
SplashKit.pas(1327,38) Fatal: Syntax error, "identifier" expected but "TYPE" found
Here is the line 1327:
function OpenAdc(const name: String; type: AdcType): AdcDevice;
If I replace everywhere the identifier type with &type, I can compile the unit.