Archived issue #0024748

Remove unused instantiations of collection classes

Open CASCADEOCCT:Codingclosed3 public notes

Search issues

Description

OCCT contains many instantiations of collections which are never used and can be removed to minimize amount of code:

- all classes defined in packages PColPGeom, PColPGeom2d
- some classes defined in Geom that have equivalents in TColGeom: SequenceOfBoundedSurface, (H)SequenceOfSurface
- in TColGeom: Array1OfBoundedCurve, (H)Array1OfBoundedSurface, HArray1OfBoundedCurve, (H)Array2OfBoundedSurface, (H)Array2OfBSplineSurface, HArray2OfBezierSurface, (H)SequenceOfBoundedSurface, HSequenceOfSurface
- in TColGeom2d: (H)Array1OfGeometry, (H)Array1OfBoundedCurve, HSequenceOfGeometry

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Fix (removing mentioned classes) pushed to CR24748, please review
02Commenter 2
Please test compilation of the patch and integrate.
03Commenter 3
Dear BugMaster,

Branch CR24748 (and products from GIT master) was compiled on Linux and Windows platforms.
[revision removed]

Number of compiler warnings in RELEASE mode:

occt component :
Linux: 29 (29 on master)
Windows: 0 (0 on master)

products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)


Number of compiler warnings in DEBUG mode:

occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)

products component :
Linux: 7 (7 on master)
Windows: 1 (1 on master)

Wihtout testing

Related records