Index: trunk/psLib/swig/Makefile.PL
===================================================================
--- trunk/psLib/swig/Makefile.PL	(revision 3127)
+++ trunk/psLib/swig/Makefile.PL	(revision 3785)
@@ -1,4 +1,4 @@
-# File : Makefile.PL 
-use ExtUtils::MakeMaker; 
+# File : Makefile.PL
+use ExtUtils::MakeMaker;
 use FileHandle;
 
@@ -15,5 +15,5 @@
     };
 
-    #default:  
+    #default:
     die "Error:  syntaxt error in setup.txt line $_";
   }
@@ -26,10 +26,10 @@
 
 
-WriteMakefile( 
-	'NAME' => 'pslib',             # Name of package 
+WriteMakefile(
+	'NAME' => 'pslib',             # Name of package
 	'INC' => $opts{includes},
-	'LIBS' => ["$opts{ldflags}"],  # Name of custom libraries 
-	'OBJECT' => 'pslib_wrap.o',    # Name of custom libraries 
-	'OPTIMIZE' => $opts{cflags},
+	'LIBS' => ["$opts{ldflags}"],  # Name of custom libraries
+	'OBJECT' => 'pslib_wrap.o',    # Name of object
+	'OPTIMIZE' => "$opts{cflags} -w", # cflags with disabling of warnings (SWIG generated code generates warnings)
 	'LD' => $opts{ld}
 );
