1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

0027105: Make code ISO-compliant [-Wpedantic fixes]

Remove extra semicolons and correct function prototypes for GCC -pedantic ISO compliance option
This commit is contained in:
Jacob Abel
2016-01-21 16:28:38 -08:00
committed by abv
parent d3b7582d2f
commit a3f6f591fc
50 changed files with 63 additions and 55 deletions

View File

@@ -60,8 +60,8 @@ namespace
Standard_Real aLogRadix = Log10 (anAbsValue) / Log10 (FLT_RADIX);
Standard_Real aExp = Floor (aLogRadix);
return FLT_EPSILON * Pow (FLT_RADIX, aExp);
};
};
}
}
// =======================================================================
// function : Graphic3d_Camera

View File

@@ -637,7 +637,7 @@ private:
public:
DEFINE_STANDARD_RTTIEXT(Graphic3d_Camera,Standard_Transient);
DEFINE_STANDARD_RTTIEXT(Graphic3d_Camera,Standard_Transient)
};
DEFINE_STANDARD_HANDLE (Graphic3d_Camera, Standard_Transient)

View File

@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_CLIP_PLANE_COUNTER = 0;
};
}
// =======================================================================
// function : Graphic3d_ClipPlane

View File

@@ -218,7 +218,7 @@ private:
public:
DEFINE_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient);
DEFINE_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient)
};
DEFINE_STANDARD_HANDLE (Graphic3d_ClipPlane, Standard_Transient)

View File

@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_MarkerImage,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_MARKER_IMAGE_COUNTER = 0;
};
}
// =======================================================================

View File

@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderObject,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_SHADER_OBJECT_COUNTER = 0;
};
}
// =======================================================================

View File

@@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderProgram,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_PROGRAM_OBJECT_COUNTER = 0;
};
}
// =======================================================================

View File

@@ -33,7 +33,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TextureRoot,MMgt_TShared)
namespace
{
static volatile Standard_Integer THE_TEXTURE_COUNTER = 0;
};
}
// =======================================================================
// function : TexturesFolder