Hi everyone,
I've been having some problems actually compiling Lazarus to use the development branch of FPC. If the project is non-graphical, I can build it without any difficulty, but if I use any forms at all, I have to recompile the Lazarus components. Fair enough, but whenever I try, I end up with the following error:
utf8process.pp(362,69) Error: Expected another 2 array elements
The error relates to a line in "components/lazutils/UTF8process.pp":
Const
PriorityConstants : Array [TProcessPriority] of Cardinal =
(HIGH_PRIORITY_CLASS,IDLE_PRIORITY_CLASS,
NORMAL_PRIORITY_CLASS,REALTIME_PRIORITY_CLASS);
The problem is, if I follow the declaration of TProcessPriority, it brings up a correct, up-to-date definition with only 4 elements in the enumeration, so I don't know where the compiler is looking to get a different copy of TProcessPriority.
Is this a known problem with a straightforward solution?