mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -36,11 +36,13 @@
|
||||
#include <TDataStd_HDataMapOfStringHArray1OfInteger.hxx>
|
||||
#include <TDataStd_NamedData.hxx>
|
||||
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
#include <QTableView>
|
||||
#include <QTabWidget>
|
||||
#include <QVariant>
|
||||
#include <QVBoxLayout>
|
||||
#include <QWidget>
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
|
||||
static const QString VALUES_INTEGER = "values_integer";
|
||||
static const QString VALUES_REAL = "values_real";
|
||||
|
Reference in New Issue
Block a user