MantisBT - Open CASCADE
View Issue Details
0031007Open CASCADE[OCCT] OCCT:Codingpublic2019-09-27 15:032019-12-01 12:49
tizmaylo 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 7.3.0 
[OCCT] 7.5.0* 
0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
While compiling current OCCT master branch using -pedantic compiler flag, some warnings about extra semicolons are issued. E.g., look at the attached files mingw-8.1.0-build-pedantic.log and clang-8.0.0-build-pedantic.log.
No tags attached.
related to 0027092closed abv Community Coding - src/BRep/BRep_Tool.hxx extra semicolon triggers annoying warnings on Clang 
child of 0027105closed abv Community Make code ISO-compliant [-Wpedantic fixes] 
log mingw-8.1.0-build-pedantic.log (36,729) 2019-09-27 15:03
https://tracker.dev.opencascade.org/
log clang-8.0.0-build-pedantic.log (29,166) 2019-09-27 15:03
https://tracker.dev.opencascade.org/
Issue History
2019-09-27 15:03tizmayloNew Issue
2019-09-27 15:03tizmayloAssigned To => kgv
2019-09-27 15:03tizmayloFile Added: mingw-8.1.0-build-pedantic.log
2019-09-27 15:03tizmayloFile Added: clang-8.0.0-build-pedantic.log
2019-09-27 15:03tizmayloSummary0030609: Coding - eliminate warnings issued while compiling with -pedantic flag => Coding - eliminate warnings issued while compiling with -pedantic flag
2019-11-22 17:04gitNote Added: 0089156
2019-11-22 18:35kgvNote Added: 0089157
2019-11-22 18:35kgvAssigned Tokgv => abv
2019-11-22 18:35kgvStatusnew => resolved
2019-11-22 18:36kgvRelationship addedrelated to 0027092
2019-11-22 18:36kgvRelationship addedchild of 0027105
2019-11-24 11:02abvNote Added: 0089161
2019-11-24 11:02abvAssigned Toabv => bugmaster
2019-11-24 11:02abvStatusresolved => reviewed
2019-11-27 16:45bugmasterNote Added: 0089222
2019-11-27 16:45bugmasterStatusreviewed => tested
2019-12-01 12:22bugmasterChangeset attached => occt master 8c2d3314
2019-12-01 12:22bugmasterStatustested => verified
2019-12-01 12:22bugmasterResolutionopen => fixed
2019-12-01 12:49gitNote Added: 0089327

Notes
(0089156)
git   
2019-11-22 17:04   
Branch CR31007 has been created by kgv.

SHA-1: 0dd179c8649bf57bb6f5f3f7d17aa5ff7bfce21b


Detailed log of new commits:

Author: kgv
Date: Fri Nov 22 17:02:12 2019 +0300

    0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
    
    Removed duplicating semicolons ;;.
    Removed redundant semicolon at namespace closure.
(0089157)
kgv   
2019-11-22 18:35   
Trivial patch is ready for review.
(0089161)
abv   
2019-11-24 11:02   
No remarks, please integrate
(0089222)
bugmaster   
2019-11-27 16:45   
Combination -
OCCT branch : WEEK-48
master SHA - 2b5a58a33cf42ab3d995e63dde8c1ff7278cb4d0
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : WEEK-48 SHA - 3b604b9355eb7932637676d9f7a2146a78ba7df1
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: 16796.860000000055 / 16848.370000000145 [-0.31%]
Products
Total CPU difference: 10878.57000000006 / 10787.150000000072 [+0.85%]
Windows-64-VC14:
OCCT
Total CPU difference: 18298.9375 / 18305.59375 [-0.04%]
Products
Total CPU difference: 10772.90625 / 12768.0625 [-15.63%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0089327)
git   
2019-12-01 12:49   
Branch CR31007 has been deleted by inv.

SHA-1: 0dd179c8649bf57bb6f5f3f7d17aa5ff7bfce21b