diff options
Diffstat (limited to 'Game/Code/Classes/UCommon.pas')
-rw-r--r-- | Game/Code/Classes/UCommon.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Game/Code/Classes/UCommon.pas b/Game/Code/Classes/UCommon.pas index a8f2f028..7eefedac 100644 --- a/Game/Code/Classes/UCommon.pas +++ b/Game/Code/Classes/UCommon.pas @@ -77,6 +77,7 @@ uses {$IFDEF Delphi} Dialogs, {$ENDIF} + {$WARNINGS OFF} {$IFDEF LINUX} {$IFDEF FPC} {$IF FPC_VERSION_INT >= 2002002} // >= 2.2.2 @@ -84,9 +85,11 @@ uses {$IFEND} {$ENDIF} {$ENDIF} + {$WARNINGS ON} UMain; +{$WARNINGS OFF} // data used by the ...Locale() functions {$IFDEF LINUX} var @@ -101,6 +104,7 @@ function setlocale(category: integer; locale: pchar): pchar; cdecl; external 'c' {$IFEND} {$ENDIF} {$ENDIF} +{$WARNINGS ON} // In Linux and maybe MacOSX some units (like cwstring) call setlocale(LC_ALL, '') // to set the language/country specific locale (e.g. charset) for this application. |