Avoid use of fastmath optimization inside compiler

(cherry picked from commit 91f29419a5)
This commit is contained in:
Pierre Muller 2022-01-25 21:50:03 +00:00
parent 48f68cbeed
commit 90301426fc

View File

@ -19,6 +19,11 @@
exceptions in the constructors } exceptions in the constructors }
{$IMPLICITEXCEPTIONS OFF} {$IMPLICITEXCEPTIONS OFF}
{ We don't want the compiler to use fastmath
optimization because it considers negative zeroes
as normal zeroes }
{$OPTIMIZATION NOFASTMATH}
{ This define enables codepage-aware compiler messages handling. Turning it on { This define enables codepage-aware compiler messages handling. Turning it on
forces code page conversion from the codepage, specified in the .msg file to forces code page conversion from the codepage, specified in the .msg file to
CP_ACP, before printing the message to the console. Enable this for host CP_ACP, before printing the message to the console. Enable this for host