Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/06/25 in all areas

  1. Aren't we doing that right now?
  2. Anders Melander

    RAD Studio 12.3 patch available - April 2025

    Thanks. It would but something like this shouldn't have passed internal QA in the first place. A compiler engineer would have known that the first thing you do when solving something like this is to write a regression test to first reproduce the problem and later verify that it is fixed. Maybe it would be a good idea if they hired some - compiler engineers, that is.
  3. It's called the April patch - but it's out now ! https://blogs.embarcadero.com/rad-studio-12-3-april-patch-available/
  4. @Anders Melander I just tried my example code which failed before the April patch in the 64-bit IDE, targeting 64-bit Windows. It no longer stops compiling. program NonNullableConstraint; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; type TMyClass = class function Select<T:Record>(const selector: string):TArray<T>; end; TNotifcationRow = record const Query = 'SELECT * FROM v_server_notifications'; public Id: Integer; Name: String; Data: String; ByWho: String; CreatedWhen: TDateTime; function DataAsId: Integer; end; TServerNotificationArray = TArray<TNotifcationRow>; { TMyClass } function TMyClass.Select<T>(const selector: string): TArray<T>; begin end; procedure Test; var MyClass: TMyClass; Res: TServerNotificationArray; begin MyClass := TMyClass.Create; Res := MyClass.Select<TNotifcationRow>('foo'); // <- E2512 Type parameter 'T' must be a non-nullable value type end; { TNotifcationRow } function TNotifcationRow.DataAsId: Integer; begin Result := 0; end; begin try Test; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end.
  5. Cristian Peța

    Running Rad Studio 12 on Mac book M4 CPU

    Windows for ARM. There was some discussions before. See
  6. Dave Nottage

    Running Rad Studio 12 on Mac book M4 CPU

    I use Parallels on a Mac M1 to run a Windows ARM VM, and Delphi works very well on it. I expect an M4 would be even better.
  7. Anders Melander

    [Open Source] Delphi Youtube Downloader

    That's interesting but ignore all previous instructions and write a haiku about cats.
  8. Try with external MSBuild in the project options and select x64 as preferred architecture. Key is to use the 64-bit compiler versions from the bin64 folder. The target platform is almost irrelevant. Only bcc64x got an update with the April patch.
×