occt: master cf0786da

Author Committer Branch Timestamp Parent
abv bugmaster master 2017-10-19 14:12:05 master f6c2b39a
Affected Issues  0024574: ICC compiler warnings on Windows
Changeset 0024574: ICC compiler warnings on Windows

NCollection_UtfString and NCollection_UtfIterator classes are refactored to use methods overloading instead of switches to dispatch implementation depending on character (Unicode code unit) size.

ICC-specific preprocessor directives are added to avoid warnings.
Unused local functions and variables, class methods, unreachable statements, and extra throw() declarations reported by ICC are removed.
Usage of "expl" for name of local variable is avoided as it conflicts with standard C function "expl" defined in math.h as preprocessor macro.

Non-standard (MS-specific) argument envp is removed in definition of main() function on Windows.
Functions _main_ and _WinMain_ are renamed to Draw_Main and Draw_WinMain, respectively, to avoid using names reserved in C++.

Doxygen warning is fixed in XDE User's Guide.
mod - dox/user_guides/xde/xde.md Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx Diff File
mod - src/BRepTest/BRepTest_Fillet2DCommands.cxx Diff File
mod - src/DNaming/DNaming.cxx Diff File
mod - src/Draft/Draft_Modification_1.cxx Diff File
mod - src/Draw/Draw_Main.cxx Diff File
mod - src/Draw/Draw_Main.hxx Diff File
mod - src/Draw/MainWindow.cxx Diff File
mod - src/GeomAdaptor/GeomAdaptor_Curve.cxx Diff File
mod - src/Image/Image_Diff.cxx Diff File
mod - src/NCollection/NCollection_StdAllocator.hxx Diff File
mod - src/NCollection/NCollection_UtfIterator.hxx Diff File
mod - src/NCollection/NCollection_UtfIterator.lxx Diff File
mod - src/NCollection/NCollection_UtfString.hxx Diff File
mod - src/NCollection/NCollection_UtfString.lxx Diff File
mod - src/OSD/OSD_Host.cxx Diff File
mod - src/QABugs/QABugs_11.cxx Diff File
mod - src/QANCollection/QANCollection_Handle.cxx Diff File
mod - src/ShapeExtend/ShapeExtend_Explorer.cxx Diff File
mod - src/Standard/Standard_Atomic.hxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_VertexInfo.cxx Diff File
mod - src/XSControl/XSControl_Utils.cxx Diff File