Archived issue #0031007

Coding - eliminate warnings issued while compiling with -pedantic flag

Open CASCADEOCCT:Codingclosed5 public notes

Search issues

Description

While compiling current OCCT master branch using -pedantic compiler flag, some warnings about extra semicolons are issued. E.g., look at the attached files Attachment 2 (LOG) and Attachment 1 (LOG).

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Commenter 3.

[revision removed]


Detailed log of new commits:

Author: Commenter 3
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.
02Commenter 3
Trivial patch is ready for review.
03Commenter 3
No remarks, please integrate
04Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records