]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Recent versions of GCC (4.4.6 in RHEL6) have gotten stricter in what responsibilities... BR_HDF_dev
authorsbh <sbh@opencascade.com>
Thu, 26 Dec 2013 14:55:39 +0000 (14:55 +0000)
committersbh <sbh@opencascade.com>
Thu, 26 Dec 2013 14:55:39 +0000 (14:55 +0000)
src/CAM/CAM_Application.cxx
src/HTMLService/HTMLService_HTML.cxx
src/OCCViewer/OCCViewer_ViewPort3d.cxx
src/OCCViewer/OCCViewer_ViewWindow.cxx
src/Qtx/QtxColorScale.cxx
src/Qtx/QtxSplash.cxx
src/Qtx/QtxWorkstack.cxx
src/SUIT/SUIT_DataObject.cxx
src/VTKViewer/VTKViewer_ConvexTool.cxx

index 555cdd9f8f7eb77ab9cad29c87c603fbe29ee901..213273188b40da2e2f33bafae9b73fc41cf14048 100755 (executable)
@@ -39,6 +39,9 @@
 #include <dlfcn.h>
 #endif
 
+//Required by gcc version 4.4.6
+#include <cstdio>
+
 /*!
   \brief Create new instance of CAM_Application.
   \return new instance of CAM_Application class
index 70b4773c6fd363687ba7fabdfc3546d8678bf38f..a25816f07f1b851dd5a212a78a934aea300d7e61 100755 (executable)
@@ -12,6 +12,9 @@
 #include <Standard_TypeDef.hxx>\r
 #include <Standard_ExtCharacter.hxx>\r
 \r
+//Required by gcc version 4.4.6\r
+#include <cstdio>\r
+\r
 IMPLEMENT_STANDARD_HANDLE(HTMLService_HTML, MMgt_TShared)\r
 IMPLEMENT_STANDARD_RTTIEXT(HTMLService_HTML, MMgt_TShared)\r
 \r
index 973b4660732ca59c5f4bf31ee0dc2adcb968dc1b..26099e8105b1ddacf7b7055944ff6350d3966323 100755 (executable)
@@ -35,6 +35,8 @@
 #include <Xw_Window.hxx>
 #endif
 
+//Required by gcc version 4.4.6
+#include <cstdio>
 /*!
     Constructor
 */
index 89df6ebe0d721cae12319136c82caed0f4c15f6e..a275a3110341d67ea615cd4fa4a0aea22fea48a3 100755 (executable)
@@ -45,6 +45,9 @@
 #include <gp_Dir.hxx>
 #include <gp_Pln.hxx>
 
+//Required by gcc version 4.4.6
+#include <cstdio>
+
 const char* imageZoomCursor[] = { 
 "32 32 3 1",
 ". c None",
index 44589c9c1e75b35ecbdf4ec1ee046c39f901f7c2..e5a31ab51bd59bda3aec8b08a174240dee5b753e 100755 (executable)
@@ -29,6 +29,8 @@
 #include <QTextDocument>
 
 #include <math.h>
+//Required by gcc version 4.4.6
+#include <cstdio>
 
 /*!
   \class QtxColorScale
index 044d8fe88c9592a667618219601f618aef34d374..86ad10aad791282100edb8fff0f5ea788faae918 100644 (file)
@@ -28,6 +28,9 @@
 #include <QMessageBox>
 #include <QDesktopWidget>
 
+//Required by gcc version 4.4.6
+#include <cstdio>
+
 /*!
   \class ProgressEvent
   \internal
index 7c7911cbb5084c30da09dccfbbc0f72582d433eb..6f7f548de60f9c4d506c320742e32c11fce3ff10 100644 (file)
@@ -39,6 +39,9 @@
 #include <QStackedWidget>
 #include <QAbstractButton>
 
+//Required by gcc version 4.4.6
+#include <cstdio>
+
 /*!
   \class QtxWorkstackArea::WidgetEvent
   \internal
index d7b8e6654ddb330981951c6433becd5c43a489c3..41ba52445c1ae81cd24eebdc2cd653d44d28bb3c 100755 (executable)
@@ -23,6 +23,9 @@
 #include "SUIT_DataObject.h"
 #include "SUIT_DataObjectKey.h"
 
+//Required by gcc version 4.4.6
+#include <cstdio>
+
 SUIT_DataObject::Signal* SUIT_DataObject::mySignal = 0;
 
 /*!
index 0689ab67aef41c6bebcae46b0758a824725c86e8..6ac05bf6ddab98196be915a4adcb15114e0923fe 100644 (file)
 
 #include <set>
 #include <map>
-
-#ifdef WIN32
 #include <algorithm>
-#endif
 
 #include <vtkUnstructuredGrid.h>
 #include <vtkGeometryFilter.h>