mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 00:28:23 +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}
|
||||
{$EXTENDEDSYNTAX ON}
|
||||
{$LONGSTRINGS ON}
|
||||
{$OPTIMIZATION ON}
|
||||
{ OPTIMIZATION ON} // Handled by (fp)make options
|
||||
{$MODE DELPHI} // Delphi-compatible mode in FreePascal
|
||||
{$INLINE ON}
|
||||
{$DEFINE COMPAT}
|
||||
@ -6864,7 +6864,7 @@ begin
|
||||
end;
|
||||
|
||||
{$IFDEF reRealExceptionAddr}
|
||||
{$OPTIMIZATION ON}
|
||||
{ OPTIMIZATION ON} // specified via (fp)make
|
||||
// ReturnAddr works correctly only if compiler optimization is ON
|
||||
// I placed this method at very end of unit because there are no
|
||||
// way to restore compiler optimization flag ...
|
||||
|
Loading…
Reference in New Issue
Block a user