MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #28980 All Revisions ] Back to Issue ]
Summary 0028980: Coding rules - suppress GCC compiler warnings -Warray-bounds within AdvApp2Var
Revision 2017-08-08 06:53 by kgv
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;
             ^
Revision 2017-08-08 06:51 by kgv
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:4006:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:4006:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:4006:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript is below array bounds 
[-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /occt.git/src/AdvApp2Var/AdvApp2Var_Node.cxx -o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_Node.o
     
--hwgaus;
             ^
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript is below array bounds 
[-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /occt.git/src/AdvApp2Var/AdvApp2Var_Patch.cxx -o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_Patch.o

g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /occt.git/src/AdvApp2Var/AdvApp2Var_SysBase.cxx -o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_SysBase.o

/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx: In static member function ‘static int AdvApp2Var_MathBase::mmpobas_(doublereal*, 
integer*, integer*, integer*, doublereal*, integer*)’:
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
     --valjac;
             ^
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /occt.git/src/AdvApp2Var/AdvApp2Var_SysBase_baseinit.cxx 
-o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_SysBase_baseinit.o
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /occt.git/src/AppCont/AppCont_ContMatrices.cxx -o ../../../lin/cbp/obj/src/AppCont/AppCont_ContMatrices.o

/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript is below array bounds 
[-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -st
Revision 2017-08-07 21:04 by kgv
Description The following false GCC 6.3.0 compiler warnings should be suppressed:
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx: In function ‘int mvgaus0_(integer*, 
doublereal*, doublereal*, integer*, integer*)’:
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:4006:13: warning: array subscript 
is below array bounds [-Warray-bounds]
     --rootlg;
             ^
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:4006:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:4006:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:4006:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript 
is below array bounds [-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_Node.cxx 
-o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_Node.o
     --hwgaus;
             ^
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:3859:13: warning: array subscript 
is below array bounds [-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_Patch.cxx 
-o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_Patch.o
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_SysBase.cxx 
-o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_SysBase.o
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx: In static member function 
‘static int AdvApp2Var_MathBase::mmpobas_(doublereal*, integer*, integer*, integer*, doublereal*, integer*)’:

/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
     --valjac;
             ^
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_SysBase_baseinit.cxx 
-o ../../../lin/cbp/obj/src/AdvApp2Var/AdvApp2Var_SysBase_baseinit.o
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -std=c++0x -fPIC -DOCC_CONVERT_SIGNALS -Wall -fexceptions -DHAVE_FREEIMAGE 
-DHAVE_FFMPEG -I/usr/include/tcl8.6 -I/usr/include/freetype2 -I/home/kirill/develop/occt/occt.git/inc 
-O2 -DNDEBUG -DNo_Exception -I../../../inc -c /home/kirill/develop/occt/occt.git/src/AppCont/AppCont_ContMatrices.cxx 
-o ../../../lin/cbp/obj/src/AppCont/AppCont_ContMatrices.o
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
/home/kirill/develop/occt/occt.git/src/AdvApp2Var/AdvApp2Var_MathBase.cxx:7170:13: warning: array subscript 
is below array bounds [-Warray-bounds]
g++ -mmmx -msse -msse2 -mfpmath=sse -st


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker