mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024284: Some trivial warnings produced by ICC 14
Eliminated ICC 14 warnings: # 82: storage class is not first (e.g. "int static f()" # 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;") # 2415: variable "..." of static storage duration was declared but never referenced # 111: statement is unreachable (usually "break" after "return" in cycles)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#ifndef MeshVS_BUILDERPRIORITY_HXX
|
||||
#define MeshVS_BUILDERPRIORITY_HXX
|
||||
|
||||
Standard_EXPORT typedef Standard_Integer MeshVS_BuilderPriority;
|
||||
typedef Standard_Integer MeshVS_BuilderPriority;
|
||||
|
||||
enum
|
||||
{
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef MeshVS_DISPLAY_MODE_FLAGS_HXX
|
||||
#define MeshVS_DISPLAY_MODE_FLAGS_HXX
|
||||
|
||||
Standard_EXPORT typedef Standard_Integer MeshVS_DisplayModeFlags;
|
||||
typedef Standard_Integer MeshVS_DisplayModeFlags;
|
||||
|
||||
enum
|
||||
{
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef MeshVS_ENTITYTYPEHXX
|
||||
#define MeshVS_ENTITYTYPEHXX
|
||||
|
||||
Standard_EXPORT typedef enum
|
||||
typedef enum
|
||||
{
|
||||
MeshVS_ET_NONE = 0x00,
|
||||
MeshVS_ET_Node = 0x01,
|
||||
@@ -33,8 +33,7 @@ Standard_EXPORT typedef enum
|
||||
MeshVS_ET_Element = MeshVS_ET_0D | MeshVS_ET_Link | MeshVS_ET_Face | MeshVS_ET_Volume,
|
||||
MeshVS_ET_All = MeshVS_ET_Element | MeshVS_ET_Node
|
||||
|
||||
|
||||
} MeshVS_EntityType;
|
||||
} MeshVS_EntityType;
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef MeshVS_SELECTION_MODE_FLAGS_HXX
|
||||
#define MeshVS_SELECTION_MODE_FLAGS_HXX
|
||||
|
||||
Standard_EXPORT typedef enum
|
||||
typedef enum
|
||||
{
|
||||
MeshVS_SMF_Mesh = 0x0000,
|
||||
MeshVS_SMF_Node = 0x0001,
|
||||
@@ -35,8 +35,7 @@ Standard_EXPORT typedef enum
|
||||
|
||||
MeshVS_SMF_Group = 0x0100
|
||||
|
||||
|
||||
} MeshVS_SelectionModeFlags;
|
||||
} MeshVS_SelectionModeFlags;
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -30,14 +30,14 @@
|
||||
|
||||
#include <Quantity_Color.hxx>
|
||||
|
||||
Standard_EXPORT typedef struct {
|
||||
typedef struct {
|
||||
unsigned int r1 : 8;
|
||||
unsigned int g1 : 8;
|
||||
unsigned int b1 : 8;
|
||||
unsigned int r2 : 8;
|
||||
unsigned int g2 : 8;
|
||||
unsigned int b2 : 8;
|
||||
} MeshVS_TwoColors;
|
||||
} MeshVS_TwoColors;
|
||||
|
||||
|
||||
Standard_EXPORT Standard_Integer HashCode ( const MeshVS_TwoColors& theKey,
|
||||
|
Reference in New Issue
Block a user