Skip to content

Unknown compilerproc "fpc_write_text_enum_iso

The compiler complains about a missing compilerproc that should be defined in {$mode extendedpascal} Given:

{$mode extendedpascal}
type
  fruits = (apple, banana, citrus);   
var
  a:fruits;
begin
  Writeln(pred(high(a))));
  ReadLn;
end.

The exact error is : "Fatal: (6046) Unknown compilerproc "fpc_write_text_enum_iso". Check if you use the correct run time library." As far as I know, extendedpascal mode should work on all major platforms. It usually does. If you comment out the mode, it works, but it should work.

Edited by Thaddy de Koning
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information