From: Ketmar Dark Date: Fri, 18 Aug 2017 11:52:11 +0000 (+0300) Subject: some cosmetix in common compiler flags X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=94896ca5c4f78950b131f47a25e1183329cd7a47;p=d2df-sdl.git some cosmetix in common compiler flags --- 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}