occt: master 1951a27c

Author Committer Branch Timestamp Parent
ski apv master 2014-08-07 10:31:10 master de9a2842
Affected Issues  0024863: CLang warnings -Wint-to-void-pointer-cast
Changeset 0024863: CLang warnings -Wint-to-void-pointer-cast

Warning was fixed.

Remarks were applied.

- class VMap in Draw was removed
- NCollection_DataMap is used to store objects
- name of object is used to associate Tcl variable with the object
- creation and changing of objects are correclty handled

Redundant casts were removed.

Initial value is restored if variable is protected.
Tests for bug 0024863 were added.

Some test cases and tcl command "save" were improved.

Useless using of upvar was removed.
mod - src/Draw/Draw.cdl Diff File
mod - src/Draw/Draw_VariableCommands.cxx Diff File
mod - src/DrawResources/StandardCommands.tcl Diff File
add - tests/bugs/fclasses/bug24863_1 Diff File
add - tests/bugs/fclasses/bug24863_2 Diff File
add - tests/bugs/fclasses/bug24863_3 Diff File
mod - tests/bugs/modalg_2/bug298 Diff File
mod - tests/bugs/modalg_2/bug410_4 Diff File
mod - tests/bugs/modalg_2/bug485 Diff File
mod - tests/bugs/modalg_2/bug487 Diff File
mod - tests/bugs/modalg_2/bug5805_1 Diff File
mod - tests/bugs/moddata_2/bug23165 Diff File
mod - tests/bugs/moddata_2/bug332 Diff File
mod - tests/bugs/xde/bug945 Diff File
mod - tests/caf/nam/A5 Diff File
mod - tests/geometry/begin Diff File
mod - tests/mesh/end Diff File
mod - tests/offset/faces_type_i/C9 Diff File
mod - tests/xml/begin Diff File