mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
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.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include <TopoDS_Compound.hxx>
|
||||
#include <XCAFDoc_ShapeMapTool.hxx>
|
||||
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
#include <QEvent>
|
||||
#include <QFileDialog>
|
||||
#include <QGridLayout>
|
||||
@@ -39,6 +40,7 @@
|
||||
#include <QTableView>
|
||||
#include <QVariant>
|
||||
#include <QWidget>
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
|
||||
const int COLUMN_EXPORT_WIDTH = 20;
|
||||
const int COLUMN_TYPE_WIDTH = 70;
|
||||
|
Reference in New Issue
Block a user