View Issue Details

IDProjectCategoryView StatusLast Update
0023725Open CASCADEOCCT:Visualizationpublic2013-04-29 15:22
Reporterkgv Assigned Tokgv  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformAOSL 
Product Version6.5.4 
Target Version6.6.0Fixed in Version6.6.0 
Summary0023725: C++11 compatibility issues in Image_Color.hxx
Descriptiong++ 4.7.2 emits following compilation warning:
narrowing conversion of ‘(((int)theA.Image_ColorBGR::v[0]) + (int)theB.Image_ColorBGR::v[0]))’ from ‘int’ to ‘Standard_Byte {aka unsigned char}’ inside { } is ill-formed in C++11
TagsNo tags attached.
Test case numberNot needed

Activities

kgv

2013-01-26 22:49

developer   ~0023164

Patch is ready for review in CR23725 branch

san

2013-01-28 16:21

developer   ~0023181

Branch CR23725 reviewed without remarks, ready for testing

mkv

2013-01-31 18:11

tester   ~0023221

Dear BugMaster,

Branch CR23725 was rebased on the current master.

Branch CR23725 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Number of compiler warnings:

occt component :
Linux: 3 (3 on master)
Windows: 57 (57 on master)

products component :
Linux: 9 (9 on master)
Windows: 50 (50 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 218169792 / 217584256
Total CPU difference: 9325.850000000026 / 9348.490000000449

Testing on Windows:
Total MEMORY difference: 306773824 / 306657056
Total CPU difference: 11689.765625 / 11644.453125

There are not serious differences in images found by testdiff.

Related Changesets

occt: master 9786a9af

2013-01-26 18:48:12

kgv

Details Diff
0023725: C++11 compatibility issues in Image_Color.hxx

Fixed warning emited by g++ 4.7.2
Affected Issues
0023725
mod - src/Image/Image_Color.hxx Diff File

Issue History

Date Modified Username Field Change
2013-01-26 22:45 kgv New Issue
2013-01-26 22:45 kgv Assigned To => kgv
2013-01-26 22:48 kgv Status new => assigned
2013-01-26 22:49 kgv Note Added: 0023164
2013-01-26 22:49 kgv Assigned To kgv => san
2013-01-26 22:49 kgv Status assigned => resolved
2013-01-28 16:21 san Note Added: 0023181
2013-01-28 16:21 san Assigned To san => bugmaster
2013-01-28 16:21 san Status resolved => reviewed
2013-01-31 18:11 mkv Note Added: 0023221
2013-01-31 18:11 mkv Test case number => Not needed
2013-01-31 18:11 mkv Status reviewed => tested
2013-02-04 14:47 kgv Changeset attached => occt master 9786a9af
2013-02-04 14:47 kgv Assigned To bugmaster => kgv
2013-02-04 14:47 kgv Status tested => verified
2013-02-04 14:47 kgv Resolution open => fixed
2013-04-23 13:36 aiv Status verified => closed
2013-04-29 15:22 aiv Fixed in Version => 6.6.0