]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Issue 0020008: integrate patch for compilation with gcc 4.3.2 (from E.Adam)
authorvsr <vsr@opencascade.com>
Wed, 15 Oct 2008 13:50:24 +0000 (13:50 +0000)
committervsr <vsr@opencascade.com>
Wed, 15 Oct 2008 13:50:24 +0000 (13:50 +0000)
adm_local/unix/config_files/check_pyqt.m4
src/GLViewer/GLViewer_Tools.cxx
src/Style/Style_Salome.cxx
src/VTKViewer/VTKViewer_ConvexTool.cxx

index 68da58e356233ebe04dfe6ccead7698258879ba6..34ee1016123dce5f939298bc4c5720932b3e3ace 100644 (file)
@@ -130,6 +130,7 @@ if test "x$pyqt_ok" == "xyes" ; then
     TEST_LIB_DIRS="${TEST_LIB_DIRS} /usr/lib${LIB_LOCATION_SUFFIX} /usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages"
     TEST_LIB_DIRS="${TEST_LIB_DIRS} /usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/PyQt4"
     TEST_SIPS_DIRS="${TEST_SIPS_DIRS} /usr/share/sip"
+    TEST_SIPS_DIRS="${TEST_SIPS_DIRS} /usr/share/sip/PyQt4"
 
     dnl check PyQt libs
     pyqt_ok=no
index 1f270a253f9bff75c83d254c7021b4b265eb426e..28642e9693b7a589df2cfd342fecc0f0c7c81249 100644 (file)
@@ -27,6 +27,7 @@
 #include <GL/gl.h>
 
 #include <iostream>
+#include <string.h>
 
 /*!
   Constructor
index 63568e4c5e72050698a77f6821b78954e078f628..0755b5d6a39009c362336fdf98973e81966a5507 100644 (file)
@@ -60,6 +60,8 @@
 #include <QSlider>
 #include <QMainWindow>
 
+#include <limits.h>
+
 #define SHADOW          1
 #define LINE_GR_MARGIN  10
 #define HIGH_WDG_MARGIN 10
index 0689ab67aef41c6bebcae46b0758a824725c86e8..6ac05bf6ddab98196be915a4adcb15114e0923fe 100644 (file)
 
 #include <set>
 #include <map>
-
-#ifdef WIN32
 #include <algorithm>
-#endif
 
 #include <vtkUnstructuredGrid.h>
 #include <vtkGeometryFilter.h>