From 94896ca5c4f78950b131f47a25e1183329cd7a47 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Fri, 18 Aug 2017 14:52:11 +0300 Subject: [PATCH] some cosmetix in common compiler flags --- src/shared/a_modes.inc | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/src/shared/a_modes.inc b/src/shared/a_modes.inc index 35e29d6..13c328e 100644 --- a/src/shared/a_modes.inc +++ b/src/shared/a_modes.inc @@ -1,19 +1,42 @@ // compiler options, common for all game modules {$MODE DELPHI} -{$MODESWITCH NESTEDPROCVARS+} -{$MODESWITCH DUPLICATELOCALS-} -{.$MODESWITCH CBLOCKS+} + {$MODESWITCH ADVANCEDRECORDS+} +{$MODESWITCH DUPLICATELOCALS-} +{$MODESWITCH NESTEDPROCVARS+} +{$MODESWITCH UNICODESTRINGS-} + {$ASSERTIONS ON} +{$BITPACKING OFF} +{$BOOLEVAL OFF} +{$COPERATORS ON} +{$EXTENDEDSYNTAX ON} +{$FPUTYPE SSE} +{$GOTO ON} +{$IEEEERRORS OFF} +{$INLINE ON} {$LONGSTRINGS ON} +{$MACRO OFF} +{$OBJECTCHECKS OFF} {$OVERFLOWCHECKS OFF} +{$POINTERMATH ON} {$RANGECHECKS OFF} -{.$STATIC ON} +{$SAFEFPUEXCEPTIONS OFF} +{$SCOPEDENUMS OFF} // this will possibly be changed later +{$SMARTLINK ON} {$TYPEDADDRESS OFF} +{$TYPEINFO OFF} {$VARSTRINGCHECKS OFF} -{$EXTENDEDSYNTAX ON} -{$B-} -{$S-} + +{$S-} // disable stack checking +{$MMX-} // get lost, mmx + +{$IF DEFINED(D2F_DEBUG)} + {$STACKFRAMES ON} +{$ELSE} + {$STACKFRAMES OFF} +{$ENDIF} + {$IFDEF MSWINDOWS} {$IFNDEF WINDOWS} -- 2.29.2