Lars Fosdal 1792 Posted January 21, 2019 [dcc32 Fatal Error] One.OfMyUnits.pas(1686): E2158 System unit out of date or corrupted: missing '@Clr' Clean / Build does not fix it. And - it happens on our build server too! Have any of you seen this one before? Share this post Link to post
Lars Fosdal 1792 Posted January 21, 2019 Doh! Never mind! I had commented out one of two overloaded methods in the interface section. There was another "fatal" compilation error further up in the compiler output list. Basically, it was just a weird IDE/compiler artifact due to invalid code. Share this post Link to post
Rudy Velthuis 91 Posted February 14, 2019 (edited) On 1/21/2019 at 11:32 AM, Lars Fosdal said: Doh! Never mind! I had commented out one of two overloaded methods in the interface section. There was another "fatal" compilation error further up in the compiler output list. Basically, it was just a weird IDE/compiler artifact due to invalid code. Probably because of the error in the code, the compiler got into an inconsistent state. In such cases, the only way to get rid of the problem is to restart the IDE. Edited February 14, 2019 by Rudy Velthuis Share this post Link to post
mp3freak_en 0 Posted November 17, 2020 (edited) I've found another situation where compiler returning that weird output not working: procedure Test1(var ii:array of integer); begin setlength(ii, 0); // (..) end; [dcc32 Error] Unit1.pas(100): E2008 Incompatible types [dcc32 Fatal Error] Unit1.pas(100): E2158 System unit out of date or corrupted: missing '@Clr' working: type iArray=array of integer; procedure Test2(var ii:iArray); begin setlength(ii, 0); // (..) end; well, never mind, think there are still some issues. edit: testet with delphi 10.2 - same error testet with delphi 10.3 update 3 - same error didn't teste with delphi 10.4. Edited November 17, 2020 by mp3freak_en Share this post Link to post
Guest Posted November 17, 2020 wierd same it's all space to wrote and anybody have a time to identify what IDE/Compiler this occurrs!!! ;( Share this post Link to post