MantisBT - Open CASCADE
View Issue Details
0030764Open CASCADE[OCCT] OCCT:Codingpublic2019-06-04 09:072019-06-08 13:21
abv 
bugmaster 
normalminor 
verifiedfixed 
WindowsVC10++ 201064 bit
[OCCT] 7.2.0 
[OCCT] 7.4.0 
Not required
0030764: Coding - warnings in Image_AlienPixMap.cxx when built with MSVC10
When compiling with MSVC 10 with CMake with default options (all USE_ options are OFF), warnings are generated in Image_AlienPixMap.cxx:

1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h(72): warning C4005: 'INT8_MIN' : macro redefinition
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\intsafe.h(144) : see previous definition of 'INT8_MIN'

...
Build OCCT with MSVC2010
No tags attached.
child of 0029055closed bugmaster Visualization, Image_AlienPixMap - fallback using Wincodec 
Issue History
2019-06-04 09:07abvNew Issue
2019-06-04 09:07abvAssigned To => kgv
2019-06-04 09:22gitNote Added: 0084790
2019-06-04 09:22abvNote Added: 0084791
2019-06-04 09:22abvStatusnew => resolved
2019-06-04 09:22abvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21298#r21298
2019-06-04 09:28kgvAssigned Tokgv => bugmaster
2019-06-04 09:28kgvStatusresolved => reviewed
2019-06-04 09:28kgvProduct Version => 7.3.0
2019-06-04 09:28kgvRelationship addedchild of 0029055
2019-06-04 09:28kgvProduct Version7.3.0 => 7.2.0
2019-06-04 09:29kgvOS => VC10++ 2010
2019-06-04 09:29kgvOS Version => 64 bit
2019-06-04 09:29kgvPlatform => Windows
2019-06-04 17:32bugmasterTest case number => Not required
2019-06-05 18:30bugmasterNote Added: 0084899
2019-06-05 18:30bugmasterStatusreviewed => tested
2019-06-08 13:11bugmasterChangeset attached => occt master 0616aa9e
2019-06-08 13:11bugmasterStatustested => verified
2019-06-08 13:11bugmasterResolutionopen => fixed
2019-06-08 13:21gitNote Added: 0084960

Notes
(0084790)
git   
2019-06-04 09:22   
Branch CR30764 has been created by abv.

SHA-1: 0b132a098f9a83ae21398948359997f77b269658


Detailed log of new commits:

Author: abv
Date: Tue Jun 4 09:21:28 2019 +0300

    0030764: Coding - warnings in Image_AlienPixMap.cxx when built with MSVC10
    
    Disable warnings when including system headers (conflict between VS 2010 and Windows SDK definitions).
(0084791)
abv   
2019-06-04 09:22   
Fix is pushed to branch CR30764, please review.
(0084899)
bugmaster   
2019-06-05 18:30   
Fix has been tested in framework of WEEK-23 branch

Combination -
OCCT branch : WEEK-23
master SHA - 75e136f6c99fb9327a63f98320f4c835d7cfba4c
d67d4b811012eef8913d3c535c29654d0acf3c4c
Products branch : WEEK-23 SHA - c337118ac41004248abf27585e4c0e972f1a923e
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16201.04000000019 / 16313.930000000051 [-0.69%]
Products
Total CPU difference: 10536.310000000076 / 10490.14000000005 [+0.44%]
Windows-64-VC14:
OCCT
Total CPU difference: 17578.765625 / 17714.90625 [-0.77%]
Products
Total CPU difference: 12055.0 / 12054.984375 [+0.00%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0084960)
git   
2019-06-08 13:21   
Branch CR30764 has been deleted by inv.

SHA-1: 0b132a098f9a83ae21398948359997f77b269658