]> OCCT Git - occt-copy.git/commitdiff
0027105: Make code ISO-compliant [-Wpedantic fixes]
authorJacob Abel <thatcadguy@gmail.com>
Fri, 22 Jan 2016 00:28:38 +0000 (16:28 -0800)
committerabv <abv@opencascade.com>
Fri, 22 Jan 2016 08:29:24 +0000 (11:29 +0300)
Remove extra semicolons and correct function prototypes for GCC -pedantic ISO compliance option

50 files changed:
src/AIS/AIS_AngleDimension.cxx
src/AIS/AIS_ColoredShape.hxx
src/AIS/AIS_DiameterDimension.cxx
src/AIS/AIS_Dimension.cxx
src/AIS/AIS_DimensionOwner.cxx
src/AIS/AIS_RadiusDimension.cxx
src/AIS/AIS_TextLabel.hxx
src/Aspect/Aspect_Convert.hxx
src/Aspect/Aspect_GradientBackground.cxx
src/BOPAlgo/BOPAlgo_Builder_3.cxx
src/BRepCheck/BRepCheck_Solid.cxx
src/BRepMesh/BRepMesh.hxx
src/BRepMesh/BRepMesh_DiscretFactory.cxx
src/BRepMesh/BRepMesh_IncrementalMesh.cxx
src/Draw/Draw_Interpretor.cxx
src/DrawTrSurf/DrawTrSurf.hxx
src/Font/Font_BRepFont.cxx
src/Font/Font_FontMgr.cxx
src/GProp/GProp_SelGProps.cxx
src/GeomFill/GeomFill_CorrectedFrenet.cxx
src/GeomLib/GeomLib_Interpolate.lxx
src/Graphic3d/Graphic3d_Camera.cxx
src/Graphic3d/Graphic3d_Camera.hxx
src/Graphic3d/Graphic3d_ClipPlane.cxx
src/Graphic3d/Graphic3d_ClipPlane.hxx
src/Graphic3d/Graphic3d_MarkerImage.cxx
src/Graphic3d/Graphic3d_ShaderObject.cxx
src/Graphic3d/Graphic3d_ShaderProgram.cxx
src/Graphic3d/Graphic3d_TextureRoot.cxx
src/Image/Image_Diff.cxx
src/IntSurf/IntSurf_PntOn2S.cxx
src/IntTools/IntTools.cxx
src/Intf/Intf_InterferencePolygon2d.cxx
src/NCollection/NCollection_BaseAllocator.cxx
src/OSD/OSD_Disk.cxx
src/OSD/OSD_MAllocHook.cxx
src/OSD/OSD_SharedLibrary.cxx
src/OpenGl/OpenGl_AspectFace.cxx
src/OpenGl/OpenGl_AspectLine.cxx
src/OpenGl/OpenGl_AspectText.cxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_Workspace.cxx
src/QABugs/QABugs_19.cxx
src/STEPControl/STEPControl_ActorRead.cxx
src/SelectMgr/SelectMgr_VectorTypes.hxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx

index a5be546ae8c560ea8b39689b034ab82031c4ee8a..a9596edc3962261002247f567651e1bd441dee72 100644 (file)
@@ -61,7 +61,7 @@ namespace
   static const Standard_Real              THE_EMPTY_LABEL_WIDTH = 0.0;
   static const Standard_ExtCharacter      THE_DEGREE_SYMBOL (0x00B0);
   static const Standard_Real              THE_3D_TEXT_MARGIN = 0.1;
-};
+}
 
 //=======================================================================
 //function : Constructor
index 1c74296eec08248541bc92ecb3cbe003fdf658cf..af37a86b2b2e68257ba4dd84b93475869916788b 100644 (file)
@@ -54,7 +54,7 @@ public:  //! @name list of overridden properties
   Standard_Boolean myHasOwnWidth;
 
 public:
-  DEFINE_STANDARD_RTTIEXT(AIS_ColoredDrawer,Prs3d_Drawer);
+  DEFINE_STANDARD_RTTIEXT(AIS_ColoredDrawer,Prs3d_Drawer)
 
 };
 
@@ -175,7 +175,7 @@ protected:
 
 public:
 
-  DEFINE_STANDARD_RTTIEXT(AIS_ColoredShape,AIS_Shape);
+  DEFINE_STANDARD_RTTIEXT(AIS_ColoredShape,AIS_Shape)
 
 };
 
index 495a82c7336cf4e19102772f945500c58936e1f5..0d679da64ef06198877a4eb7f4a843b62152ca13 100644 (file)
@@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(AIS_DiameterDimension,AIS_Dimension)
 namespace
 {
   static const Standard_ExtCharacter THE_DIAMETER_SYMBOL (0x00D8);
-};
+}
 
 //=======================================================================
 //function : Constructor
index c77d1f32509a3a42fa9e664f45bc8106f74e602f..1aba01e8f356e7da1afdcec286c304bfe9757040 100755 (executable)
@@ -90,7 +90,7 @@ namespace
   // default selection priorities
   static const Standard_Integer THE_NEUTRAL_SEL_PRIORITY = 5;
   static const Standard_Integer THE_LOCAL_SEL_PRIORITY   = 6;
-};
+}
 
 //=======================================================================
 //function : Constructor
index 81094b684a1029f9970e56fdd5f59fa05ee43c10..1b3c368b78e1ab19cb13a329d75db962b1756ca3 100755 (executable)
@@ -42,7 +42,7 @@ namespace
         return AIS_Dimension::ComputeMode_All;
     }
   }
-};
+}
 
 //=======================================================================
 //function : Constructor
index 016bee560b019be9e81f0c2747196206ddeae859..b1114e9181650228160ca72d9db8f7cf690865a8 100644 (file)
@@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(AIS_RadiusDimension,AIS_Dimension)
 namespace
 {
   static const Standard_ExtCharacter THE_RADIUS_SYMBOL ('R');
-};
+}
 
 //=======================================================================
 //function : Constructor
index 5289c6c9fab36b1d3a664da4c864e04f2a66c9c4..33cd6d7a85937f0efff0778ebb0deb948fd55c81 100644 (file)
@@ -115,7 +115,7 @@ protected:
 public:
 
   //! CASCADE RTTI
-  DEFINE_STANDARD_RTTIEXT(AIS_TextLabel,AIS_InteractiveObject);
+  DEFINE_STANDARD_RTTIEXT(AIS_TextLabel,AIS_InteractiveObject)
 
 };
 
index 4b30fd0c5f3e92367ca64ac7c0f5422fb6a5c9c6..9ba492443da737d51fed26d5160f177eae2536c9 100644 (file)
@@ -81,6 +81,6 @@ namespace Aspect_Convert
     }
   }
 
-};
+}
 
 #endif /* _Aspect_Convert_HeaderFile */
index e228c0a7424d508373e8bc15970d7bfc227b1783..aa49d0ac3c02b038fad6060b93259c4c96a717d7 100644 (file)
@@ -33,7 +33,7 @@ Aspect_GradientBackground::Aspect_GradientBackground( const Quantity_Color& ACol
   SetColor( AColor1 );
   MyColor2 = AColor2;
   MyGradientMethod = AMethod;
-};
+}
 
 
 void Aspect_GradientBackground::SetColors( const Quantity_Color& AColor1,
index d7438acbac9e5ca78dce870caa5c5bd6e5048228..536afb91dadec80ecd9320fe4d33b1d19240b25d 100644 (file)
@@ -358,7 +358,7 @@ void BOPAlgo_FillIn3DParts::Perform()
       }
     }
   } // for (k=0; k<aNbFP; ++k) {
-};
+}
 //=======================================================================
 // function: MapEdgesAndFaces
 // purpose: 
index 3306aad9737e2c775dab0bb3bcec46e834ac9e3a..08bb7d64d11282f6987ef95e6115d53ab04cfa87 100644 (file)
@@ -39,7 +39,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BRepCheck_Solid,BRepCheck_Result)
 
 //
 class BRepCheck_HSC;
-DEFINE_STANDARD_HANDLE(BRepCheck_HSC, MMgt_TShared);
+DEFINE_STANDARD_HANDLE(BRepCheck_HSC, MMgt_TShared)
 //=======================================================================
 //class    : BRepCheck_HSC
 //purpose  :
index e4c4279668f46025511fc22321c2e65958ab52e3..dc9deb4ffa2c351b8d5e54a78e3212202f94b10d 100644 (file)
@@ -132,6 +132,6 @@ namespace BRepMesh
   //! Other data structures
   typedef std::pair<HArray1OfSegments, HBndBox2dTree>                                               SegmentsTree;
   typedef NCollection_Array1<SegmentsTree>                                                          Array1OfSegmentsTree;
-};
+}
 
 #endif
index c54c2a95cf68dbba78fd1e8f6cd019729ed22e11..50e7d5877ad73af507fe7956bd108e4b6116a51c 100644 (file)
@@ -45,7 +45,7 @@ namespace
     theLibName += ".so";
   #endif
   }
-};
+}
 
 //=======================================================================
 //function : BRepMesh_DiscretFactory
index 55873a710d3d7c060bf2f5265dc2eba33eda8bb2..c3f9d42f14682226a7547c8739610997f9aca2a0 100644 (file)
@@ -60,7 +60,7 @@ namespace
   //! Default flag to control parallelization for BRepMesh_IncrementalMesh
   //! tool returned for Mesh Factory
   static Standard_Boolean IS_IN_PARALLEL = Standard_False;
-};
+}
 
 
 //=======================================================================
index ba6335b5fae0f04188b124010e419a07e05604f1..776bcf366e1fb29669941586a28c5fb4a193af01 100644 (file)
@@ -108,7 +108,7 @@ namespace {
       tmp_file->Remove();
   }
 
-};
+}
 
 // MKV 29.03.05
 #if ((TCL_MAJOR_VERSION > 8) || ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4))) && !defined(USE_NON_CONST)
index 7056f79d1cb2f2dc3324dff560b3388284649b48..ad7a723afbe8b0aeae7c7cdb7403a30ce0618fc8 100644 (file)
@@ -89,7 +89,7 @@ public:
   //! isSenseMarker indicates whether to render the
   //! sense glyph (arrow) for curves or not
   Standard_EXPORT static void Set (const Standard_CString Name, const Handle(Geom_Geometry)& G, const Standard_Boolean isSenseMarker = Standard_True);
-template <class T> static void Set (const Standard_CString Name, const Handle(T)& Arg, typename std::enable_if<std::is_base_of<Geom_Geometry, T>::value>::type * = 0) { Set (Name, (const Handle(Geom_Geometry)&)Arg); };
+template <class T> static void Set (const Standard_CString Name, const Handle(T)& Arg, typename std::enable_if<std::is_base_of<Geom_Geometry, T>::value>::type * = 0) { Set (Name, (const Handle(Geom_Geometry)&)Arg); }
   
   //! Sets <C> in the variable <Name>.  Overwrite the
   //! variable if already set.
index c538898983922d5d97f481b060070c53658c4782..a1fcfb7ec9e9227b0c9615bab6fdd29326462432 100755 (executable)
@@ -62,7 +62,7 @@ namespace
     return theSize / Standard_Real(THE_FONT_SIZE) * 72.0 / Standard_Real(THE_RESOLUTION_DPI);
   }
 
-};
+}
 
 // =======================================================================
 // function : Constructor
index edb1cae6b006603a5eb22f01f4305b57e142dbf5..fc64f4bad1ea2e71434eb0b0aca87817340e83f2 100644 (file)
@@ -173,7 +173,7 @@ static const Font_FontMgr_FontAliasMapNode Font_FontMgr_MapOfFontsAliases[] =
       }
     }
 
-  };
+  }
 
 #endif
 
index 9543095e43adbef7cf907e565e307e8e4f5b8dd0..edcb3d631ebff96ec3285669bad999cd14330655 100644 (file)
@@ -25,7 +25,7 @@
 #include <math_Vector.hxx>
 #include <Standard_NotImplemented.hxx>
 
-GProp_SelGProps::GProp_SelGProps(){};
+GProp_SelGProps::GProp_SelGProps(){}
 
 void GProp_SelGProps::SetLocation(const gp_Pnt& SLocation )
 {
index 3987adcbeb8d2ffd8a4247de3b69bdf72f69f847..9f46ff516ad979c39916b32e7bb50ffddb6b044b 100644 (file)
@@ -631,18 +631,18 @@ Standard_Real GeomFill_CorrectedFrenet::CalcAngleAT(const gp_Vec& Tangent, const
     if (Normal_rot.Crossed(prevNormal).IsOpposite(prevTangent, Precision::Angular())) 
       angleAT = -angleAT;
   return angleAT;
-};
+}
 //===============================================================
 // Function : ... (OCC78)
 // Purpose : This family of functions produce conversion of angle utility
 //===============================================================
 static Standard_Real corr2PI_PI(Standard_Real Ang){
   return Ang = (Ang < M_PI? Ang: Ang-2*M_PI);
-};
+}
 static Standard_Real diffAng(Standard_Real A, Standard_Real Ao){
   Standard_Real dA = (A-Ao) - Floor((A-Ao)/2.0/M_PI)*2.0*M_PI;
   return dA = dA >= 0? corr2PI_PI(dA): -corr2PI_PI(-dA);
-};
+}
 //===============================================================
 // Function : CalcAngleAT (OCC78)
 // Purpose : Calculate angle of rotation of trihedron normal and its derivatives relative 
@@ -671,7 +671,7 @@ Standard_Real GeomFill_CorrectedFrenet::GetAngleAT(const Standard_Real Param) co
     AngP = AngPo + DAng;
   };
   return AngP;
-};
+}
 //===============================================================
 // Function : D0
 // Purpose :
index b7d9dba2899cb896b319b01896e04c327ee52edc..6150fe370d49b224f7af7d428f20729d84732e68 100644 (file)
@@ -20,7 +20,7 @@
 //=======================================================================
 
 inline Standard_Boolean   GeomLib_Interpolate::IsDone() const 
-{ return  myIsDone ; } ; 
+{ return  myIsDone ; }
 //=======================================================================
 //function : Error
 //purpose  : 
index d5e531b3c5042d1d66008c6d30bc639f47d26fa4..5696abc62232d1b2c02f0b623e41ded451e3fe5a 100644 (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
index 39604147fed1135210c7485cec1e0c4aceda9c4e..ca9180196d0c49e1f4f5d59868703103ce494cd8 100644 (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)
index bed8508dd120637fd2f51686d25fccce3553e2f0..7b5b54c443d2a40f6ec3cde90c7bc40010b6bebd 100755 (executable)
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient)
 namespace
 {
   static volatile Standard_Integer THE_CLIP_PLANE_COUNTER = 0;
-};
+}
 
 // =======================================================================
 // function : Graphic3d_ClipPlane
index 318c335ceda744891a33ac5b29c73a5954253bfc..c402ff8a0f4ad2b6e7e6fb1a31c2f675b3431cad 100755 (executable)
@@ -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)
index fd5eb6cd4f54875290d0ac137d16e0e2f1f46db4..44137b03ed2c0f4b0b0dc4c9cb3dd5632becced9 100755 (executable)
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_MarkerImage,Standard_Transient)
 namespace
 {
   static volatile Standard_Integer THE_MARKER_IMAGE_COUNTER = 0;
-};
+}
 
 
 // =======================================================================
index adf7944362509ba5398bee99a12ddadb35372b5c..eada5bda970c65ae4248243a3dd89eb9fedec4f8 100755 (executable)
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderObject,Standard_Transient)
 namespace
 {
   static volatile Standard_Integer THE_SHADER_OBJECT_COUNTER = 0;
-};
+}
 
 
 // =======================================================================
index 1d14d4ceffdca099f1f881734aac6aee4333884f..25862914cfa31abbaa97c4c695288d6839bf7eda 100755 (executable)
@@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderProgram,Standard_Transient)
 namespace
 {
   static volatile Standard_Integer THE_PROGRAM_OBJECT_COUNTER = 0;
-};
+}
 
 
 // =======================================================================
index 249ee3040141d8acce94e9dbe82e78c8b02b8527..3902b10e532aa689fcae8b0fd966d0ec8320bbb6 100644 (file)
@@ -33,7 +33,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TextureRoot,MMgt_TShared)
 namespace
 {
   static volatile Standard_Integer THE_TEXTURE_COUNTER = 0;
-};
+}
 
 // =======================================================================
 // function : TexturesFolder
index fa2c607846206e9bc4a4cb86885b7074f3b5f959..85b4f2b7f784e1e8aa37c5918f1100edb8fd55ea 100644 (file)
@@ -126,7 +126,7 @@ namespace
         || theFormat == Image_PixMap::ImgRGBA
         || theFormat == Image_PixMap::ImgBGRA;
   }
-};
+}
 
 // =======================================================================
 // function : Image_Diff
index eb8a15ef241ab82aa44a4bf90402cb67c5396d79..14a25d22ff3db54dda26c014dbd554cbccb118fc 100644 (file)
@@ -16,7 +16,7 @@
 #include <gp_Pnt.hxx>
 #include <IntSurf_PntOn2S.hxx>
 
-IntSurf_PntOn2S::IntSurf_PntOn2S () : pt(0,0,0),u1(0),v1(0),u2(0),v2(0) {};
+IntSurf_PntOn2S::IntSurf_PntOn2S () : pt(0,0,0),u1(0),v1(0),u2(0),v2(0) {}
 
 void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt,
                                const Standard_Boolean OnFirst,
index b4d023318d285c24174892299443fbfc9660ba7d..14509042f491525606898964835bfd946e08401a 100644 (file)
@@ -207,7 +207,7 @@ namespace {
   {
     return theLeft.Root() < theRight.Root();
   }
-};
+}
 
 //=======================================================================
 //function : SortRoots
index 37c41f6dbeddaacd55fce466a6e774239788d3b4..d2e56411b8367c2535596f488cec0901fca5c891 100644 (file)
@@ -33,7 +33,7 @@
 namespace
 {
   static const Standard_Real PRCANG = Precision::Angular();
-};
+}
 
 //=======================================================================
 //function : Intf_InterferencePolygon2d
index 0fcd972b208123541da337a2b50e4d4cc7018f51..4acc0cfe3d9a35f7792989821440023838090569 100644 (file)
@@ -173,7 +173,7 @@ Standard_EXPORT void StandardCallBack_Reset()
 namespace {
   // dummy function for break point
   inline void place_for_break_point () {}
-};
+}
 
 //=======================================================================
 //function : StandardCallBack
index 912581253380086abdc66788fa1c74dedf74c2bf..20a3bbad5d478c4e937a775989426dcdd161d77a 100644 (file)
@@ -32,7 +32,11 @@ extern "C" {
   #define fstatvfs fstatfs
 #else
   #include <sys/statvfs.h>
-  int statvfs(const char *, struct statvfs *);
+  #ifdef __GNU_LIBRARY__
+    int statvfs(const char *, struct statvfs *) __THROW;
+  #else
+    int statvfs(const char *, struct statvfs *);
+  #endif
 #endif
 
 #ifdef __cplusplus
index f5f8a8e163220f1357ee659b186052664738a13d..6905f2fa57958befb92b0bc92a7be3ec36811fbe 100644 (file)
@@ -44,7 +44,7 @@ namespace {
       // otherwise compiler does not leave a place for break point
       debug_counter++;
   }
-};
+}
 
 //=======================================================================
 //function : GetCallback
index aa5d472b1652a89943264450acdb6b3b230d6228..6d4258b013e77fa60197235103cbd80c5b575110 100644 (file)
@@ -43,7 +43,11 @@ extern "C" {void    *dlerror (void);}
 
 #include <dlfcn.h>
 
-extern "C" {size_t  strlen  (const  char*  s      );}
+#ifdef __GNU_LIBRARY__
+extern "C" { size_t strlen(const char* s) __THROW; }
+#else
+extern "C" { size_t strlen(const char* s); }
+#endif
 
 
 #define BAD(X)  ((X) == NULL)
index 0b290b5e6a013009ae9e44c9c48e0c63e2bd0707..bd4519903c25f36ba51d7cc42a3320560b9f0d2f 100644 (file)
@@ -48,7 +48,7 @@ namespace
   };
 
   static const TCollection_AsciiString THE_EMPTY_KEY;
-};
+}
 
 // =======================================================================
 // function : convertMaterial
index f0351c2035e1f94cefd43c190f3a73796573d886..ccc219ae0a7f8101a8631edf6be82237760b3d36 100644 (file)
@@ -25,7 +25,7 @@ namespace
 {
   static const TEL_COLOUR myDefaultColor = {{ 1.0F, 1.0F, 1.0F, 1.0F }};
   static const TCollection_AsciiString THE_EMPTY_KEY;
-};
+}
 
 // =======================================================================
 // function : OpenGl_AspectLine
index 45d256859bea37e68bdf5ead740ce989738b7665..000694b8e411772c2a2e1474fcd4f047608bfd8b 100755 (executable)
@@ -25,7 +25,7 @@ namespace
 {
   static const TEL_COLOUR TheDefaultColor = {{ 1.0F, 1.0F, 1.0F, 1.0F }};
   static const TCollection_AsciiString THE_EMPTY_KEY;
-};
+}
 
 // =======================================================================
 // function : OpenGl_AspectText
index 8ab515b4e4a45ec0d2212ed986017e927912fee1..348c7aa623e85a16332abb52f570d560ac5e4b6a 100644 (file)
@@ -976,7 +976,7 @@ static void PushAspectMarker (const Handle(OpenGl_Context)&       theCtx,
                           5, aParams);
 }
 
-}; // nameless namespace
+} // nameless namespace
 
 // =======================================================================
 // function : PushMaterialState
index 2aacc5216e35e0324055945188d643ce9c07f2d6..7ffe273073a6d1f7c67cab924561c3c3fecbab0d 100644 (file)
@@ -136,7 +136,7 @@ namespace
   }
 #endif
 
-};
+}
 
 // =======================================================================
 // function : OpenGl_Text
index be86c98207f485a48488d26b59f48bde03bf9e79..5ce42ab5c41cb47ba135fdb69bd40e6db9e8c1da 100644 (file)
@@ -65,7 +65,7 @@ namespace
      { 0.0F, 0.0F, 0.0F, 1.0F }}
   };
 
-};
+}
 
 // =======================================================================
 // function : Init
index 195acb1f45c0740529605435ab149f94607a7bb3..783a434c4ef883426aa5efce703654c9a57a7a8b 100644 (file)
@@ -4647,7 +4647,7 @@ static Standard_Integer OCC26746(
   return 0;     
 }
 
-DEFINE_STANDARD_HANDLE(QABugs_VertexFilter, SelectMgr_Filter);
+DEFINE_STANDARD_HANDLE(QABugs_VertexFilter, SelectMgr_Filter)
 class QABugs_VertexFilter: public SelectMgr_Filter
 {
 public:
index 834ad7ea389ef7c56c44f9c36842e7043f957165..3bfbd2309a953971e1b401d122ab440f1bcdc9a8 100644 (file)
@@ -192,7 +192,7 @@ namespace {
   // The better way is to pass this information via binder or via TopoDS_Shape itself, however,
   // this is very specific info to do so...
   Standard_Boolean NM_DETECTED = Standard_False;
-};
+}
 
 // ============================================================================
 // Method  : STEPControl_ActorRead::STEPControl_ActorRead  ()    
index a1bf085d24f163e5b65ffb0bb8e38fb7cf5bb634..bd534bd2e60d9b2b64298a0ce7663298af6674e7 100644 (file)
@@ -41,6 +41,6 @@ namespace SelectMgr_MatOp
 
     return aRes;
   }
-};
+}
 
 #endif // _SelectMgr_VectorTypes_HeaderFile
index e55e1a29d2c8fa1dd9ade5bd97a6519631b040db..92f080c3ea9a8af18bd2f7b19a6631d03ceffb2a 100644 (file)
@@ -418,7 +418,7 @@ namespace
     aPrsGrp->SetGroupPrimitivesAspect (aBoundaryAspect);
     aPrsGrp->AddPrimitiveArray (aSegments);
   }
-};
+}
 
 // =======================================================================
 // function : ExploreSolids
index 76a01827aff68ed08776ffce098e9896fca53e69..3299fd38b8c00bd26b8e856bbdb3af22f37c6e05 100644 (file)
@@ -357,7 +357,7 @@ static Standard_Boolean FUN_findTOOF(const TopOpeBRepDS_PDataStructure pDS,
   return ok;
 } 
 
-Standard_EXPORT Standard_Boolean GLOBAL_btcx = Standard_False;void debtcx(){};
+Standard_EXPORT Standard_Boolean GLOBAL_btcx = Standard_False;void debtcx(){}
 Standard_EXPORT void debtcxmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il)
 {cout<<"f1,f2,il : "<<f1<<","<<f2<<","<<il<<endl;cout.flush();debtcx();}
 
index 7032b408dc8ec5f9e034db38b03e8dd3a3d0bbea..0841a16135249d0ac47bdb180e083bffc2b158fd 100644 (file)
@@ -4391,7 +4391,7 @@ namespace
     }
     return Standard_False;
   }
-};
+}
 
 //===============================================================================================
 //function : VSetSelectionMode
index 82efbca76bcded855915fec706d4ce9e01e00823..51dbb9cde0fd1bfc07a1c3c52b806d07f254eaac 100644 (file)
@@ -6463,7 +6463,7 @@ public:
                             const Standard_ShortReal theAngle);
   DEFINE_STANDARD_RTTI_INLINE(OCC_TextureEnv,Graphic3d_TextureEnv);
 };
-DEFINE_STANDARD_HANDLE(OCC_TextureEnv, Graphic3d_TextureEnv);
+DEFINE_STANDARD_HANDLE(OCC_TextureEnv, Graphic3d_TextureEnv)