View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024820 | Open CASCADE | OCCT:Modeling Algorithms | public | 2014-04-10 13:08 | 2014-05-05 13:39 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.7.1 | ||||
Target Version | 6.7.1 | Fixed in Version | 6.7.1 | ||
Summary | 0024820: CLang compiler warning -Wreturn-stack-address | ||||
Description | CLang compiler highlights a flaw in the code: /Users/mnt/tools/WOK670/wok_entities/LOC/dev/CR671-master-occt/src/BOPDS/BOPDS_DS.cxx:1112:10: warning: reference to stack memory associated with local variable 'aNullCB' returned [-Wreturn-stack-address] | ||||
Additional information and documentation updates | The signature of the function BOPDS_DS::CommonBlock(const Handle(BOPDS_PaveBlock)& thePB) has been changed to return handle, not a reference to handle. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Git branch CR24820 is ready to be reviewed. |
|
Reviewed without remarks, please test. As general remark: making such simple methods inline could be useful for gaining more performance. |
|
Dear BugMaster, Branch CR24820 (and products from GIT master) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: d6985d3be034d86b38d7be534da94db341edd9b5 Number of compiler warnings: occt component : Linux: 18 (18 on master) Windows: 0 (0 on master) MacOS: 412 (413 on master) products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: No regressions/differences Testing cases: Not needed Testing on Linux: Total MEMORY difference: 352633560 / 352642984 Total CPU difference: 52863.290000000066 / 67343.19000000024 Testing on Windows: Total MEMORY difference: 381164796 / 380717640 Total CPU difference: 38980.890625 / 39760.234375 There are no differences in images found by testdiff. |
occt: master 819f58c7 2014-04-15 12:07:02
Committer: abv Details Diff |
0024820: CLang compiler warning -Wreturn-stack-address The signature of the function BOPDS_DS::CommonBlock(const Handle(BOPDS_PaveBlock)& thePB) has been changed to return handle, not a reference to handle. |
Affected Issues 0024820 |
|
mod - src/BOPDS/BOPDS_DS.cdl | Diff File | ||
mod - src/BOPDS/BOPDS_DS.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-10 13:08 |
|
New Issue | |
2014-04-10 13:08 |
|
Assigned To | => emv |
2014-04-10 13:08 |
|
Status | new => assigned |
2014-04-15 16:29 |
|
Note Added: 0028845 | |
2014-04-15 16:29 |
|
Assigned To | emv => abv |
2014-04-15 16:29 |
|
Status | assigned => resolved |
2014-04-15 16:29 |
|
Additional Information Updated | |
2014-04-16 09:12 |
|
Note Added: 0028858 | |
2014-04-16 09:12 |
|
Assigned To | abv => bugmaster |
2014-04-16 09:12 |
|
Status | resolved => reviewed |
2014-04-16 12:29 |
|
Assigned To | bugmaster => mkv |
2014-04-18 12:30 |
|
Note Added: 0028959 | |
2014-04-18 16:35 |
|
Test case number | => Not needed |
2014-04-18 16:35 |
|
Assigned To | mkv => bugmaster |
2014-04-18 16:35 |
|
Status | reviewed => tested |
2014-04-28 10:27 |
|
Changeset attached | => occt master 819f58c7 |
2014-04-28 10:27 |
|
Assigned To | bugmaster => abv |
2014-04-28 10:27 |
|
Status | tested => verified |
2014-04-28 10:27 |
|
Resolution | open => fixed |
2014-05-05 13:20 | bugmaster | Status | verified => closed |
2014-05-05 13:39 |
|
Fixed in Version | => 6.7.1 |