]> OCCT Git - occt-copy.git/commit
0030609: Coding - eliminate warnings issued by gcc 8.1.0
authortiv <tiv@opencascade.com>
Wed, 16 Oct 2019 17:47:30 +0000 (20:47 +0300)
committerabv <abv@opencascade.com>
Sat, 19 Oct 2019 09:31:41 +0000 (12:31 +0300)
commitd478b270386b52926641aedad4c086a2ccdfc37f
tree737d92b99dd6c10ee1c447688772b5acb8237fb2
parent23f25259cf213594c2c7e0898f861c9d74086918
0030609: Coding - eliminate warnings issued by gcc 8.1.0

Warnings issued by gcc 8.1.0 are eliminated.
New function OSD_FunctionCast() is introduced to explicitly mark places where the conversion from the pointer to one function type to the pointer to another function type takes place and to suppress gcc warning "-Wcast-function-type" (introduced in gcc 8.1.0).
14 files changed:
src/BiTgte/BiTgte_Blend.cxx
src/D3DHost/D3DHost_View.cxx
src/Draw/Draw.cxx
src/Draw/Draw_Window.cxx
src/Message/Message_MsgFile.cxx
src/OSD/OSD_Function.hxx
src/OSD/OSD_Parallel.cxx
src/OSD/OSD_SharedLibrary.cxx
src/OSD/OSD_WNT.cxx
src/OSD/OSD_signal.cxx
src/OpenGl/OpenGl_Window.cxx
src/Plugin/Plugin.cxx
src/QABugs/QABugs_20.cxx
src/SWDRAW/SWDRAW_ShapeAnalysis.cxx