mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 21:49:15 +02:00
regexpr: disable forced optimisation switch
This should be specifiable via (fp)make
This commit is contained in:
parent
e6b8aa07d7
commit
ae36829ecd
@ -69,7 +69,7 @@ interface
|
|||||||
{$BOOLEVAL OFF}
|
{$BOOLEVAL OFF}
|
||||||
{$EXTENDEDSYNTAX ON}
|
{$EXTENDEDSYNTAX ON}
|
||||||
{$LONGSTRINGS ON}
|
{$LONGSTRINGS ON}
|
||||||
{$OPTIMIZATION ON}
|
{ OPTIMIZATION ON} // Handled by (fp)make options
|
||||||
{$MODE DELPHI} // Delphi-compatible mode in FreePascal
|
{$MODE DELPHI} // Delphi-compatible mode in FreePascal
|
||||||
{$INLINE ON}
|
{$INLINE ON}
|
||||||
{$DEFINE COMPAT}
|
{$DEFINE COMPAT}
|
||||||
@ -6864,7 +6864,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{$IFDEF reRealExceptionAddr}
|
{$IFDEF reRealExceptionAddr}
|
||||||
{$OPTIMIZATION ON}
|
{ OPTIMIZATION ON} // specified via (fp)make
|
||||||
// ReturnAddr works correctly only if compiler optimization is ON
|
// ReturnAddr works correctly only if compiler optimization is ON
|
||||||
// I placed this method at very end of unit because there are no
|
// I placed this method at very end of unit because there are no
|
||||||
// way to restore compiler optimization flag ...
|
// way to restore compiler optimization flag ...
|
||||||
|
Loading…
Reference in New Issue
Block a user