]> 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>
Mon, 21 Oct 2019 06:58:17 +0000 (09:58 +0300)
commit0fe229034fd19669b5be8035acc69184ff1b47e3
tree7c920472a8926a8e6e9a4893e69e5c64bea0f7da
parent8ba3d978dbb4c3dfc8657ef5c6944f04c8064d51
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