[fpc-devel] array of AnsiChar
Maxim Ganetsky
ganmax at narod.ru
Wed Jan 28 19:16:12 CET 2026
28.01.2026 16:42, Adriaan van Os via fpc-devel пишет:
> I built the fpc-3.3.1 trunk compiler on macOS (so far without the
> Unicode rtl). Is the issue below known ?
>
> Regards,
>
> Adriaan van Os
>
>
> administrator% cat chars01.pas
>
> {$mode delphiunicode}
>
> program chars01;
>
> type chars = array[ 0..3] of AnsiChar;
>
> procedure test;
>
> var ch: chars;
> begin
> ch := '';
> if ch <> ''
> then writeln( 'error')
> end;
>
> begin
> test
> end.
>
> administrator% /usr/local/lib/fpc/3.3.1/ppca64 chars01.pas
> Free Pascal Compiler version 3.3.1 [2026/01/23] for aarch64
> Copyright (c) 1993-2026 by Florian Klaempfl and others
> Target OS: Darwin for AArch64
> Compiling chars01.pas
> chars01.pas(13,9) Fatal: Internal error 200306016
> Fatal: Compilation aborted
Please report this to FPC issue tracker.
--
Best regards,
Maxim Ganetsky mailto:ganmax at narod.ru
More information about the fpc-devel
mailing list