Free Pascal Compiler version 3.2.2 [2021/05/15] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling sfhyperg.pas
Compiling amath.pas
amath.pas(2863,14) Note: Call to subroutine "function copysign(x:Extended;y:Extended):Extended;" marked as inline is not inlined
amath.pas(3841,6) Note: Call to subroutine "function IsNaNorInf(x:Extended):Boolean;" marked as inline is not inlined
amath.pas(3841,23) Note: Call to subroutine "function IsNaNorInf(x:Extended):Boolean;" marked as inline is not inlined
amath.pas(3857,21) Note: Call to subroutine "function copysign(x:Extended;y:Extended):Extended;" marked as inline is not inlined
amath.pas(3869,21) Note: Call to subroutine "function copysign(x:Extended;y:Extended):Extended;" marked as inline is not inlined
amath.pas(4066,5) Note: Call to subroutine "procedure xxto2x(a:Extended;b:Extended;var x:ext2);" marked as inline is not inlined
amath.pas(4136,3) Note: Call to subroutine "procedure xxto2x(a:Extended;b:Extended;var x:ext2);" marked as inline is not inlined
amath.pas(4151,5) Note: Call to subroutine "procedure xxto2x(a:Extended;b:Extended;var x:ext2);" marked as inline is not inlined
amath.pas(4155,5) Note: Call to subroutine "procedure sub2x(const a:ext2;const b:ext2;var x:ext2);" marked as inline is not inlined
amath.pas(4750,10) Note: Call to subroutine "function copysign(x:Extended;y:Extended):Extended;" marked as inline is not inlined
amath.pas(4886,10) Note: Call to subroutine "function copysign(x:Extended;y:Extended):Extended;" marked as inline is not inlined
Compiling sfbasic.pas
Compiling amtools.pas
Compiling memh.pas
Compiling sfgamma.pas
Compiling sfzeta.pas
Compiling sfpoly.pas
Compiling sfellint.pas
Compiling sfmisc.pas
Compiling sfgamma2.pas
Compiling sfexpint.pas
Compiling sferf.pas
Compiling sfbessel.pas
49957 lines compiled, 0.3 sec
11 note(s) issued
Compiles fine. Probably needs default mode, because lazarus forces -S2. Set the mode in the compiler options, or adds {$mode fpc} to the {$ifdef fpc} in std.inc
I did what you said me in the std.inc :
{$ifdef FPC}
{$mode fpc}
{$define FPC_ProcVar}
{$define ABSTRACT}
{$define HAS_XTYPES}
{$define HAS_OVERLOAD}
{$define HAS_FP_CAST}
{$undef N_OPT}
{$ifdef VER1}
{$undef J_OPT}
{$define HAS_INT64}
{$define HAS_CARD32}
{$define HAS_MSG}
{$define HAS_ASSERT}
{$ifndef VER1_0}
{FPC 1.9.x}
{$define StrictLong}
{$else}
{$define LoadArgs}
{$endif}
when compiling, it gives me the error message for the Amath.pas (unit file) :Compile Project, Target: C:\PASCAL\hfr2025MKL_V1.exe: Exit code 1, Errors: 50, Warnings: 6
amath.pas(1610,7) Error: Assembler syntax error in operand
amath.pas(1610,9) Error: Assembler syntax error in operand
amath.pas(1620,11) Error: Assembler syntax error in operand
amath.pas(1620,13) Error: Assembler syntax error in operand
amath.pas(1716,11) Error: Assembler syntax error in operand
amath.pas(1716,13) Error: Assembler syntax error in operand
amath.pas(1718,11) Error: Unknown identifier "ST"
amath.pas(1718,14) Error: Unknown identifier "ST"
amath.pas(1718,18) Warning: No size specified and unable to determine the size of the operands, using DWORD as default
amath.pas(1720,11) Error: Unknown identifier "QWORD"
amath.pas(1720,21) Error: Assembler syntax error in operand
amath.pas(1720,28) Error: Assembler syntax error in operand
amath.pas(1721,11) Error: Unknown identifier "ST"
amath.pas(1721,14) Error: Unknown identifier "ST"
amath.pas(1721,18) Warning: No size specified and unable to determine the size of the operands, using DWORD as default
amath.pas(1722,11) Error: Unknown identifier "ST"
amath.pas(1722,17) Error: Unknown identifier "ST"
amath.pas(1722,17) Warning: No size specified and unable to determine the size of the operands, using DWORD as default
amath.pas(1723,11) Error: Unknown identifier "QWORD"
amath.pas(1723,21) Error: Assembler syntax error in operand
amath.pas(1723,28) Error: Assembler syntax error in operand
amath.pas(1724,11) Error: Unknown identifier "ST"
amath.pas(1724,15) Error: Unknown identifier "ST"
amath.pas(1724,19) Warning: No size specified and unable to determine the size of the operands, using DWORD as default
amath.pas(1725,11) Error: Unknown identifier "ST"
amath.pas(1725,17) Error: Unknown identifier "ST"
amath.pas(1725,17) Warning: No size specified and unable to determine the size of the operands, using DWORD as default
amath.pas(1726,11) Error: Unknown identifier "ST"
amath.pas(1728,11) Error: Unknown identifier "ST"
amath.pas(1728,17) Error: Unknown identifier "ST"
amath.pas(1728,17) Warning: No size specified and unable to determine the size of the operands, using DWORD as default
amath.pas(1736,11) Error: Unknown identifier "ST"
amath.pas(1740,11) Error: Unknown identifier "AX"
amath.pas(1742,11) Error: Assembler syntax error in operand
amath.pas(1742,12) Error: Assembler syntax error in operand
amath.pas(1742,13) Error: Invalid reference syntax
amath.pas(1743,11) Error: Unknown identifier "ST"
amath.pas(1745,11) Error: Assembler syntax error in operand
amath.pas(1745,16) Error: Assembler syntax error in operand
amath.pas(1746,11) Error: Unknown identifier "AX"
amath.pas(1748,11) Error: Assembler syntax error in operand
amath.pas(1748,12) Error: Assembler syntax error in operand
amath.pas(1748,13) Error: Invalid reference syntax
amath.pas(1749,11) Error: Unknown identifier "ST"
amath.pas(1749,14) Error: Unknown identifier "ST"
amath.pas(1750,11) Error: Assembler syntax error in operand
amath.pas(1750,12) Error: Assembler syntax error in operand
amath.pas(1750,13) Error: Invalid reference syntax
amath.pas(1751,1) Error: Unrecognized opcode
amath.pas(1751,1) Error: Assembler syntax error
amath.pas(1754,11) Error: Unknown identifier "DWORD"
amath.pas(1754,21) Error: Assembler syntax error in operand
amath.pas(1754,26) Error: Assembler syntax error in operand
amath.pas(1756,11) Error: Unknown identifier "ST"
amath.pas(1757,11) Error: Unknown identifier "DWORD"
amath.pas(1757,21) Error: Assembler syntax error in operand
Probably, I am making an important mistake, but I will not find it in case you don't direct meI am making a mistake, but I can not find it in case you dont direct me