occt: master f4a7308f

Author Committer Branch Timestamp Parent
tiv apn master 2019-10-25 13:01:09 master 53d770b3
Affected Issues  0030609: Coding - eliminate warnings issued by gcc 8.1.0
Changeset 0030609: Coding - eliminate warnings issued by gcc 8.1.0

Warnings issued by gcc 8.1.0 are eliminated.

New Standard_WarningDisableFunctionCast.hxx header file is introduced to disable GCC warning "-Wcast-function-type" in those files *.cxx where it is issued. This warning is issued when the conversion from the pointer to one function type to the pointer to another function type takes places, it was added in gcc 8.1.0.

The function MyVISEDG in SWDRAW_ShapeAnalysis.cxx is removed as it does not seem to do anything useful and relevant DRAW command K_VISEDG is never used in tests.
mod - src/BiTgte/BiTgte_Blend.cxx Diff File
mod - src/D3DHost/D3DHost_View.cxx Diff File
mod - src/Draw/Draw.cxx Diff File
mod - src/Draw/Draw_Window.cxx Diff File
mod - src/Message/Message_MsgFile.cxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/OSD/OSD_Parallel.cxx Diff File
mod - src/OSD/OSD_SharedLibrary.cxx Diff File
mod - src/OSD/OSD_signal.cxx Diff File
mod - src/OSD/OSD_WNT.cxx Diff File
mod - src/Plugin/Plugin.cxx Diff File
mod - src/QABugs/QABugs_20.cxx Diff File
mod - src/Standard/FILES Diff File
add - src/Standard/Standard_WarningDisableFunctionCast.hxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeAnalysis.cxx Diff File