Archived issue #0028980

Coding rules - suppress GCC compiler warnings -Warray-bounds within AdvApp2Var

Open CASCADEOCCT:Codingclosed4 public notes

Search issues

Description

The following false GCC 6.3.0 compiler warnings should be suppressed:
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx: In function ‘int mvgaus0_(integer*, doublereal*, doublereal*, integer*, integer*)’:
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:4006:13: warning: array subscript is below array bounds [-Warray-bounds]
     --rootlg;
             ^
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript is below array bounds [-Warray-bounds]
     --hwgaus;
             ^
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds [-Warray-bounds]
     --valjac;
             ^

Steps to reproduce

N/A

Public activity

4 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Aug 7 21:36:10 2017 +0300

    0028980: Coding rules - suppress GCC compiler warnings -Warray-bounds within AdvApp2Var
02Author
03Commenter 1
Combination -
OCCT branch : [archived branch] : [revision removed]
Products branch : [archived branch]
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.

Number of compiler warnings:

OCCT :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

Products :
Linux: 5 (5 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
No differences that require special attention

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records