Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2026-01

array of AnsiChar

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Adriaan van Os

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

Reply by email

Maxim Ganetsky
to Adriaan van Os

28.01.2026 16:42, Adriaan van Os via fpc-devel пишет:

Show quoted text 36 lines
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

Reply by email