MAC(Intel) FPC 3.2.0: An assembler function causes an error on linking
Original Reporter info from Mantis: shiraishi
-
Reporter name:
Original Reporter info from Mantis: shiraishi
- Reporter name:
Description:
Set Project Option - parsing - Assembler Style Intel
The following goes on Quick Compile, but not on Compile.
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs;
type
TForm1 = class(TForm)
private
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
function neg(a:shortint):shortint;assembler;
asm
mov al,a
neg al
end;
end.
Mantis conversion info:
- Mantis ID: 38471
- OS: OS 10.15
- OS Build: OS 10.15
- Build: FPC 3.2.0
- Platform: Intel Mac
- Version: 2.0.10
- Fixed in version: 3.3.1
- Monitored by: » @CuriousKit (J. Gareth Moreton)