/in/foo.cc: In function 'void calm()':
/in/foo.cc:6:25: warning: array subscript is above array bounds [-Warray-bounds]
#define a4 f[cod][odd][4]
~~~~~~~~~~~~~^
/in/foo.cc:19:65: note: in expansion of macro 'a4'
s = ( s+ (a1 *i)%p*num[i] + (a2 *num[i])%p + (a3*i)%p + a4)%p;
^~
/in/foo.cc:6:25: warning: array subscript is above array bounds [-Warray-bounds]
#define a4 f[cod][odd][4]
~~~~~~~~~~~~~^
/in/foo.cc:24:15: note: in expansion of macro 'a4'
a4 = (a4+i*num[i])%p;
^~
/in/foo.cc:6:25: warning: array subscript is above array bounds [-Warray-bounds]
#define a4 f[cod][odd][4]
~~~~~~~~~~~~~^
/in/foo.cc:24:9: note: in expansion of macro 'a4'
a4 = (a4+i*num[i])%p;
^~