mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027097: GCC and CLang compiler warnings and errors with -Wpedantic
Useless semicolons are removed after closing braces of namespaces and macros in code dependent on FreeImage and VTK. Comments added at the closing braces of namespaces to help comprehension. In OSD_File.cxx and OSD_Disk.cxx, unnecessary declarations of system functions are removed
This commit is contained in:
@@ -27,8 +27,8 @@ IMPLEMENT_STANDARD_RTTIEXT(IVtkVTK_View,IVtk_IView)
|
||||
// Since VTK 6 the factory methods require "auto-initialization" depending on
|
||||
// what modules are enabled at VTK configure time.
|
||||
// Some defines are needed in order to make the factories work properly.
|
||||
VTK_MODULE_INIT(vtkRenderingOpenGL);
|
||||
VTK_MODULE_INIT(vtkInteractionStyle);
|
||||
VTK_MODULE_INIT(vtkRenderingOpenGL)
|
||||
VTK_MODULE_INIT(vtkInteractionStyle)
|
||||
|
||||
// Handle implementation
|
||||
|
||||
|
Reference in New Issue
Block a user