Skip to content

Commit 645daec

Browse files
author
Idan Miara
committed
{$WARN SYMBOL_PLATFORM OFF} to silent: [dcc64 Warning] PythonEngine.pas(9758): W1002 Symbol 'SetPrecisionMode' is specific to a platform
which is {$IFNDEF NEXTGEN} anyway.
1 parent 1dba190 commit 645daec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9753,12 +9753,12 @@ procedure MaskFPUExceptions(ExceptionsMasked : boolean;
97539753
exOverflow, exUnderflow, exPrecision])
97549754
else
97559755
SetExceptionMask([exDenormalized, exUnderflow, exPrecision]);
9756-
{$IFNDEF NEXTGEN}
9756+
{$IFNDEF NEXTGEN}{$WARN SYMBOL_PLATFORM OFF}
97579757
if MatchPythonPrecision then
97589758
SetPrecisionMode(pmDouble)
97599759
else
97609760
SetPrecisionMode(pmExtended);
9761-
{$ENDIF !NEXTGEN}
9761+
{$ENDIF !NEXTGEN}{$WARN SYMBOL_PLATFORM ON}
97629762
end;
97639763

97649764
{$IFDEF MSWINDOWS}

0 commit comments

Comments
 (0)