]> OCCT Git - occt.git/commit
0029310: Coding - multiple compiler warnings in Inspectors
authornds <nds@opencascade.com>
Sun, 4 Mar 2018 16:10:56 +0000 (19:10 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 16 Mar 2018 12:06:00 +0000 (15:06 +0300)
commit130eb1140590a048577d05df746f77a91305f159
tree99ceffee5499422146a3620c791b790cf4d44ad8
parent50c47573877f5599971dcb56d7b415b6d42c7353
0029310: Coding - multiple compiler warnings in Inspectors

1. Added specific header files to disable and restore compiler warnings: Standard_WarningsDisable.hxx, Standard_WarningsRestore.hxx.
   (Currently only MSVC compiler is handled.)
2. Inspector: compiler warnings are disabled for all includes of Qt headers.
3. Inspector: minor code correction to avoid warning due to use of floating point values in integer calculations.
159 files changed:
src/Standard/FILES
src/Standard/Standard_WarningsDisable.hxx [new file with mode: 0644]
src/Standard/Standard_WarningsRestore.hxx [new file with mode: 0644]
tools/DFBrowser/DFBrowser_AttributePaneStack.cxx
tools/DFBrowser/DFBrowser_AttributePaneStack.hxx
tools/DFBrowser/DFBrowser_Communicator.hxx
tools/DFBrowser/DFBrowser_DumpView.cxx
tools/DFBrowser/DFBrowser_DumpView.hxx
tools/DFBrowser/DFBrowser_HighlightDelegate.cxx
tools/DFBrowser/DFBrowser_HighlightDelegate.hxx
tools/DFBrowser/DFBrowser_Item.cxx
tools/DFBrowser/DFBrowser_Item.hxx
tools/DFBrowser/DFBrowser_ItemApplication.cxx
tools/DFBrowser/DFBrowser_ItemBase.cxx
tools/DFBrowser/DFBrowser_ItemDocument.cxx
tools/DFBrowser/DFBrowser_ItemRole.hxx
tools/DFBrowser/DFBrowser_Module.cxx
tools/DFBrowser/DFBrowser_Module.hxx
tools/DFBrowser/DFBrowser_PropertyPanel.cxx
tools/DFBrowser/DFBrowser_PropertyPanel.hxx
tools/DFBrowser/DFBrowser_SearchItemInfo.hxx
tools/DFBrowser/DFBrowser_SearchLine.cxx
tools/DFBrowser/DFBrowser_SearchLine.hxx
tools/DFBrowser/DFBrowser_SearchLineModel.cxx
tools/DFBrowser/DFBrowser_SearchLineModel.hxx
tools/DFBrowser/DFBrowser_SearchView.cxx
tools/DFBrowser/DFBrowser_SearchView.hxx
tools/DFBrowser/DFBrowser_Shortcut.cxx
tools/DFBrowser/DFBrowser_Shortcut.hxx
tools/DFBrowser/DFBrowser_Thread.cxx
tools/DFBrowser/DFBrowser_Thread.hxx
tools/DFBrowser/DFBrowser_ThreadItemSearch.cxx
tools/DFBrowser/DFBrowser_ThreadItemSearch.hxx
tools/DFBrowser/DFBrowser_ThreadItemUsedShapesMap.hxx
tools/DFBrowser/DFBrowser_Tools.cxx
tools/DFBrowser/DFBrowser_Tools.hxx
tools/DFBrowser/DFBrowser_TreeLevelLine.cxx
tools/DFBrowser/DFBrowser_TreeLevelLine.hxx
tools/DFBrowser/DFBrowser_TreeLevelLineDelegate.cxx
tools/DFBrowser/DFBrowser_TreeLevelLineDelegate.hxx
tools/DFBrowser/DFBrowser_TreeLevelLineModel.cxx
tools/DFBrowser/DFBrowser_TreeLevelLineModel.hxx
tools/DFBrowser/DFBrowser_TreeLevelView.cxx
tools/DFBrowser/DFBrowser_TreeLevelView.hxx
tools/DFBrowser/DFBrowser_TreeLevelViewModel.cxx
tools/DFBrowser/DFBrowser_TreeLevelViewModel.hxx
tools/DFBrowser/DFBrowser_TreeModel.cxx
tools/DFBrowser/DFBrowser_TreeModel.hxx
tools/DFBrowser/DFBrowser_TreeView.hxx
tools/DFBrowser/DFBrowser_Window.cxx
tools/DFBrowser/DFBrowser_Window.hxx
tools/DFBrowserPane/DFBrowserPane_AttributePane.cxx
tools/DFBrowserPane/DFBrowserPane_AttributePane.hxx
tools/DFBrowserPane/DFBrowserPane_AttributePaneModel.cxx
tools/DFBrowserPane/DFBrowserPane_AttributePaneModel.hxx
tools/DFBrowserPane/DFBrowserPane_AttributePaneSelector.hxx
tools/DFBrowserPane/DFBrowserPane_HelperArray.cxx
tools/DFBrowserPane/DFBrowserPane_HelperArray.hxx
tools/DFBrowserPane/DFBrowserPane_HelperExport.cxx
tools/DFBrowserPane/DFBrowserPane_HelperExport.hxx
tools/DFBrowserPane/DFBrowserPane_ItemDelegateButton.cxx
tools/DFBrowserPane/DFBrowserPane_ItemDelegateButton.hxx
tools/DFBrowserPane/DFBrowserPane_TDFReference.cxx
tools/DFBrowserPane/DFBrowserPane_TDFTagSource.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdAsciiString.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdBooleanArray.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdBooleanList.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdByteArray.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdComment.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdCurrent.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdDirectory.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdExpression.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdExtStringArray.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdExtStringList.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdIntPackedMap.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdInteger.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdIntegerArray.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdIntegerList.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdName.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdNamedData.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdNoteBook.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdReal.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdRealArray.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdRealList.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdReferenceArray.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdReferenceList.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdRelation.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdTick.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNode.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeItem.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeItem.hxx
tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.hxx
tools/DFBrowserPane/DFBrowserPane_TDataStdUAttribute.cxx
tools/DFBrowserPane/DFBrowserPane_TDataStdVariable.cxx
tools/DFBrowserPane/DFBrowserPane_TDocStdModified.cxx
tools/DFBrowserPane/DFBrowserPane_TDocStdOwner.cxx
tools/DFBrowserPane/DFBrowserPane_TDocStdXLink.cxx
tools/DFBrowserPane/DFBrowserPane_TDocStdXLinkRoot.cxx
tools/DFBrowserPane/DFBrowserPane_TFunctionFunction.cxx
tools/DFBrowserPane/DFBrowserPane_TFunctionGraphNode.cxx
tools/DFBrowserPane/DFBrowserPane_TFunctionScope.cxx
tools/DFBrowserPane/DFBrowserPane_TNamingNamedShape.cxx
tools/DFBrowserPane/DFBrowserPane_TNamingNamedShape.hxx
tools/DFBrowserPane/DFBrowserPane_TNamingNaming.cxx
tools/DFBrowserPane/DFBrowserPane_TNamingUsedShapes.cxx
tools/DFBrowserPane/DFBrowserPane_TPrsStdAISPresentation.cxx
tools/DFBrowserPane/DFBrowserPane_TPrsStdAISViewer.cxx
tools/DFBrowserPane/DFBrowserPane_TableView.cxx
tools/DFBrowserPane/DFBrowserPane_TableView.hxx
tools/DFBrowserPane/DFBrowserPane_Tools.cxx
tools/DFBrowserPane/DFBrowserPane_Tools.hxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_AttributeCommonPane.cxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_AttributeCommonPane.hxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_Tools.hxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_XCAFDocColor.cxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_XCAFDocShapeMapTool.cxx
tools/ShapeView/ShapeView_Communicator.cxx
tools/ShapeView/ShapeView_ItemShape.cxx
tools/ShapeView/ShapeView_ItemShape.hxx
tools/ShapeView/ShapeView_OpenFileDialog.cxx
tools/ShapeView/ShapeView_OpenFileDialog.hxx
tools/ShapeView/ShapeView_OpenFileViewModel.cxx
tools/ShapeView/ShapeView_OpenFileViewModel.hxx
tools/ShapeView/ShapeView_TreeModel.hxx
tools/ShapeView/ShapeView_Window.cxx
tools/ShapeView/ShapeView_Window.hxx
tools/TInspector/TInspector_Communicator.cxx
tools/TInspector/TInspector_Window.cxx
tools/TInspector/TInspector_Window.hxx
tools/TreeModel/TreeModel_ItemBase.cxx
tools/TreeModel/TreeModel_ItemBase.hxx
tools/TreeModel/TreeModel_ItemRole.hxx
tools/TreeModel/TreeModel_MessageDialog.cxx
tools/TreeModel/TreeModel_MessageDialog.hxx
tools/TreeModel/TreeModel_ModelBase.hxx
tools/VInspector/VInspector_CallBack.cxx
tools/VInspector/VInspector_Communicator.cxx
tools/VInspector/VInspector_ItemContext.cxx
tools/VInspector/VInspector_ItemEntityOwner.cxx
tools/VInspector/VInspector_ItemPresentableObject.cxx
tools/VInspector/VInspector_ItemSelection.cxx
tools/VInspector/VInspector_ItemSensitiveEntity.cxx
tools/VInspector/VInspector_ToolBar.cxx
tools/VInspector/VInspector_ToolBar.hxx
tools/VInspector/VInspector_Tools.cxx
tools/VInspector/VInspector_Tools.hxx
tools/VInspector/VInspector_ViewModel.cxx
tools/VInspector/VInspector_ViewModel.hxx
tools/VInspector/VInspector_ViewModelHistory.cxx
tools/VInspector/VInspector_ViewModelHistory.hxx
tools/VInspector/VInspector_Window.cxx
tools/VInspector/VInspector_Window.hxx
tools/View/View_ToolBar.cxx
tools/View/View_ToolBar.hxx
tools/View/View_Widget.cxx
tools/View/View_Widget.hxx
tools/View/View_Window.cxx
tools/View/View_Window.hxx