mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40: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:
@@ -25,6 +25,7 @@
|
||||
#include <TDF_Attribute.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
#include <QAbstractItemModel>
|
||||
#include <QColor>
|
||||
#include <QMap>
|
||||
@@ -32,6 +33,7 @@
|
||||
#include <QPixmap>
|
||||
#include <QString>
|
||||
#include <QIcon>
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
|
||||
class DFBrowserPane_AttributePaneAPI;
|
||||
|
||||
|
Reference in New Issue
Block a user