Lazarus Compilation Difficulties lazarus / 11-Options ---------------------------------------------------------------------- CuriousKit · 2019-06-14 02:54 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": Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 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? ---------------------------------------------------------------------- marcov · 2019-06-14 04:43 Those constants did change in trunk. Probably you are still mixing old and new versions somewhere.