aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UCommon.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 11:43:41 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 11:43:41 +0000
commita4de5895a4cb1c3bf06948c27af50b6d27de306e (patch)
tree098c336cf4ec45d52f4b09d7f57978e4cd2d6f26 /Game/Code/Classes/UCommon.pas
parent887199a1ed8727b1968dd4cfe11c3c7311f3f311 (diff)
downloadusdx-a4de5895a4cb1c3bf06948c27af50b6d27de306e.tar.gz
usdx-a4de5895a4cb1c3bf06948c27af50b6d27de306e.tar.xz
usdx-a4de5895a4cb1c3bf06948c27af50b6d27de306e.zip
somw warnings removed
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1231 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UCommon.pas4
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.