View Issue Details

IDProjectCategoryView StatusLast Update
0024076Open CASCADEOCCT:Codingpublic2013-12-19 13:56
Reporterapn Assigned Toomy 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformWindowsOSVC++ 2008 
Product Version6.6.0 
Target Version6.7.0Fixed in Version6.7.0 
Summary0024076: New warning during compilation OCCT on WNT platform (release and debug)
DescriptionWarning in file src/Adaptor3d/Adaptor3d_IsoCurve.cxx

Current master includes two fixes 24058 and 23947. In both issues operator return gp_Elips() was deleted.

24058:
gp_Elips Adaptor3d_IsoCurve::Ellipse() const
{
  ...
- // portage WNT
- return gp_Elips();
  ...
}

23947:
gp_Elips Adaptor3d_IsoCurve::Ellipse() const
{
  ...
  {
    Standard_NoSuchObject::Raise("Adaptor3d_IsoCurve:Ellipse");
- return gp_Elips();
  }
  ...
}

Regarding merge this two changes there is 1 warning in current state of master because function doesn't have any return value. 'Adaptor3d_IsoCurve::Ellipse' : not all control paths return a value
TagsNo tags attached.
Test case numberNot needed

Activities

omy

2013-07-16 14:35

developer   ~0025080

Dear apn,
Please, test.

apn

2013-07-17 10:13

administrator   ~0025093

Reviewed, branch CR24076 will be tested.

apn

2013-07-17 10:56

administrator   ~0025094

Dear BugMaster,

Branch CR24076 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: b3aa748fb6091ce5ffa644c4e9a18cd38d9346ca

Number of compiler warnings:

occt component :
Linux: 2 (2 on master)
Windows: 7 (8 on master)

products component :
Linux: 0 (0 on master)
Windows: 63 (63 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 365563336 / 365734040
Total CPU difference: 46073.060000000754 / 45333.95000000106

Testing on Windows:
Total MEMORY difference: 423974928 / 425278288
Total CPU difference: 33724.75 / 34925.53125

There are not differences in images found by testdiff.

Related Changesets

occt: master cf6625bd

2013-07-16 10:34:51

omy

Details Diff
0024076: New warning during compilation OCCT on WNT platform (release and debug)

Added return statement to disable warning
Affected Issues
0024076
mod - src/Adaptor3d/Adaptor3d_IsoCurve.cxx Diff File

Issue History

Date Modified Username Field Change
2013-07-16 11:00 apn New Issue
2013-07-16 11:00 apn Assigned To => omy
2013-07-16 11:00 apn Test case number => Not needed
2013-07-16 11:00 apn Status new => assigned
2013-07-16 14:35 omy Status assigned => resolved
2013-07-16 14:35 omy Status resolved => reviewed
2013-07-16 14:35 omy Note Added: 0025080
2013-07-16 14:35 omy Assigned To omy => apn
2013-07-16 14:35 omy Status reviewed => assigned
2013-07-17 10:13 apn Note Added: 0025093
2013-07-17 10:13 apn Status assigned => resolved
2013-07-17 10:13 apn Status resolved => reviewed
2013-07-17 10:56 apn Note Added: 0025094
2013-07-17 10:56 apn Assigned To apn => bugmaster
2013-07-17 10:56 apn Status reviewed => tested
2013-07-19 13:33 omy Changeset attached => occt master cf6625bd
2013-07-19 13:33 omy Assigned To bugmaster => omy
2013-07-19 13:33 omy Status tested => verified
2013-07-19 13:33 omy Resolution open => fixed
2013-12-19 13:52 bugmaster Status verified => closed
2013-12-19 13:56 bugmaster Fixed in Version => 6.7.0
2014-01-11 11:58 abv Category OCCT Release:BUILD => OCCT:Coding