+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/palp.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S3hL9K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf palp-2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/palp-2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd palp-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (palp-format.patch):' Patch #0 (palp-format.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Subadd.c patching file Subpoly.c patching file Subdb.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZxCsoR + umask 022 + cd /builddir/build/BUILD + cd palp-2.1 + cp -a /builddir/build/SOURCES/1205.4147v1.pdf . + mkdir bin + mv Global.h Global.h-template + for dim in 4 5 6 11 + echo Building PALP optimized for 4 dimensions Building PALP optimized for 4 dimensions + sed 's/^#define[^a-zA-Z]*POLY_Dmax.*/#define POLY_Dmax 4/' Global.h-template + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o poly.o poly.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Coord.o Coord.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Rat.o Rat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Vertex.o Vertex.c Rat.c: In function 'rS': Vertex.c: In function 'Print_FaceInfo': Rat.c:26:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:26:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Vertex.c:80:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=M;i++)printf(" %d",_I->nf[i]); puts(")]:"); ^~~ Vertex.c:80:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=M;i++)printf(" %d",_I->nf[i]); puts(")]:"); ^~~~ Rat.c: In function 'rD': Rat.c:35:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:35:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Rat.c: In function 'Fgcd': Rat.c:81:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:81:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'NNgcd': Rat.c:86:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:86:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Coord.c: In function 'IsNextDigit': Coord.c:18:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(c=='0') return -1; if((c<'0') || ('9'n;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ Rat.c:271:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0; in;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Coord.c:143:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] { int tr=0; while('\n'!=fgetc(inFILE)); /* read to end of line */ ^~~~~ Coord.c:144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(IN[0]==IN[1]){ ^~ Vertex.c: In function 'New_Start_Vertex': Vertex.c:362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^~~ Vertex.c:362:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^ Coord.c:163:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:163:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Vertex.c: In function 'GLZ_Start_Simplex': Vertex.c:413:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i==r) break; _V->v[_V->nv++]=y; /* x = dim(span) < d */ ^~ Vertex.c:413:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==r) break; _V->v[_V->nv++]=y; /* x = dim(span) < d */ ^~ Coord.c:209:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:209:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Vertex.c:424:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Coord.c: In function 'Read_PP': Vertex.c:424:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Coord.c:228:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:228:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Coord.c:235:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] { int tr=0; while('\n'!=fgetc(inFILE)); /* read to end of line */ ^~~~~ Vertex.c:426:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=-Z[i]; E->c*=-1;} ^~~ Vertex.c:426:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=-Z[i]; E->c*=-1;} ^ Coord.c:236:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(IN[0]==IN[1]){ ^~ Vertex.c:433:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:433:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Coord.c:255:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:434:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[*d-1]],_P->n)); ^ Coord.c:255:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Coord.c:258:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:258:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Vertex.c:442:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:442:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Coord.c: In function 'Read_CWS': Coord.c:274:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:274:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:443:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[x]],_P->n)); ^ Coord.c:323:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:323:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Coord.c: In function 'Orig_Solve_Next_WEq': Coord.c:375:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Coord.c:375:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ Coord.c:382:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;kx[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~ Coord.c:398:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~~~ Coord.c:401:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Coord.c:401:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ Coord.c: In function 'Reduce_PPL_2_Sublat': Coord.c:466:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=*nm;in;i++) P->x[n][i]=X[i]; n++; ^~~ Coord.c:466:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=*nm;in;i++) P->x[n][i]=X[i]; n++; ^ Coord.c: In function 'ReadCwsPp': Coord.c:137:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ Coord.c:158:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:160:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_PP': Coord.c:229:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ Coord.c:250:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:252:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_CWS': Coord.c:275:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Polynf.o Polynf.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o LG.o LG.c Polynf.c: In function 'GL_W_to_GLZ': Polynf.c:134:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^~ Polynf.c:832:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(A->np==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^ In file included from Global.h:5:0, from Polynf.c:1: Polynf.c:835:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Find_Equations(A,V,E); assert(A->np=V->nv); for(e=0;en) (*N)=0; return vol; /* N=0 iff B=0 */ ^~ Polynf.c:879:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==P->n) (*N)=0; return vol; /* N=0 iff B=0 */ ^~~~~~ Polynf.c: In function 'SemiSimpleRoots': Polynf.c:886:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:885:54: warning: this 'for' clause does not guard... [-Wmisleading-indentation] int e,p,d=P->n,N=0; for(p=0;pnp;p++){ int z=0; for(e=0;ene;e++) ^~~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:887:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:887:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:892:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c:892:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c: In function 'VxV': Polynf.c:906:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(--d) z+=X[d]*Y[d]; return z;} ^~~~~ Polynf.c:906:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(--d) z+=X[d]*Y[d]; return z;} ^~~~~~ Polynf.c: In function 'V_to_GLZ': Polynf.c:914:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(j--) G.x[j][x]=G.x[j][i]; while(0n)sq=2;} ^~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1135:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1138:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1137:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ LG.c: In function 'Read_WZ_PP': LG.c:53:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~~~~ LG.c:53:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~ Polynf.c:1151:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^~~ Polynf.c:1151:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^ LG.c:57:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((im[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^~~~~ LG.c:57:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((im[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^ LG.c:86:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^~~ LG.c:86:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^ LG.c:88:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g==WZ->m[i]) continue; if(g>1) for(k=0;km[i]) continue; if(g>1) for(k=0;kA[k]-=X*WZ->B[k][0]; ^~~ Polynf.c: In function 'Einstein_Metric': Polynf.c:1214:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~ Polynf.c:1214:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~~ LG.c:105:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jrI[j]);puts(""); ^~~ LG.c:105:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jrI[j]);puts(""); ^~~~ LG.c:117:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;irI[i]) break; if(i make P0=0 */ ^~~ LG.c:117:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;irI[i]) break; if(i make P0=0 */ ^~ Polynf.c:1228:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^~~ Polynf.c:1228:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^ LG.c:134:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~~ Polynf.c:1239:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^~~ LG.c:134:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~ Polynf.c:1239:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^ LG.c:145:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ LG.c:145:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ LG.c: In function 'Read_Weight': LG.c:191:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ LG.c:191:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Polynf.c:1271:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1271:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1277:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~ Polynf.c:1277:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~~~~ Polynf.c:1278:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jN;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~ LG.c:245:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<_B->N;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~~ LG.c: In function 'Make_Poly_Points': LG.c:272:62: warning: variable 'nip' set but not used [-Wunused-but-set-variable] { AmbiLatticeBasis B; Weight *_W=_W_in; int /* index=0,*/ nip; ^~~ Polynf.c: In function 'Reflexive_Fibrations': Polynf.c:1393:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nlines of GX */ ^~~ Polynf.c:1394:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(ie[i]); }} ^~ LG.c:445:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co!=1) printf("%d ",co); printf("x^%d ",(int)P->e[i]); }} ^~~~~~ Polynf.c: In function 'Test_EK3_Fibration': Polynf.c:1416:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][j]=PM[s[i]][j];A->n=edim; ^~~ Polynf.c:1419:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=edim; ^ Polynf.c:1432:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^~~ Polynf.c:1463:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^ LG.c: In function 'Init_Multiloop': LG.c:571:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^~~ Polynf.c: In function 'All_CDn_Fibrations': LG.c:571:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^ Polynf.c:1477:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!PM[i][--j]) if(j==0) break; if(jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ LG.c:580:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ Polynf.c:1480:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][j]=PM[s[i]][j];A->n=fdim; ^~~ Polynf.c:1481:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=fdim; ^ LG.c: In function 'Fast_c9_VaHo': LG.c:617:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=N;i++) mask[i]=1<m[k]; R=kgV/W->d; ^~~ LG.c:619:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;km[k]; R=kgV/W->d; ^ Polynf.c: In function 'IP_Simplex_Fiber': Polynf.c:1543:33: warning: this 'for' clause does not guard... [-Wmisleading-indentation] F->nf=0; for(n=0;nW[i][j]);puts("");exit(0);}} ^~~ Polynf.c:1555:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[i][j]);puts("");exit(0);}} ^~~~ Polynf.c: In function 'IP_Simplex_Decomp': Polynf.c:1564:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nm[k]; R=kgV/W->d; ^~~ LG.c:659:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;km[k]; R=kgV/W->d; ^ Polynf.c:1576:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp-_P->n) ^~ Polynf.c:1596:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n);fputs("\n",outFILE);} ^~~~~ LG.c: In function 'MakeMobius': LG.c:710:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;in=n=2*n+(X==i*i); /* #(Div(X)) */ ^~~ LG.c:710:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;in=n=2*n+(X==i*i); /* #(Div(X)) */ ^ Polynf.c: In function 'Print_Fiber_PolyData': Polynf.c:1609:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0; jn-w+1; ^~~ Polynf.c:1609:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0; jn-w+1; ^~ Polynf.c:1629:52: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(p=0;pnv;p++)for(i=0;ix[V->v[p]][s]; F->x[p][i]=x;} ^ Polynf.c: In function 'Print_Fibrations': Polynf.c:1707:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) ^~~ Polynf.c:1708:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp-1;i++) ^~~ Polynf.c: In function 'IP_Simplices': Polynf.c:1755:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1755:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1754:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;iV.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ LG.c: In function 'Calc_VaHo': LG.c:914:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(co>cM) cM=co; sum+=co; } ^~ LG.c:914:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co>cM) cM=co; sum+=co; } ^~~ Polynf.c:1790:48: warning: this 'if' clause does not guard... [-Wmisleading-indentation] fprintf(outFILE," #IP-simp=%d",F->nw); if(F->nw>np-_P->n) ^~ Polynf.c:1791:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n); fputs("\n",outFILE); ^~~~~ Polynf.c:1811:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(CD) free(F->P); free(F); return; ^~ Polynf.c:1811:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(CD) free(F->P); free(F); return; ^~~~ Polynf.c: In function 'AuxColGCD': Polynf.c:1830:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~ LG.c: In function 'OLDTrans_Check': LG.c:990:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(targets==NULL) OLDInit_Trans_Check(mask,&targets,&mighty); targets[0]=0; ^~ LG.c:990:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(targets==NULL) OLDInit_Trans_Check(mask,&targets,&mighty); targets[0]=0; ^~~~~~~ Polynf.c:1830:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~~ Polynf.c: In function 'GL_Lattice_Basis': Polynf.c:1844:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(L=0;L1){M[i]/=g; ^~~ Polynf.c:1929:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<*p;k++) g=NNgcd(g,Z[i][k]); if(g>1){M[i]/=g; ^~ LG.c: In function 'Read_WZ_PP': LG.c:38:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",I); ^~~~~~~~~~~~~~~~~~~~~ LG.c:41:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsDigit(C)) fscanf(inFILE,"%d",&I[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~ Polynf.c: In function 'Aux_Mat_2_QuotientZ': Polynf.c:2023:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;im){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ Polynf.c:2057:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(s<0)s+=m; if(2*s>m){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ Polynf.c: In function 'GL_Lattice_Basis_QZ': Polynf.c:2115:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(l=C;l %ld /%ld\n", ^~~~~~~ Polynf.c:2132:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnw>1) ^~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(L[pi[j-1]]nw>1) ^~ Polynf.c:2165:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ii;j--) ^~~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(L[pi[j-1]]nw>1) ^~ Polynf.c: In function 'WZ_to_GLZ': Polynf.c:2192:62: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { fprintf(stderr,"\nError in WZ_to_GLZ (overflow?):\n");for(i=0;i<*d;i++) ^~~ Polynf.c:2193:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr,"%ld ",W[i]);fprintf(stderr,"=W nonzero=%d<%d\n",r,*d); ^~~~~~~ Polynf.c: In function 'Print_xxG': Polynf.c:2206:34: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int i,j; for(i=0;i<*d;i++) {for(j=0;j<*d;j++) ^~~ Polynf.c:2207:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%3ld ",G[i][j]); fprintf(outFILE,"%s\n",s);} ^~~~~~~ Polynf.c: In function 'VP_2_CWS': Polynf.c:2218:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(p[r]>p[R]) R=r; if(p[R]==p[r]) if(d[r]p[R]) R=r; if(p[R]==p[r]) if(d[r]W[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~~ Polynf.c:2220:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~ Polynf.c:2232:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=CW->nw;inw;iW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~~ Polynf.c:2233:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~ Polynf.c: In function 'LatVol_IPs_degD': Polynf.c:2285:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ Polynf.c:2285:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Polynf.c:2294:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp;j++){ int i,cd=0; for(e=0;ene;e++) ^~~ Polynf.c:2296:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((cd==0)||(E->ne==P->n+1)) ^~ Polynf.c: In function 'Check_ANF_Form': Polynf.c:2332:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^~~ Polynf.c:2332:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^ Polynf.c:2333:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^~~ Polynf.c:2333:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^ Polynf.c: In function 'Make_ANF': Polynf.c:2361:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^~~ Polynf.c:2361:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^ Polynf.c:2362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^~~ Polynf.c:2362:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^ Polynf.c:2364:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^~~ Polynf.c:2364:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^ Polynf.c: In function 'EPrint_VL': Polynf.c:2380:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<_P->n;i++) { for(j=0;jnv;j++) ^~~ Polynf.c:2381:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr," %3ld",_P->x[V->v[j]][i]);fprintf(stderr,"\n");}} ^~~~~~~ Polynf.c: In function 'Print_Facets': Polynf.c:2395:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++){for(j=0;jn;i++){for(j=0;jne;e++) FI[e]=0; for(n=0;nne;e++) FI[e]=0; for(n=0;nd) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^~ Polynf.c:2491:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>d) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^ Polynf.c:2497:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if(sum || (m2*p2)) return 0; /* Batyrev :: inconsistent projection */ ~~~^~~~ Polynf.c:2511:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^~~ Polynf.c:2511:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^ Polynf.c:2514:56: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c=0;cne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~ Polynf.c:2517:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(f=0;fne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~~ Polynf.c:2537:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2537:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ Polynf.c:2559:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2559:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o class.o class.c class.c: In function 'main': class.c:280:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else printf("original lattices only\n"); break; ^~~~ class.c:280:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else printf("original lattices only\n"); break; ^~~~~ class.c: In function 'LocalPrintUsage': class.c:225:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&hc); ^~~~~~~~~~~~~~~ Vertex.c: In function 'Complete_Poly': Vertex.c:823:30: warning: 'BasFac[]' may be used uninitialized in this function [-Wmaybe-uninitialized] position[n-1]=-_E->e[BasFac[n-1]].c-1; ~~~~~~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subpoly.o Subpoly.c Subpoly.c: In function 'Start_Make_All_Subpolys': Subpoly.c:547:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&(KL.nk)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subpoly.c:550:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&j); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subadd.o Subadd.c Subadd.c: In function 'Init_FInfoList': Subadd.c:78:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~~ Subadd.c:78:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~ Subadd.c: In function 'Read_Honest_Poly': Subadd.c:209:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~ Subadd.c:209:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~~~~~ Subadd.c: In function 'Read_Aux_File': Subadd.c:253:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:253:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Write_Bin_File': Subadd.c:353:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:352:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int v_li=0; for(j=1;j<=NUCmax;j++) ^~~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c: In function 'Write_Aux_File': Subadd.c:423:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:423:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Add_NF_to_List': Subadd.c:729:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:729:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:736:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:736:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:745:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:745:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'BminOff': Subadd.c:834:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~ Subadd.c:834:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~~~~ Subadd.c: In function 'AuxBase2nUC': Subadd.c:841:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^~~ Subadd.c:841:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^ Subadd.c: In function 'AuxVnf2ucNF': Subadd.c:929:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^~ Subadd.c:929:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^ Subadd.c: In function 'UCnf2vNF': Subadd.c:937:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^~~ Subadd.c:937:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^ Subadd.c: In function 'VF_2_ucNF': Subadd.c:970:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:970:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:1040:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1039:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS<2) for(i=0;i<*d;i++) ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1041:28: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS-1) for(i=0;i<*d;i++)for(j=i;j<*NV;j++) ^~~ Subadd.c:1042:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' err+=(tNF[i][j]!=F_NF[i][j]); if(err) Err=1; ^~ Subadd.c: In function 'AuxPut_hNF': Subadd.c:1101:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^~~ Subadd.c:1101:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^ Subadd.c: In function 'Add_Polya_2_Polyi': Subadd.c:1138:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subadd.c:1140:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subadd.c:1152:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++a)0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1340:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1340:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1349:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1349:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'fgetUI': Subadd.c:175:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%c%c%c%c",&A,&B,&C,&D); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LG.c: In function 'Fast_c9_VaHo': LG.c:645:47: warning: array subscript is above array bounds [-Warray-bounds] V->h[0][i]=V->h[3][i]=b01; V->h[i][0]=V->h[i][3]=b01; ~~~~~~~^~~ LG.c:646:42: warning: array subscript is above array bounds [-Warray-bounds] V->h[0][0]=V->h[3][3]=V->h[3][0]=V->h[0][3]=1; ~~~~~~~^~~ LG.c:646:20: warning: array subscript is above array bounds [-Warray-bounds] V->h[0][0]=V->h[3][3]=V->h[3][0]=V->h[0][3]=1; ~~~~~~~^~~ LG.c:645:47: warning: array subscript is above array bounds [-Warray-bounds] V->h[0][i]=V->h[3][i]=b01; V->h[i][0]=V->h[i][3]=b01; ~~~~~~~^~~ LG.c: In function 'Calc_VaHo': LG.c:908:34: warning: 'w[]' may be used uninitialized in this function [-Wmaybe-uninitialized] P->A=Z->A=COEFF_Nmax; R->A=w[N-1]+1; ~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subdb.o Subdb.c Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:263:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~ Subdb.c:263:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~~~~~ Subdb.c:296:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subdb.c:298:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subdb.c:310:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++s)=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:845:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:846:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~ Subdb.c:846:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~~~~ Subdb.c: In function 'Bin2a': Subdb.c:935:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:935:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:989:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:989:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Read_H_poly_from_DB': Subdb.c:1587:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~~ Subdb.c:1587:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~ Subdb.c: In function 'Aux_Print_CoverPoly': Subdb.c:1634:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~ Subdb.c:1634:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~~~~~ Subdb.c:1641:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1642:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'Aux_Print_SLpoly': Subdb.c:1648:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~ Subdb.c:1648:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~~~~ Subdb.c:1657:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~ Subdb.c:1657:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~~~~~ Subdb.c:1664:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1665:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'PH_Sublat_Polys': Subdb.c:1683:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(('1'I */ ^~ Subdb.c:1683:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(('1'I */ ^ Subdb.c:1694:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int e, z=0; for(e=0;eomitFIP) RelPts[N++]=_P->x[p]; ^~ Subdb.c: In function 'V_Sublat_Polys': Subdb.c:1739:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(N=0;Nx[V.v[N]]; ++x; ^~~ Subdb.c:1739:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(N=0;Nx[V.v[N]]; ++x; ^~ Subdb.c: In function 'Bin_2_ANF': Subdb.c:1823:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1823:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1874:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1874:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Init_DB': Subdb.c:136:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d, &DB->nV, &DB->nVmax, &DB->NUCmax, &list_num, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNF, &DB->nSM, &DB->nNM, &DB->NB, &sl_nNF, &sl_SM, &sl_NM, &sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:150:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:151:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:153:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:154:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:267:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FI,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d",&d,&i,&j,&nu,&Ili, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &FIi.nNF,&FIi.nSM,&FIi.nNM,&FIi.NB,&IslNF,&IslSM,&IslNM,&IslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:274:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:274:28: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:276:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:276:27: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Check_NF_Order': Subdb.c:512:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:523:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:523:30: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:526:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~ Subdb.c:526:35: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Reduce_Aux_File': Subdb.c:652:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FS,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%lld",&d,&i,&j,&nu,&Sli, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sNF,&FIs.nSM,&sNM,&FIs.NB,&SslNF,&SslSM,&SslNM,&SslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:656:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:656:31: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:658:16: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:658:36: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:953:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'DB_to_Hodge': Subdb.c:1047:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d, &DB.nV, &DB.nVmax, &DB.NUCmax, &list_num, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB.nNF, &DB.nSM, &DB.nNM, &DB.NB, &sl_nNF, &sl_SM, &sl_NM, &sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1059:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d",&v); ^~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1060:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d",&(DB.nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1062:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1063:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d", &(DB.NFnum[v][nu])); } } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Sort_Hodge': Subdb.c:1161:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fvinfo, "%d %d", &nd, &(nnf_v[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1164:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fvinfo, "%d", &dh); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1165:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fvinfo, "%d", &(nnf_vd[v][dh])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Test_Hodge_db': Subdb.c:1256:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d %d", &nh, &(nnf_d[dh])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1259:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &h12); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1260:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &(nnf_dh[dh][h12])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Extract_from_Hodge_db': Subdb.c:1392:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d %d", &nh, &(nnf_d[dh])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1395:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &h12); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1396:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &(nnf_dh[dh][h12])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Open_DB': Subdb.c:1509:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->d,&DB->nV,&DB->nVmax,&DB->NUCmax,&DB->list_num, &DB->nNF,&DB->nSM, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNM, &DB->NB, &DB->sl_nNF, &DB->sl_SM, &DB->sl_NM, &DB->sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:29: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1520:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1521:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); } } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1836:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o cws.o cws.c cws.c: In function 'AddHalf': cws.c:411:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ cws.c:411:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ cws.c: In function 'Npoly2cws': cws.c:477:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~ cws.c:477:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~~~~~~ cws.c: In function 'weicomp': cws.c:509:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~ cws.c:509:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~~ cws.c: In function 'insertat': cws.c:515:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^~~ cws.c:515:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^ cws.c: In function 'Make_34_Weights': cws.c:663:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~ cws.c:663:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~~~~~~~~~~~ cws.c: In function 'T_Insertat': cws.c:805:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^~~ cws.c:805:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^ cws.c: In function 'Make_IP_CWS': cws.c:1451:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^~ cws.c:1451:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^ cws.c:1455:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1455:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1466:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^~ cws.c:1466:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^ cws.c: In function 'Conv': cws.c:1698:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^~ cws.c:1698:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^ cws.c: In function 'NP_use_lat': cws.c:1747:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~ cws.c:1747:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~~ cws.c: In function 'SimplexPointCount': cws.c:1778:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nn; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~ E_Poly.c:231:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j = 0; j < _P_AUX->n; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~~~~ In file included from Global.h:5:0, from E_Poly.c:1: E_Poly.c: In function 'AnalyseGorensteinCone': E_Poly.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E_D->ne = _V->nv); ^ E_Poly.c:1484:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E->ne = _V_D->nv); ^ E_Poly.c: In function 'DYNComplete_Poly': E_Poly.c:147:30: warning: 'BasFac[]' may be used uninitialized in this function [-Wmaybe-uninitialized] position[n-1]=-_E->e[BasFac[n-1]].c-1; ~~~~~~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Nefpart.o Nefpart.c Nefpart.c: In function 'Select_Sv': Nefpart.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (_F->Test) ^~ Nefpart.c:712:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Select_Sv(S, _VF, _M, _G, _X, _Y, _MR, _FVl, step, _PTL, _F); ^~~~~~~~~ Nefpart.c:705:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mori.o mori.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o MoriCone.o MoriCone.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o SingularInput.o SingularInput.c MoriCone.c: In function 'Choose': MoriCone.c:126:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[CC[c]]; sv=SimplexVolume(X,P->n); ^~~ MoriCone.c:161:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c=0;cx[CC[c]]; sv=SimplexVolume(X,P->n); ^~ MoriCone.c: In function 'OLD_LinRelLatticeBasis': MoriCone.c:186:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~ MoriCone.c:186:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~~~~~~ MoriCone.c:196:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~ MoriCone.c:196:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~~~~~~ MoriCone.c: In function 'MoriGen': MoriCone.c:222:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) ^~~ MoriCone.c:229:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%d ",V->v[i]); fprintf(outFILE,"#=%d\n",V->nv);} ^~~~~~~ MoriCone.c: In function 'Check_Mori': MoriCone.c:281:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:293:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:260:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,nv,np; Long Z[POLY_Dmax+1]; VertexNumList V; ^~~ MoriCone.c: In function 'Print_Mori': MoriCone.c:325:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:337:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:305:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'Triang_from_SR': MoriCone.c:391:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^~ MoriCone.c:391:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^ MoriCone.c: In function 'StanleyReisner': MoriCone.c:406:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j>d)j=d+1; while(i2999)binco=2999; ^~ MoriCone.c:406:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(j>d)j=d+1; while(i2999)binco=2999; ^~~~~ MoriCone.c:427:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:426:38: warning: this 'for' clause does not guard... [-Wmisleading-indentation] {for(i=0;in;i++) {int sum=0; for(j=0;jn;j++) ^~~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c: In function 'ConeAngle': MoriCone.c:487:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c:487:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c: In function 'SameRay': MoriCone.c:511:52: warning: this 'while' clause does not guard... [-Wmisleading-indentation] int SameRay(Long *X,Long *Y,int d){int x=0,y=000; while(d--) ^~~~~ MoriCone.c:515:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(x) return (x*y>0); else {puts("ZeroVectors in SameRay (forbidden)"); ^~ MoriCone.c: In function 'MakeVecPrim': MoriCone.c:539:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] void MakeVecPrim(Long *X){Long g=1;if(X[0]*X[1])g=Fgcd(X[0],X[1]); ~~~~^~~~~ MoriCone.c:540:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c:540:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c: In function 'Triang1dSFan': MoriCone.c:570:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^~~ MoriCone.c:570:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^ MoriCone.c:583:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:582:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(i>1){CT[*nmt]=X; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:585:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c:584:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(j>1){CT[*nmt]=X+i; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c: In function 'Triang3dSFan': MoriCone.c:687:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^~~ MoriCone.c:687:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^ MoriCone.c:722:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(XYZcone(BZR(Eli[a][0]),BZR(b),BZR(Eli[a][1]))>0)break;if(b0)break;if(b0)break;if(bnv,j, cp=_P->np-1,t=E->ne,d=_P->n, Dh0[VERT_Nmax], Dh2[VERT_Nmax]; ^~~ MoriCone.c: In function 'ReadInt': MoriCone.c:1419:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~ MoriCone.c:1419:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~~ MoriCone.c: In function 'Read_INCI': MoriCone.c:1426:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~ MoriCone.c:1426:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~~ MoriCone.c: In function 'Print_Mori_Old': MoriCone.c:1506:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~ MoriCone.c:1506:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~~~~~~~~ MoriCone.c:1509:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~ MoriCone.c:1509:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~~ MoriCone.c:1523:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:1535:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:1547:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1547:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1546:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in,p=P->np, ngen=0, pli[POLY_Dmax+1],ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'ComputeStanleyReisner': MoriCone.c:1579:24: warning: variable 'G' set but not used [-Wunused-but-set-variable] Inci64 *IV, *A, *B, *G[POLY_Dmax], *M, *N; ^ MoriCone.c: In function 'ReadInt': MoriCone.c:1418:24: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] ungetc(c,inFILE); fscanf(inFILE,"%d",&n); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o SingularInput.o: In function `HyperSurfSingular': /builddir/build/BUILD/palp-2.1/SingularInput.c:85: warning: the use of `tmpnam' is dangerous, better use `mkstemp' + for file in poly class cws nef mori + mv poly.x bin/poly-4d.x + for file in poly class cws nef mori + mv class.x bin/class-4d.x + for file in poly class cws nef mori + mv cws.x bin/cws-4d.x + for file in poly class cws nef mori + mv nef.x bin/nef-4d.x + for file in poly class cws nef mori + mv mori.x bin/mori-4d.x + make cleanall rm -f *.o *.x core + for dim in 4 5 6 11 + echo Building PALP optimized for 5 dimensions Building PALP optimized for 5 dimensions + sed 's/^#define[^a-zA-Z]*POLY_Dmax.*/#define POLY_Dmax 5/' Global.h-template + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o poly.o poly.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Coord.o Coord.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Rat.o Rat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Vertex.o Vertex.c Coord.c: In function 'IsNextDigit': Coord.c:18:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(c=='0') return -1; if((c<'0') || ('9'n;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ poly.c:226:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<_P->n;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Coord.c:235:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] { int tr=0; while('\n'!=fgetc(inFILE)); /* read to end of line */ ^~~~~ Coord.c:236:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(IN[0]==IN[1]){ ^~ Coord.c:255:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:255:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Coord.c:258:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:258:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Rat.c: In function 'rS': Rat.c:26:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:26:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Rat.c: In function 'rD': Rat.c:35:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:35:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Coord.c: In function 'Read_CWS': Coord.c:274:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:274:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Rat.c: In function 'Fgcd': Rat.c:81:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:81:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'NNgcd': Rat.c:86:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:86:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'REgcd': Rat.c:108:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; inf[i]); puts(")]:"); ^~~ Vertex.c:80:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=M;i++)printf(" %d",_I->nf[i]); puts(")]:"); ^~~~ Coord.c: In function 'Orig_Solve_Next_WEq': Coord.c:375:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Coord.c:375:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ Rat.c: In function 'W_to_GLZ': Rat.c:133:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~ Rat.c:198:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^~ Coord.c:398:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~~~ Rat.c:198:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^ Rat.c: In function 'LFgcd': Rat.c:244:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Coord.c:401:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Coord.c:401:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ Rat.c:244:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'LNNgcd': Rat.c:249:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:249:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'LREgcd': Rat.c:271:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; in;i++) P->x[n][i]=X[i]; n++; ^~~ Coord.c:466:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=*nm;in;i++) P->x[n][i]=X[i]; n++; ^ Vertex.c: In function 'New_Start_Vertex': Vertex.c:362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^~~ Vertex.c:362:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^ Vertex.c: In function 'GLZ_Start_Simplex': Vertex.c:413:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i==r) break; _V->v[_V->nv++]=y; /* x = dim(span) < d */ ^~ Vertex.c:413:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==r) break; _V->v[_V->nv++]=y; /* x = dim(span) < d */ ^~ Vertex.c:424:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:424:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Vertex.c:426:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=-Z[i]; E->c*=-1;} ^~~ Vertex.c:426:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=-Z[i]; E->c*=-1;} ^ Vertex.c:433:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:433:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:434:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[*d-1]],_P->n)); ^ Vertex.c:442:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:442:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:443:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[x]],_P->n)); ^ Coord.c: In function 'ReadCwsPp': Coord.c:137:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ Coord.c:158:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:160:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_PP': Coord.c:229:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ Coord.c:250:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:252:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_CWS': Coord.c:275:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Polynf.o Polynf.c Polynf.c: In function 'GL_W_to_GLZ': Polynf.c:134:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^~ Polynf.c:832:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(A->np==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^ In file included from Global.h:5:0, from Polynf.c:1: Polynf.c:835:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Find_Equations(A,V,E); assert(A->np=V->nv); for(e=0;en) (*N)=0; return vol; /* N=0 iff B=0 */ ^~ Polynf.c:879:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==P->n) (*N)=0; return vol; /* N=0 iff B=0 */ ^~~~~~ Polynf.c: In function 'SemiSimpleRoots': Polynf.c:886:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:885:54: warning: this 'for' clause does not guard... [-Wmisleading-indentation] int e,p,d=P->n,N=0; for(p=0;pnp;p++){ int z=0; for(e=0;ene;e++) ^~~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:887:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:887:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:892:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c:892:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c: In function 'VxV': Polynf.c:906:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(--d) z+=X[d]*Y[d]; return z;} ^~~~~ Polynf.c:906:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(--d) z+=X[d]*Y[d]; return z;} ^~~~~~ Polynf.c: In function 'V_to_GLZ': Polynf.c:914:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(j--) G.x[j][x]=G.x[j][i]; while(0n)sq=2;} ^~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1135:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1138:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1137:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1151:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^~~ Polynf.c:1151:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^ Polynf.c: In function 'Einstein_Metric': Polynf.c:1214:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~ Polynf.c:1214:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~~ Polynf.c:1228:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^~~ Polynf.c:1228:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^ Polynf.c:1239:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^~~ Polynf.c:1239:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^ Polynf.c:1271:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1271:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1277:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~ Polynf.c:1277:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~~~~ Polynf.c:1278:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jlines of GX */ ^~~ Polynf.c:1394:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(ix[i][j]=PM[s[i]][j];A->n=edim; ^~~ Polynf.c:1419:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=edim; ^ Polynf.c:1432:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^~~ Polynf.c:1463:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^ LG.c: In function 'Read_WZ_PP': LG.c:53:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~~~~ LG.c:53:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~ LG.c:57:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((im[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^~~~~ LG.c:57:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((im[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^ Polynf.c: In function 'All_CDn_Fibrations': Polynf.c:1477:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!PM[i][--j]) if(j==0) break; if(jx[i][j]=PM[s[i]][j];A->n=fdim; ^~~ Polynf.c:1481:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=fdim; ^ LG.c:86:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^~~ LG.c:86:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^ LG.c:88:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g==WZ->m[i]) continue; if(g>1) for(k=0;km[i]) continue; if(g>1) for(k=0;kA[k]-=X*WZ->B[k][0]; ^~~ LG.c:105:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jrI[j]);puts(""); ^~~ LG.c:105:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jrI[j]);puts(""); ^~~~ LG.c:117:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;irI[i]) break; if(i make P0=0 */ ^~~ LG.c:117:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;irI[i]) break; if(i make P0=0 */ ^~ LG.c:134:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~~ LG.c:134:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~ Polynf.c: In function 'IP_Simplex_Fiber': Polynf.c:1543:33: warning: this 'for' clause does not guard... [-Wmisleading-indentation] F->nf=0; for(n=0;nW[i][j]);puts("");exit(0);}} ^~~ Polynf.c:1555:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[i][j]);puts("");exit(0);}} ^~~~ Polynf.c: In function 'IP_Simplex_Decomp': Polynf.c:1564:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nnp-_P->n) ^~ Polynf.c:1596:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n);fputs("\n",outFILE);} ^~~~~ Polynf.c: In function 'Print_Fiber_PolyData': Polynf.c:1609:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0; jn-w+1; ^~~ LG.c: In function 'TEST_LatticeBasis': LG.c:245:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(a=0;a<_B->N;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~ Polynf.c:1609:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0; jn-w+1; ^~ LG.c:245:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<_B->N;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~~ Polynf.c:1629:52: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(p=0;pnv;p++)for(i=0;ix[V->v[p]][s]; F->x[p][i]=x;} ^ LG.c: In function 'Make_Poly_Points': LG.c:272:62: warning: variable 'nip' set but not used [-Wunused-but-set-variable] { AmbiLatticeBasis B; Weight *_W=_W_in; int /* index=0,*/ nip; ^~~ LG.c: In function 'PrintPoCoLi': LG.c:445:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(co!=1) printf("%d ",co); printf("x^%d ",(int)P->e[i]); }} ^~ LG.c:445:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co!=1) printf("%d ",co); printf("x^%d ",(int)P->e[i]); }} ^~~~~~ Polynf.c: In function 'Print_Fibrations': Polynf.c:1707:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) ^~~ Polynf.c:1708:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp-1;i++) ^~~ Polynf.c: In function 'IP_Simplices': Polynf.c:1755:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1755:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1754:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;iV.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ LG.c: In function 'Init_Multiloop': LG.c:571:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^~~ LG.c:571:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^ Polynf.c:1790:48: warning: this 'if' clause does not guard... [-Wmisleading-indentation] fprintf(outFILE," #IP-simp=%d",F->nw); if(F->nw>np-_P->n) ^~ Polynf.c:1791:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n); fputs("\n",outFILE); ^~~~~ LG.c: In function 'Count_b01': LG.c:580:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ LG.c:580:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ LG.c: In function 'Fast_c9_VaHo': LG.c:617:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=N;i++) mask[i]=1<P); free(F); return; ^~ LG.c:617:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=N;i++) mask[i]=1<P); free(F); return; ^~~~ LG.c:619:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;km[k]; R=kgV/W->d; ^~~ LG.c:619:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;km[k]; R=kgV/W->d; ^ Polynf.c: In function 'AuxColGCD': Polynf.c:1830:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~ Polynf.c:1830:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~~ Polynf.c: In function 'GL_Lattice_Basis': Polynf.c:1844:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(L=0;Lm[k]; R=kgV/W->d; ^~~ LG.c:659:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;km[k]; R=kgV/W->d; ^ Polynf.c: In function 'Make_Lattice_Basis': Polynf.c:1873:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i1){M[i]/=g; ^~~ Polynf.c:1929:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<*p;k++) g=NNgcd(g,Z[i][k]); if(g>1){M[i]/=g; ^~ Polynf.c: In function 'Aux_Mat_2_QuotientZ': Polynf.c:2023:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;im){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ Polynf.c:2057:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(s<0)s+=m; if(2*s>m){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ LG.c: In function 'Calc_VaHo': LG.c:914:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(co>cM) cM=co; sum+=co; } ^~ LG.c:914:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co>cM) cM=co; sum+=co; } ^~~ Polynf.c: In function 'GL_Lattice_Basis_QZ': Polynf.c:2115:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(l=C;l %ld /%ld\n", ^~~~~~~ Polynf.c:2132:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnw>1) ^~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(L[pi[j-1]]nw>1) ^~ Polynf.c:2165:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ii;j--) ^~~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(L[pi[j-1]]nw>1) ^~ LG.c: In function 'Read_WZ_PP': LG.c:38:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",I); ^~~~~~~~~~~~~~~~~~~~~ LG.c:41:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsDigit(C)) fscanf(inFILE,"%d",&I[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~ Polynf.c: In function 'WZ_to_GLZ': Polynf.c:2192:62: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { fprintf(stderr,"\nError in WZ_to_GLZ (overflow?):\n");for(i=0;i<*d;i++) ^~~ Polynf.c:2193:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr,"%ld ",W[i]);fprintf(stderr,"=W nonzero=%d<%d\n",r,*d); ^~~~~~~ Polynf.c: In function 'Print_xxG': Polynf.c:2206:34: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int i,j; for(i=0;i<*d;i++) {for(j=0;j<*d;j++) ^~~ Polynf.c:2207:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%3ld ",G[i][j]); fprintf(outFILE,"%s\n",s);} ^~~~~~~ Polynf.c: In function 'VP_2_CWS': LG.c: In function 'Read_Weight': LG.c:182:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",I); ^~~~~~~~~~~~~~~~~~~~~ LG.c:185:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsDigit(c)) fscanf(inFILE,"%d",&I[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~ Polynf.c:2218:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(p[r]>p[R]) R=r; if(p[R]==p[r]) if(d[r]p[R]) R=r; if(p[R]==p[r]) if(d[r]W[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~~ Polynf.c:2220:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~ Polynf.c:2232:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=CW->nw;inw;iW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~~ Polynf.c:2233:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~ Polynf.c: In function 'LatVol_IPs_degD': Polynf.c:2285:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ Polynf.c:2285:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Polynf.c:2294:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp;j++){ int i,cd=0; for(e=0;ene;e++) ^~~ Polynf.c:2296:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((cd==0)||(E->ne==P->n+1)) ^~ Polynf.c: In function 'Check_ANF_Form': Polynf.c:2332:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^~~ Polynf.c:2332:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^ Polynf.c:2333:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^~~ Polynf.c:2333:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^ Polynf.c: In function 'Make_ANF': Polynf.c:2361:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^~~ Polynf.c:2361:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^ Polynf.c:2362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^~~ Polynf.c:2362:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^ Polynf.c:2364:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^~~ Polynf.c:2364:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^ Polynf.c: In function 'EPrint_VL': Polynf.c:2380:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<_P->n;i++) { for(j=0;jnv;j++) ^~~ Polynf.c:2381:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr," %3ld",_P->x[V->v[j]][i]);fprintf(stderr,"\n");}} ^~~~~~~ Polynf.c: In function 'Print_Facets': Polynf.c:2395:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++){for(j=0;jn;i++){for(j=0;jne;e++) FI[e]=0; for(n=0;nne;e++) FI[e]=0; for(n=0;nd) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^~ Polynf.c:2491:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>d) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^ Polynf.c:2497:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if(sum || (m2*p2)) return 0; /* Batyrev :: inconsistent projection */ ~~~^~~~ Polynf.c:2511:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^~~ Polynf.c:2511:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^ Polynf.c:2514:56: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c=0;cne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~ Polynf.c:2517:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(f=0;fne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~~ Polynf.c:2537:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2537:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ Polynf.c:2559:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2559:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o class.o class.c class.c: In function 'main': class.c:280:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else printf("original lattices only\n"); break; ^~~~ class.c:280:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else printf("original lattices only\n"); break; ^~~~~ class.c: In function 'LocalPrintUsage': class.c:225:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&hc); ^~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subpoly.o Subpoly.c Subpoly.c: In function 'Start_Make_All_Subpolys': Subpoly.c:547:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&(KL.nk)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subpoly.c:550:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&j); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subadd.o Subadd.c Subadd.c: In function 'Init_FInfoList': Subadd.c:78:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~~ Subadd.c:78:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~ Subadd.c: In function 'Read_Honest_Poly': Subadd.c:209:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~ Subadd.c:209:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~~~~~ Subadd.c: In function 'Read_Aux_File': Subadd.c:253:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:253:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Write_Bin_File': Subadd.c:353:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:352:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int v_li=0; for(j=1;j<=NUCmax;j++) ^~~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c: In function 'Write_Aux_File': Subadd.c:423:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:423:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Add_NF_to_List': Subadd.c:729:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:729:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:736:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:736:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:745:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:745:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'BminOff': Subadd.c:834:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~ Subadd.c:834:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~~~~ Subadd.c: In function 'AuxBase2nUC': Subadd.c:841:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^~~ Subadd.c:841:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^ Subadd.c: In function 'AuxVnf2ucNF': Subadd.c:929:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^~ Subadd.c:929:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^ Subadd.c: In function 'UCnf2vNF': Subadd.c:937:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^~~ Subadd.c:937:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^ Subadd.c: In function 'VF_2_ucNF': Subadd.c:970:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:970:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:1040:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1039:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS<2) for(i=0;i<*d;i++) ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1041:28: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS-1) for(i=0;i<*d;i++)for(j=i;j<*NV;j++) ^~~ Subadd.c:1042:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' err+=(tNF[i][j]!=F_NF[i][j]); if(err) Err=1; ^~ Subadd.c: In function 'AuxPut_hNF': Subadd.c:1101:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^~~ Subadd.c:1101:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^ Subadd.c: In function 'Add_Polya_2_Polyi': Subadd.c:1138:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subadd.c:1140:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subadd.c:1152:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++a)0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1340:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1340:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1349:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1349:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'fgetUI': Subadd.c:175:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%c%c%c%c",&A,&B,&C,&D); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LG.c: In function 'Calc_VaHo': LG.c:908:34: warning: 'w[]' may be used uninitialized in this function [-Wmaybe-uninitialized] P->A=Z->A=COEFF_Nmax; R->A=w[N-1]+1; ~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subdb.o Subdb.c Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:263:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~ Subdb.c:263:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~~~~~ Subdb.c:296:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subdb.c:298:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subdb.c:310:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++s)=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:845:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:846:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~ Subdb.c:846:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~~~~ Subdb.c: In function 'Bin2a': Subdb.c:935:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:935:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:989:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:989:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Read_H_poly_from_DB': Subdb.c:1587:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~~ Subdb.c:1587:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~ Subdb.c: In function 'Aux_Print_CoverPoly': Subdb.c:1634:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~ Subdb.c:1634:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~~~~~ Subdb.c:1641:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1642:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'Aux_Print_SLpoly': Subdb.c:1648:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~ Subdb.c:1648:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~~~~ Subdb.c:1657:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~ Subdb.c:1657:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~~~~~ Subdb.c:1664:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1665:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'PH_Sublat_Polys': Subdb.c:1683:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(('1'I */ ^~ Subdb.c:1683:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(('1'I */ ^ Subdb.c:1694:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int e, z=0; for(e=0;eomitFIP) RelPts[N++]=_P->x[p]; ^~ Subdb.c: In function 'V_Sublat_Polys': Subdb.c:1739:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(N=0;Nx[V.v[N]]; ++x; ^~~ Subdb.c:1739:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(N=0;Nx[V.v[N]]; ++x; ^~ Subdb.c: In function 'Bin_2_ANF': Subdb.c:1823:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1823:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1874:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1874:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Init_DB': Subdb.c:136:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d, &DB->nV, &DB->nVmax, &DB->NUCmax, &list_num, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNF, &DB->nSM, &DB->nNM, &DB->NB, &sl_nNF, &sl_SM, &sl_NM, &sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:150:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:151:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:153:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:154:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:267:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FI,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d",&d,&i,&j,&nu,&Ili, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &FIi.nNF,&FIi.nSM,&FIi.nNM,&FIi.NB,&IslNF,&IslSM,&IslNM,&IslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:274:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:274:28: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:276:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:276:27: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Check_NF_Order': Subdb.c:512:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:523:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:523:30: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:526:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~ Subdb.c:526:35: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Reduce_Aux_File': Subdb.c:652:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FS,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%lld",&d,&i,&j,&nu,&Sli, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sNF,&FIs.nSM,&sNM,&FIs.NB,&SslNF,&SslSM,&SslNM,&SslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:656:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:656:31: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:658:16: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:658:36: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:953:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'DB_to_Hodge': Subdb.c:1047:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d, &DB.nV, &DB.nVmax, &DB.NUCmax, &list_num, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB.nNF, &DB.nSM, &DB.nNM, &DB.NB, &sl_nNF, &sl_SM, &sl_NM, &sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1059:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d",&v); ^~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1060:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d",&(DB.nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1062:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1063:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB.Finfo,"%d", &(DB.NFnum[v][nu])); } } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Sort_Hodge': Subdb.c:1161:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fvinfo, "%d %d", &nd, &(nnf_v[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1164:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fvinfo, "%d", &dh); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1165:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fvinfo, "%d", &(nnf_vd[v][dh])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Test_Hodge_db': Subdb.c:1256:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d %d", &nh, &(nnf_d[dh])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1259:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &h12); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1260:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &(nnf_dh[dh][h12])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Extract_from_Hodge_db': Subdb.c:1392:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d %d", &nh, &(nnf_d[dh])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1395:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &h12); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1396:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(Fhinfo, "%d", &(nnf_dh[dh][h12])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Open_DB': Subdb.c:1509:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->d,&DB->nV,&DB->nVmax,&DB->NUCmax,&DB->list_num, &DB->nNF,&DB->nSM, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNM, &DB->NB, &DB->sl_nNF, &DB->sl_SM, &DB->sl_NM, &DB->sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:29: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1520:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1521:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); } } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1836:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o cws.o cws.c cws.c: In function 'AddHalf': cws.c:411:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ cws.c:411:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ cws.c: In function 'Npoly2cws': cws.c:477:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~ cws.c:477:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~~~~~~ cws.c: In function 'weicomp': cws.c:509:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~ cws.c:509:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~~ cws.c: In function 'insertat': cws.c:515:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^~~ cws.c:515:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^ cws.c: In function 'Make_34_Weights': cws.c:663:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~ cws.c:663:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~~~~~~~~~~~ cws.c: In function 'T_Insertat': cws.c:805:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^~~ cws.c:805:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^ cws.c: In function 'Make_IP_CWS': cws.c:1451:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^~ cws.c:1451:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^ cws.c:1455:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1455:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1466:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^~ cws.c:1466:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^ cws.c: In function 'Conv': cws.c:1698:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^~ cws.c:1698:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^ cws.c: In function 'NP_use_lat': cws.c:1747:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~ cws.c:1747:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~~ cws.c: In function 'SimplexPointCount': cws.c:1778:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nn; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~ E_Poly.c:231:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j = 0; j < _P_AUX->n; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~~~~ In file included from Global.h:5:0, from E_Poly.c:1: E_Poly.c: In function 'AnalyseGorensteinCone': E_Poly.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E_D->ne = _V->nv); ^ E_Poly.c:1484:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E->ne = _V_D->nv); ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Nefpart.o Nefpart.c Nefpart.c: In function 'Select_Sv': Nefpart.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (_F->Test) ^~ Nefpart.c:712:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Select_Sv(S, _VF, _M, _G, _X, _Y, _MR, _FVl, step, _PTL, _F); ^~~~~~~~~ Nefpart.c:705:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mori.o mori.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o MoriCone.o MoriCone.c MoriCone.c: In function 'Choose': MoriCone.c:126:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[CC[c]]; sv=SimplexVolume(X,P->n); ^~~ MoriCone.c:161:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c=0;cx[CC[c]]; sv=SimplexVolume(X,P->n); ^~ MoriCone.c: In function 'OLD_LinRelLatticeBasis': MoriCone.c:186:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~ MoriCone.c:186:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~~~~~~ MoriCone.c:196:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~ MoriCone.c:196:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o SingularInput.o SingularInput.c MoriCone.c: In function 'MoriGen': MoriCone.c:222:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) ^~~ MoriCone.c:229:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%d ",V->v[i]); fprintf(outFILE,"#=%d\n",V->nv);} ^~~~~~~ MoriCone.c: In function 'Check_Mori': MoriCone.c:281:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:293:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:260:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,nv,np; Long Z[POLY_Dmax+1]; VertexNumList V; ^~~ MoriCone.c: In function 'Print_Mori': MoriCone.c:325:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:337:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:305:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'Triang_from_SR': MoriCone.c:391:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^~ MoriCone.c:391:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^ MoriCone.c: In function 'StanleyReisner': MoriCone.c:406:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j>d)j=d+1; while(i2999)binco=2999; ^~ MoriCone.c:406:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(j>d)j=d+1; while(i2999)binco=2999; ^~~~~ MoriCone.c:427:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:426:38: warning: this 'for' clause does not guard... [-Wmisleading-indentation] {for(i=0;in;i++) {int sum=0; for(j=0;jn;j++) ^~~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c: In function 'ConeAngle': MoriCone.c:487:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c:487:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c: In function 'SameRay': MoriCone.c:511:52: warning: this 'while' clause does not guard... [-Wmisleading-indentation] int SameRay(Long *X,Long *Y,int d){int x=0,y=000; while(d--) ^~~~~ MoriCone.c:515:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(x) return (x*y>0); else {puts("ZeroVectors in SameRay (forbidden)"); ^~ MoriCone.c: In function 'MakeVecPrim': MoriCone.c:539:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] void MakeVecPrim(Long *X){Long g=1;if(X[0]*X[1])g=Fgcd(X[0],X[1]); ~~~~^~~~~ MoriCone.c:540:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c:540:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c: In function 'Triang1dSFan': MoriCone.c:570:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^~~ MoriCone.c:570:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^ MoriCone.c:583:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:582:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(i>1){CT[*nmt]=X; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:585:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c:584:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(j>1){CT[*nmt]=X+i; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c: In function 'Triang3dSFan': MoriCone.c:687:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^~~ MoriCone.c:687:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^ MoriCone.c:722:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(XYZcone(BZR(Eli[a][0]),BZR(b),BZR(Eli[a][1]))>0)break;if(b0)break;if(b0)break;if(bnv,j, cp=_P->np-1,t=E->ne,d=_P->n, Dh0[VERT_Nmax], Dh2[VERT_Nmax]; ^~~ MoriCone.c: In function 'ReadInt': MoriCone.c:1419:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~ MoriCone.c:1419:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~~ MoriCone.c: In function 'Read_INCI': MoriCone.c:1426:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~ MoriCone.c:1426:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~~ MoriCone.c: In function 'Print_Mori_Old': MoriCone.c:1506:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~ MoriCone.c:1506:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~~~~~~~~ MoriCone.c:1509:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~ MoriCone.c:1509:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~~ MoriCone.c:1523:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:1535:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:1547:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1547:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1546:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in,p=P->np, ngen=0, pli[POLY_Dmax+1],ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'ComputeStanleyReisner': MoriCone.c:1579:24: warning: variable 'G' set but not used [-Wunused-but-set-variable] Inci64 *IV, *A, *B, *G[POLY_Dmax], *M, *N; ^ SingularInput.c: In function 'Read_HyperSurf': SingularInput.c:49:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, sizeof string, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SingularInput.c:58:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, maxline ,stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MoriCone.c: In function 'ReadInt': MoriCone.c:1418:24: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] ungetc(c,inFILE); fscanf(inFILE,"%d",&n); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o SingularInput.o: In function `HyperSurfSingular': /builddir/build/BUILD/palp-2.1/SingularInput.c:85: warning: the use of `tmpnam' is dangerous, better use `mkstemp' + for file in poly class cws nef mori + mv poly.x bin/poly-5d.x + for file in poly class cws nef mori + mv class.x bin/class-5d.x + for file in poly class cws nef mori + mv cws.x bin/cws-5d.x + for file in poly class cws nef mori + mv nef.x bin/nef-5d.x + for file in poly class cws nef mori + mv mori.x bin/mori-5d.x + make cleanall rm -f *.o *.x core + for dim in 4 5 6 11 + echo Building PALP optimized for 6 dimensions Building PALP optimized for 6 dimensions + sed 's/^#define[^a-zA-Z]*POLY_Dmax.*/#define POLY_Dmax 6/' Global.h-template + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o poly.o poly.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Coord.o Coord.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Rat.o Rat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Vertex.o Vertex.c poly.c: In function 'main': poly.c:144:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(s+i+I+m+p+v+e+d+t+S+N+T+PS+VS+CD+G+A+B+F+z==0) g=1; VH.sts=(lg==2); ^~ poly.c:144:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(s+i+I+m+p+v+e+d+t+S+N+T+PS+VS+CD+G+A+B+F+z==0) g=1; VH.sts=(lg==2); ^~ Coord.c: In function 'IsNextDigit': Coord.c:18:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(c=='0') return -1; if((c<'0') || ('9'n;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ poly.c:226:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<_P->n;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Coord.c: In function 'auxString2Int': Coord.c:68:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j) while(c[j]==' ') j++; return j; ^~ Coord.c:68:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(j) while(c[j]==' ') j++; return j; ^~~~~~ Coord.c: In function 'Read_CWS_Zinfo': Coord.c:84:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~~~~ Coord.c:84:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~ Vertex.c: In function 'Print_FaceInfo': Vertex.c:80:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=M;i++)printf(" %d",_I->nf[i]); puts(")]:"); ^~~ Vertex.c:80:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=M;i++)printf(" %d",_I->nf[i]); puts(")]:"); ^~~~ Coord.c: In function 'ReadCwsPp': Coord.c:136:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:136:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Coord.c:143:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] { int tr=0; while('\n'!=fgetc(inFILE)); /* read to end of line */ ^~~~~ Coord.c:144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(IN[0]==IN[1]){ ^~ Coord.c:163:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:163:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Vertex.c: In function 'Vec_is_zero': Vertex.c:250:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(i--) if(X[i]) return 0; return 1; ^~~~~ Vertex.c:250:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(i--) if(X[i]) return 0; return 1; ^~~~~~ Vertex.c: In function 'Vec_Equal': Vertex.c:254:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(i--) if(X[i]!=Y[i]) return 0; return 1; ^~~~~ Vertex.c:254:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(i--) if(X[i]!=Y[i]) return 0; return 1; ^~~~~~ Coord.c:209:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:209:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Coord.c: In function 'Read_PP': Coord.c:228:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:228:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Coord.c:235:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] { int tr=0; while('\n'!=fgetc(inFILE)); /* read to end of line */ ^~~~~ Coord.c:236:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(IN[0]==IN[1]){ ^~ Coord.c:255:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:255:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Coord.c:258:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:258:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Coord.c: In function 'Read_CWS': Coord.c:274:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:274:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Vertex.c: In function 'New_Start_Vertex': Vertex.c:362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^~~ Vertex.c:362:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^ Rat.c: In function 'rS': Rat.c:26:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:26:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Coord.c:323:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:323:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Rat.c: In function 'rD': Rat.c:35:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:35:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Rat.c: In function 'Fgcd': Rat.c:81:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:81:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'NNgcd': Rat.c:86:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:86:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'REgcd': Coord.c: In function 'Orig_Solve_Next_WEq': Rat.c:108:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Rat.c:108:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0; ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ Vertex.c: In function 'GLZ_Start_Simplex': Vertex.c:413:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i==r) break; _V->v[_V->nv++]=y; /* x = dim(span) < d */ ^~ Vertex.c:413:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==r) break; _V->v[_V->nv++]=y; /* x = dim(span) < d */ ^~ Coord.c:382:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;ka[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:424:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Vertex.c:426:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=-Z[i]; E->c*=-1;} ^~~ Rat.c: In function 'W_to_GLZ': Rat.c:133:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;ja[i]=-Z[i]; E->c*=-1;} ^ Rat.c:133:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;ja[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Coord.c:398:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~ Vertex.c:433:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Coord.c:398:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~~~ Coord.c:401:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Coord.c:401:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:434:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[*d-1]],_P->n)); ^ Vertex.c:442:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:442:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Rat.c: In function 'LrS': Rat.c:189:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^~ Rat.c:189:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^ In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:443:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[x]],_P->n)); ^ Rat.c: In function 'LrD': Rat.c:198:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^~ Coord.c: In function 'Reduce_PPL_2_Sublat': Rat.c:198:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^ Coord.c:466:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=*nm;in;i++) P->x[n][i]=X[i]; n++; ^~~ Coord.c:466:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=*nm;in;i++) P->x[n][i]=X[i]; n++; ^ Rat.c: In function 'LFgcd': Rat.c:244:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:244:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'LNNgcd': Rat.c:249:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:249:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'LREgcd': Rat.c:271:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; ix[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:160:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_PP': Coord.c:229:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ Coord.c:250:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:252:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_CWS': Coord.c:275:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Polynf.o Polynf.c Polynf.c: In function 'GL_W_to_GLZ': Polynf.c:134:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^~ Polynf.c:832:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(A->np==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^ In file included from Global.h:5:0, from Polynf.c:1: Polynf.c:835:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Find_Equations(A,V,E); assert(A->np=V->nv); for(e=0;en) (*N)=0; return vol; /* N=0 iff B=0 */ ^~ Polynf.c:879:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==P->n) (*N)=0; return vol; /* N=0 iff B=0 */ ^~~~~~ Polynf.c: In function 'SemiSimpleRoots': Polynf.c:886:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:885:54: warning: this 'for' clause does not guard... [-Wmisleading-indentation] int e,p,d=P->n,N=0; for(p=0;pnp;p++){ int z=0; for(e=0;ene;e++) ^~~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:887:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:887:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:892:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c:892:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c: In function 'VxV': Polynf.c:906:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(--d) z+=X[d]*Y[d]; return z;} ^~~~~ Polynf.c:906:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(--d) z+=X[d]*Y[d]; return z;} ^~~~~~ Polynf.c: In function 'V_to_GLZ': Polynf.c:914:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(j--) G.x[j][x]=G.x[j][i]; while(0n)sq=2;} ^~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1135:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1138:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1137:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1151:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^~~ Polynf.c:1151:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^ Polynf.c: In function 'Einstein_Metric': Polynf.c:1214:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~ Polynf.c:1214:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~~ Polynf.c:1228:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^~~ Polynf.c:1228:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^ Polynf.c:1239:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^~~ Polynf.c:1239:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^ Polynf.c:1271:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1271:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1277:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~ Polynf.c:1277:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~~~~ Polynf.c:1278:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jlines of GX */ ^~~ Polynf.c:1394:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(ix[i][j]=PM[s[i]][j];A->n=edim; ^~~ Polynf.c:1419:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=edim; ^ Polynf.c:1432:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^~~ Polynf.c:1463:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^ Polynf.c: In function 'All_CDn_Fibrations': Polynf.c:1477:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!PM[i][--j]) if(j==0) break; if(jx[i][j]=PM[s[i]][j];A->n=fdim; ^~~ Polynf.c:1481:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=fdim; ^ Polynf.c: In function 'IP_Simplex_Fiber': Polynf.c:1543:33: warning: this 'for' clause does not guard... [-Wmisleading-indentation] F->nf=0; for(n=0;nW[i][j]);puts("");exit(0);}} ^~~ Polynf.c:1555:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[i][j]);puts("");exit(0);}} ^~~~ Polynf.c: In function 'IP_Simplex_Decomp': Polynf.c:1564:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nnp-_P->n) ^~ Polynf.c:1596:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n);fputs("\n",outFILE);} ^~~~~ Polynf.c: In function 'Print_Fiber_PolyData': Polynf.c:1609:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0; jn-w+1; ^~~ Polynf.c:1609:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0; jn-w+1; ^~ Polynf.c:1629:52: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(p=0;pnv;p++)for(i=0;ix[V->v[p]][s]; F->x[p][i]=x;} ^ Polynf.c: In function 'Print_Fibrations': Polynf.c:1707:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) ^~~ Polynf.c:1708:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp-1;i++) ^~~ LG.c: In function 'auxString2SInt': LG.c:27:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(('0'<=c[j])&&(c[j]<='9')) *n = 10*(*n)+c[j++]-'0'; if(neg)*n *=-1; ^~~~~ LG.c:27:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(('0'<=c[j])&&(c[j]<='9')) *n = 10*(*n)+c[j++]-'0'; if(neg)*n *=-1; ^~ LG.c:28:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j) while(c[j]==' ') j++; return j; ^~ LG.c:28:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(j) while(c[j]==' ') j++; return j; ^~~~~~ Polynf.c: In function 'IP_Simplices': Polynf.c:1755:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1755:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ LG.c: In function 'Read_WZ_PP': LG.c:53:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~~~~ LG.c:53:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(c[i]==b)i++; if((c[i]=='=')&&(c[i+1]=='d'))i+=2; while(c[i]==b)i++; ^~ LG.c:57:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((im[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^~~~~ LG.c:57:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((im[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^ Polynf.c:1754:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;iV.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ LG.c:86:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^~~ LG.c:86:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^ LG.c:88:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g==WZ->m[i]) continue; if(g>1) for(k=0;km[i]) continue; if(g>1) for(k=0;kA[k]-=X*WZ->B[k][0]; ^~~ Polynf.c:1790:48: warning: this 'if' clause does not guard... [-Wmisleading-indentation] fprintf(outFILE," #IP-simp=%d",F->nw); if(F->nw>np-_P->n) ^~ Polynf.c:1791:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n); fputs("\n",outFILE); ^~~~~ LG.c:105:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jrI[j]);puts(""); ^~~ LG.c:105:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jrI[j]);puts(""); ^~~~ LG.c:117:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;irI[i]) break; if(i make P0=0 */ ^~~ LG.c:117:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;irI[i]) break; if(i make P0=0 */ ^~ Polynf.c:1811:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(CD) free(F->P); free(F); return; ^~ Polynf.c:1811:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(CD) free(F->P); free(F); return; ^~~~ LG.c:134:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~~ LG.c:134:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~ Polynf.c: In function 'AuxColGCD': Polynf.c:1830:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~ Polynf.c:1830:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~~ LG.c:145:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ LG.c:145:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Polynf.c: In function 'GL_Lattice_Basis': Polynf.c:1844:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(L=0;LN;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~ LG.c:245:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<_B->N;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~~ LG.c: In function 'Make_Poly_Points': LG.c:272:62: warning: variable 'nip' set but not used [-Wunused-but-set-variable] { AmbiLatticeBasis B; Weight *_W=_W_in; int /* index=0,*/ nip; ^~~ Polynf.c: In function 'Print_QuotientZ': Polynf.c:1918:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*r;i++){for(j=0;j<*p;j++) ^~~ Polynf.c:1919:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr,"%5ld ",Z[i][j]); fprintf(stderr," /Z%ld\n",M[i]);} ^~~~~~~ Polynf.c: In function 'Normalize_QuotientZ': Polynf.c:1929:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;k<*p;k++) g=NNgcd(g,Z[i][k]); if(g>1){M[i]/=g; ^~~ Polynf.c:1929:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<*p;k++) g=NNgcd(g,Z[i][k]); if(g>1){M[i]/=g; ^~ LG.c: In function 'PrintPoCoLi': LG.c:445:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(co!=1) printf("%d ",co); printf("x^%d ",(int)P->e[i]); }} ^~ LG.c:445:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co!=1) printf("%d ",co); printf("x^%d ",(int)P->e[i]); }} ^~~~~~ Polynf.c: In function 'Aux_Mat_2_QuotientZ': Polynf.c:2023:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;im){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ Polynf.c:2057:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(s<0)s+=m; if(2*s>m){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ LG.c: In function 'Init_Multiloop': LG.c:571:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^~~ LG.c:571:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^ LG.c: In function 'Count_b01': LG.c:580:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ LG.c:580:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ Polynf.c: In function 'GL_Lattice_Basis_QZ': Polynf.c:2115:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(l=C;lm[k]; R=kgV/W->d; ^~~ Polynf.c:2128:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jm[k]; R=kgV/W->d; ^ Polynf.c:2129:46: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i %ld /%ld\n", ^~~~~~~ Polynf.c:2132:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jm[k]; R=kgV/W->d; ^~~ LG.c:659:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;km[k]; R=kgV/W->d; ^ Polynf.c:2147:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(L=0;Lnw>1) ^~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(L[pi[j-1]]nw>1) ^~ LG.c: In function 'Test_BottomUpQuot': Polynf.c:2165:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ii;j--) ^~~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(L[pi[j-1]]nw>1) ^~ LG.c:694:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i)return 1; printf("Num=");PrintPoCoLi(Num); ^~ LG.c:694:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i)return 1; printf("Num=");PrintPoCoLi(Num); ^~~~~~ LG.c: In function 'MakeMobius': LG.c:710:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;in=n=2*n+(X==i*i); /* #(Div(X)) */ ^~~ LG.c:710:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;in=n=2*n+(X==i*i); /* #(Div(X)) */ ^ Polynf.c: In function 'WZ_to_GLZ': Polynf.c:2192:62: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { fprintf(stderr,"\nError in WZ_to_GLZ (overflow?):\n");for(i=0;i<*d;i++) ^~~ Polynf.c:2193:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr,"%ld ",W[i]);fprintf(stderr,"=W nonzero=%d<%d\n",r,*d); ^~~~~~~ Polynf.c: In function 'Print_xxG': Polynf.c:2206:34: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int i,j; for(i=0;i<*d;i++) {for(j=0;j<*d;j++) ^~~ Polynf.c:2207:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%3ld ",G[i][j]); fprintf(outFILE,"%s\n",s);} ^~~~~~~ Polynf.c: In function 'VP_2_CWS': Polynf.c:2218:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(p[r]>p[R]) R=r; if(p[R]==p[r]) if(d[r]p[R]) R=r; if(p[R]==p[r]) if(d[r]W[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~~ Polynf.c:2220:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~ Polynf.c:2232:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=CW->nw;inw;iW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~~ Polynf.c:2233:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~ Polynf.c: In function 'LatVol_IPs_degD': Polynf.c:2285:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ Polynf.c:2285:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Polynf.c:2294:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp;j++){ int i,cd=0; for(e=0;ene;e++) ^~~ Polynf.c:2296:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((cd==0)||(E->ne==P->n+1)) ^~ Polynf.c: In function 'Check_ANF_Form': Polynf.c:2332:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^~~ LG.c: In function 'Calc_VaHo': Polynf.c:2332:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^ LG.c:914:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(co>cM) cM=co; sum+=co; } ^~ LG.c:914:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co>cM) cM=co; sum+=co; } ^~~ Polynf.c:2333:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^~~ Polynf.c:2333:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^ LG.c: In function 'OLDTrans_Check': LG.c:990:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(targets==NULL) OLDInit_Trans_Check(mask,&targets,&mighty); targets[0]=0; ^~ LG.c:990:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(targets==NULL) OLDInit_Trans_Check(mask,&targets,&mighty); targets[0]=0; ^~~~~~~ Polynf.c: In function 'Make_ANF': Polynf.c:2361:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^~~ Polynf.c:2361:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^ Polynf.c:2362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^~~ Polynf.c:2362:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^ Polynf.c:2364:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^~~ Polynf.c:2364:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^ Polynf.c: In function 'EPrint_VL': Polynf.c:2380:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<_P->n;i++) { for(j=0;jnv;j++) ^~~ Polynf.c:2381:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr," %3ld",_P->x[V->v[j]][i]);fprintf(stderr,"\n");}} ^~~~~~~ Polynf.c: In function 'Print_Facets': Polynf.c:2395:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++){for(j=0;jn;i++){for(j=0;jne;e++) FI[e]=0; for(n=0;nne;e++) FI[e]=0; for(n=0;nd) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^~ Polynf.c:2491:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>d) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^ Polynf.c:2497:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if(sum || (m2*p2)) return 0; /* Batyrev :: inconsistent projection */ ~~~^~~~ LG.c: In function 'Read_Weight': LG.c:182:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",I); ^~~~~~~~~~~~~~~~~~~~~ LG.c:185:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsDigit(c)) fscanf(inFILE,"%d",&I[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~ Polynf.c:2511:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^~~ Polynf.c:2511:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^ Polynf.c:2514:56: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c=0;cne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~ Polynf.c:2517:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(f=0;fne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~~ Polynf.c:2537:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2537:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ Polynf.c:2559:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2559:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o class.o class.c class.c: In function 'main': class.c:280:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else printf("original lattices only\n"); break; ^~~~ class.c:280:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else printf("original lattices only\n"); break; ^~~~~ class.c:234:60: warning: variable 'x_string' set but not used [-Wunused-but-set-variable] char Blank=0, *dbin=&Blank, *dbsub=&Blank, *dbout=dbin, *x_string=&Blank, ^~~~~~~~ class.c: In function 'LocalPrintUsage': class.c:225:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&hc); ^~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subpoly.o Subpoly.c Subpoly.c: In function 'Start_Make_All_Subpolys': Subpoly.c:547:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&(KL.nk)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subpoly.c:550:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&j); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subadd.o Subadd.c Subadd.c: In function 'Init_FInfoList': Subadd.c:78:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~~ Subadd.c:78:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~ Subadd.c: In function 'Read_Honest_Poly': Subadd.c:209:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~ Subadd.c:209:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~~~~~ Subadd.c: In function 'Read_Aux_File': Subadd.c:253:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:253:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Write_Bin_File': Subadd.c:353:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:352:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int v_li=0; for(j=1;j<=NUCmax;j++) ^~~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c: In function 'Write_Aux_File': Subadd.c:423:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:423:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Add_NF_to_List': Subadd.c:729:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:729:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:736:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:736:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:745:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:745:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'BminOff': Subadd.c:834:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~ Subadd.c:834:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~~~~ Subadd.c: In function 'AuxBase2nUC': Subadd.c:841:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^~~ Subadd.c:841:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^ Subadd.c: In function 'AuxVnf2ucNF': Subadd.c:929:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^~ Subadd.c:929:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^ Subadd.c: In function 'UCnf2vNF': Subadd.c:937:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^~~ Subadd.c:937:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^ Subadd.c: In function 'VF_2_ucNF': Subadd.c:970:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:970:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:1040:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1039:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS<2) for(i=0;i<*d;i++) ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1041:28: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS-1) for(i=0;i<*d;i++)for(j=i;j<*NV;j++) ^~~ Subadd.c:1042:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' err+=(tNF[i][j]!=F_NF[i][j]); if(err) Err=1; ^~ Subadd.c: In function 'AuxPut_hNF': Subadd.c:1101:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^~~ Subadd.c:1101:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^ Subadd.c: In function 'Add_Polya_2_Polyi': Subadd.c:1138:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subadd.c:1140:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subadd.c:1152:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++a)0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1340:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1340:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1349:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1349:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'fgetUI': Subadd.c:175:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%c%c%c%c",&A,&B,&C,&D); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LG.c: In function 'Calc_VaHo': LG.c:908:34: warning: 'w[]' may be used uninitialized in this function [-Wmaybe-uninitialized] P->A=Z->A=COEFF_Nmax; R->A=w[N-1]+1; ~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subdb.o Subdb.c Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:263:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~ Subdb.c:263:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~~~~~ Subdb.c:296:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subdb.c:298:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subdb.c:310:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++s)=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:845:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:846:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~ Subdb.c:846:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~~~~ Subdb.c: In function 'Bin2a': Subdb.c:935:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:935:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:989:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:989:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Read_H_poly_from_DB': Subdb.c:1587:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~~ Subdb.c:1587:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~ Subdb.c: In function 'Aux_Print_CoverPoly': Subdb.c:1634:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~ Subdb.c:1634:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~~~~~ Subdb.c:1641:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1642:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'Aux_Print_SLpoly': Subdb.c:1648:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~ Subdb.c:1648:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~~~~ Subdb.c:1657:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~ Subdb.c:1657:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~~~~~ Subdb.c:1664:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1665:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'PH_Sublat_Polys': Subdb.c:1683:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(('1'I */ ^~ Subdb.c:1683:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(('1'I */ ^ Subdb.c:1694:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int e, z=0; for(e=0;eomitFIP) RelPts[N++]=_P->x[p]; ^~ Subdb.c: In function 'V_Sublat_Polys': Subdb.c:1739:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(N=0;Nx[V.v[N]]; ++x; ^~~ Subdb.c:1739:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(N=0;Nx[V.v[N]]; ++x; ^~ Subdb.c: In function 'Bin_2_ANF': Subdb.c:1823:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1823:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1874:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1874:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Init_DB': Subdb.c:136:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d, &DB->nV, &DB->nVmax, &DB->NUCmax, &list_num, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNF, &DB->nSM, &DB->nNM, &DB->NB, &sl_nNF, &sl_SM, &sl_NM, &sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:150:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:151:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:153:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:154:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:267:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FI,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d",&d,&i,&j,&nu,&Ili, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &FIi.nNF,&FIi.nSM,&FIi.nNM,&FIi.NB,&IslNF,&IslSM,&IslNM,&IslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:274:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:274:28: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:276:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:276:27: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Check_NF_Order': Subdb.c:512:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:523:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:523:30: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:526:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~ Subdb.c:526:35: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Reduce_Aux_File': Subdb.c:652:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FS,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%lld",&d,&i,&j,&nu,&Sli, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sNF,&FIs.nSM,&sNM,&FIs.NB,&SslNF,&SslSM,&SslNM,&SslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:656:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:656:31: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:658:16: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:658:36: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:953:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Open_DB': Subdb.c:1509:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->d,&DB->nV,&DB->nVmax,&DB->NUCmax,&DB->list_num, &DB->nNF,&DB->nSM, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNM, &DB->NB, &DB->sl_nNF, &DB->sl_SM, &DB->sl_NM, &DB->sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:29: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1520:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1521:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); } } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1836:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o cws.o cws.c cws.c: In function 'AddHalf': cws.c:411:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ cws.c:411:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ cws.c: In function 'Npoly2cws': cws.c:477:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~ cws.c:477:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~~~~~~ cws.c: In function 'weicomp': cws.c:509:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~ cws.c:509:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~~ cws.c: In function 'insertat': cws.c:515:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^~~ cws.c:515:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^ cws.c: In function 'Make_34_Weights': cws.c:663:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~ cws.c:663:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~~~~~~~~~~~ cws.c: In function 'T_Insertat': cws.c:805:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^~~ cws.c:805:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^ cws.c: In function 'Make_IP_CWS': cws.c:1451:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^~ cws.c:1451:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^ cws.c:1455:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1455:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1466:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^~ cws.c:1466:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^ cws.c: In function 'Conv': cws.c:1698:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^~ cws.c:1698:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^ cws.c: In function 'NP_use_lat': cws.c:1747:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~ cws.c:1747:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~~ cws.c: In function 'SimplexPointCount': cws.c:1778:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nn; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~ E_Poly.c:231:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j = 0; j < _P_AUX->n; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~~~~ In file included from Global.h:5:0, from E_Poly.c:1: E_Poly.c: In function 'AnalyseGorensteinCone': E_Poly.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E_D->ne = _V->nv); ^ E_Poly.c:1484:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E->ne = _V_D->nv); ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Nefpart.o Nefpart.c Nefpart.c: In function 'Select_Sv': Nefpart.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (_F->Test) ^~ Nefpart.c:712:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Select_Sv(S, _VF, _M, _G, _X, _Y, _MR, _FVl, step, _PTL, _F); ^~~~~~~~~ Nefpart.c:705:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mori.o mori.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o MoriCone.o MoriCone.c MoriCone.c: In function 'Choose': MoriCone.c:126:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[CC[c]]; sv=SimplexVolume(X,P->n); ^~~ MoriCone.c:161:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c=0;cx[CC[c]]; sv=SimplexVolume(X,P->n); ^~ MoriCone.c: In function 'OLD_LinRelLatticeBasis': MoriCone.c:186:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~ MoriCone.c:186:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~~~~~~ MoriCone.c:196:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~ MoriCone.c:196:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~~~~~~ MoriCone.c: In function 'MoriGen': MoriCone.c:222:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) ^~~ MoriCone.c:229:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%d ",V->v[i]); fprintf(outFILE,"#=%d\n",V->nv);} ^~~~~~~ MoriCone.c: In function 'Check_Mori': MoriCone.c:281:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:293:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:260:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,nv,np; Long Z[POLY_Dmax+1]; VertexNumList V; ^~~ MoriCone.c: In function 'Print_Mori': MoriCone.c:325:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:337:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:305:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'Triang_from_SR': MoriCone.c:391:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^~ MoriCone.c:391:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^ MoriCone.c: In function 'StanleyReisner': MoriCone.c:406:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j>d)j=d+1; while(i2999)binco=2999; ^~ MoriCone.c:406:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(j>d)j=d+1; while(i2999)binco=2999; ^~~~~ MoriCone.c:427:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:426:38: warning: this 'for' clause does not guard... [-Wmisleading-indentation] {for(i=0;in;i++) {int sum=0; for(j=0;jn;j++) ^~~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c: In function 'ConeAngle': MoriCone.c:487:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c:487:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c: In function 'SameRay': MoriCone.c:511:52: warning: this 'while' clause does not guard... [-Wmisleading-indentation] int SameRay(Long *X,Long *Y,int d){int x=0,y=000; while(d--) ^~~~~ MoriCone.c:515:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(x) return (x*y>0); else {puts("ZeroVectors in SameRay (forbidden)"); ^~ MoriCone.c: In function 'MakeVecPrim': MoriCone.c:539:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] void MakeVecPrim(Long *X){Long g=1;if(X[0]*X[1])g=Fgcd(X[0],X[1]); ~~~~^~~~~ MoriCone.c:540:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c:540:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c: In function 'Triang1dSFan': MoriCone.c:570:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^~~ MoriCone.c:570:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^ MoriCone.c:583:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:582:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(i>1){CT[*nmt]=X; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:585:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c:584:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(j>1){CT[*nmt]=X+i; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c: In function 'Triang3dSFan': MoriCone.c:687:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^~~ MoriCone.c:687:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^ MoriCone.c:722:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(XYZcone(BZR(Eli[a][0]),BZR(b),BZR(Eli[a][1]))>0)break;if(b0)break;if(b0)break;if(bnv,j, cp=_P->np-1,t=E->ne,d=_P->n, Dh0[VERT_Nmax], Dh2[VERT_Nmax]; ^~~ MoriCone.c: In function 'ReadInt': MoriCone.c:1419:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~ MoriCone.c:1419:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~~ MoriCone.c: In function 'Read_INCI': MoriCone.c:1426:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~ MoriCone.c:1426:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~~ MoriCone.c: In function 'Print_Mori_Old': MoriCone.c:1506:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~ MoriCone.c:1506:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~~~~~~~~ MoriCone.c:1509:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~ MoriCone.c:1509:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~~ MoriCone.c:1523:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:1535:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:1547:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1547:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1546:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in,p=P->np, ngen=0, pli[POLY_Dmax+1],ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'ComputeStanleyReisner': MoriCone.c:1579:24: warning: variable 'G' set but not used [-Wunused-but-set-variable] Inci64 *IV, *A, *B, *G[POLY_Dmax], *M, *N; ^ MoriCone.c: In function 'ReadInt': MoriCone.c:1418:24: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] ungetc(c,inFILE); fscanf(inFILE,"%d",&n); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o SingularInput.o SingularInput.c SingularInput.c: In function 'Read_HyperSurf': SingularInput.c:49:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, sizeof string, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SingularInput.c:58:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, maxline ,stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o SingularInput.o: In function `HyperSurfSingular': /builddir/build/BUILD/palp-2.1/SingularInput.c:85: warning: the use of `tmpnam' is dangerous, better use `mkstemp' + for file in poly class cws nef mori + mv poly.x bin/poly-6d.x + for file in poly class cws nef mori + mv class.x bin/class-6d.x + for file in poly class cws nef mori + mv cws.x bin/cws-6d.x + for file in poly class cws nef mori + mv nef.x bin/nef-6d.x + for file in poly class cws nef mori + mv mori.x bin/mori-6d.x + make cleanall rm -f *.o *.x core + for dim in 4 5 6 11 + echo Building PALP optimized for 11 dimensions Building PALP optimized for 11 dimensions + sed 's/^#define[^a-zA-Z]*POLY_Dmax.*/#define POLY_Dmax 11/' Global.h-template + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o poly.o poly.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Coord.o Coord.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Rat.o Rat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Vertex.o Vertex.c Coord.c: In function 'IsNextDigit': Coord.c:18:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(c=='0') return -1; if((c<'0') || ('9'nf[i]); puts(")]:"); ^~~ Vertex.c:80:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=M;i++)printf(" %d",_I->nf[i]); puts(")]:"); ^~~~ Coord.c: In function 'ReadCwsPp': Coord.c:136:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ poly.c: In function 'main': poly.c:144:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(s+i+I+m+p+v+e+d+t+S+N+T+PS+VS+CD+G+A+B+F+z==0) g=1; VH.sts=(lg==2); ^~ poly.c:144:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(s+i+I+m+p+v+e+d+t+S+N+T+PS+VS+CD+G+A+B+F+z==0) g=1; VH.sts=(lg==2); ^~ Coord.c:136:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Coord.c:143:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] { int tr=0; while('\n'!=fgetc(inFILE)); /* read to end of line */ ^~~~~ Coord.c:144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(IN[0]==IN[1]){ ^~ Coord.c:163:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:163:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ poly.c:214:19: warning: variable 'VPMSymNum' set but not used [-Wunused-but-set-variable] int SymNum, VPMSymNum; Long NF[POLY_Dmax][VERT_Nmax]; ^~~~~~~~~ poly.c:226:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<_P->n;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ poly.c:226:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<_P->n;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Coord.c:209:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:209:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Coord.c: In function 'Read_PP': Coord.c:228:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:228:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Coord.c:235:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] { int tr=0; while('\n'!=fgetc(inFILE)); /* read to end of line */ ^~~~~ Coord.c:236:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(IN[0]==IN[1]){ ^~ Coord.c:255:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:255:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Vertex.c: In function 'Vec_is_zero': Vertex.c:250:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(i--) if(X[i]) return 0; return 1; ^~~~~ Vertex.c:250:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(i--) if(X[i]) return 0; return 1; ^~~~~~ Coord.c:258:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:258:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Vertex.c: In function 'Vec_Equal': Vertex.c:254:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(i--) if(X[i]!=Y[i]) return 0; return 1; ^~~~~ Vertex.c:254:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(i--) if(X[i]!=Y[i]) return 0; return 1; ^~~~~~ Coord.c: In function 'Read_CWS': Coord.c:274:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ Coord.c:274:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ Rat.c: In function 'rS': Rat.c:26:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:26:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Rat.c: In function 'rD': Rat.c:35:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^~ Rat.c:35:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LONG in line above ... */ ^ Coord.c:323:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ Coord.c:323:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ Rat.c: In function 'Fgcd': Rat.c:81:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:81:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'NNgcd': Rat.c:86:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:86:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Vertex.c: In function 'New_Start_Vertex': Vertex.c:362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^~~ Vertex.c:362:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++) E.a[i]=Ea[i]; E.c=0; E.c=-Eval_Eq_on_V(&E,V0,P->n); ^ Coord.c: In function 'Orig_Solve_Next_WEq': Rat.c: In function 'REgcd': Coord.c:375:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Rat.c:108:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ Rat.c:108:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0; ix[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~ Coord.c:398:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)<_B->N)_B->x[i-1][i]=1; ^~~~~ Coord.c:401:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~ Coord.c:401:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][i]=1; while((++i)x[i-1][i]=1; ^~~~~ Rat.c: In function 'W_to_GLZ': Rat.c:133:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jv[_V->nv++]=y; /* x = dim(span) < d */ ^~ Vertex.c:413:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==r) break; _V->v[_V->nv++]=y; /* x = dim(span) < d */ ^~ Vertex.c:424:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:424:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Vertex.c:426:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=-Z[i]; E->c*=-1;} ^~~ Vertex.c:426:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=-Z[i]; E->c*=-1;} ^ Rat.c: In function 'LrS': Rat.c:189:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^~ Rat.c:189:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^ Vertex.c:433:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Rat.c: In function 'LrD': Vertex.c:433:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Rat.c:198:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^~ Rat.c:198:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(g < 0) g=-g; c.N/=g; c.D/=g; /* LLong in line above ... */ ^ Coord.c: In function 'Reduce_PPL_2_Sublat': Coord.c:466:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=*nm;in;i++) P->x[n][i]=X[i]; n++; ^~~ Coord.c:466:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=*nm;in;i++) P->x[n][i]=X[i]; n++; ^ In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:434:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[*d-1]],_P->n)); ^ Vertex.c:442:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^~~ Vertex.c:442:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)E->a[i]=Z[i]; E->c=-Eval_Eq_on_V(E,X,_P->n); ^ Rat.c: In function 'LFgcd': In file included from Global.h:5:0, from Vertex.c:1: Vertex.c:443:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(XX=Eval_Eq_on_V(E,_P->x[_V->v[x]],_P->n)); ^ Rat.c:244:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:244:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'LNNgcd': Rat.c:249:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~ Rat.c:249:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while( a %= b ) if ( !(b %= a) ) return a; return b; ^~~~~~ Rat.c: In function 'LREgcd': Rat.c:271:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; ix[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:160:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_PP': Coord.c:229:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ Coord.c:250:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[j][i]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c:252:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { int X; fscanf(inFILE,"%d",&X); _P->x[i][j]=X; } ^~~~~~~~~~~~~~~~~~~~~~ Coord.c: In function 'Read_CWS': Coord.c:275:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsNextDigit()) fscanf(inFILE,"%d",&IN[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Polynf.o Polynf.c Polynf.c: In function 'GL_W_to_GLZ': Polynf.c:134:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^~ Polynf.c:832:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(A->np==1+D) return Simp_Vol_Barycent(A,F,_B,_N); p=A->np-1; *_N=1; ^ In file included from Global.h:5:0, from Polynf.c:1: Polynf.c:835:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Find_Equations(A,V,E); assert(A->np=V->nv); for(e=0;en) (*N)=0; return vol; /* N=0 iff B=0 */ ^~ Polynf.c:879:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==P->n) (*N)=0; return vol; /* N=0 iff B=0 */ ^~~~~~ Polynf.c: In function 'SemiSimpleRoots': Polynf.c:886:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:885:54: warning: this 'for' clause does not guard... [-Wmisleading-indentation] int e,p,d=P->n,N=0; for(p=0;pnp;p++){ int z=0; for(e=0;ene;e++) ^~~ Polynf.c:886:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(0==Eval_Eq_on_V(&E->e[e],P->x[p],P->n))z++; if(z==1) R[N++]=P->x[p];} ^~ Polynf.c:887:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:887:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(N%2) return 0; if(N==0) return -1; ^~ Polynf.c:892:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c:892:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;} ^~ Polynf.c: In function 'VxV': Polynf.c:906:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(--d) z+=X[d]*Y[d]; return z;} ^~~~~ Polynf.c:906:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(--d) z+=X[d]*Y[d]; return z;} ^~~~~~ Polynf.c: In function 'V_to_GLZ': Polynf.c:914:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(j--) G.x[j][x]=G.x[j][i]; while(0n)sq=2;} ^~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1135:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1136:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[2][i]-X[1][i]-X[3][i])break;if(i==P->n)sq=2;} ^~ Polynf.c:1138:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1137:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(!sq){for(i=0;in;i++) ^~~ Polynf.c:1138:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(X[0][i]+X[3][i]-X[1][i]-X[2][i])break;if(i==P->n)sq=3;} ^~ Polynf.c:1151:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^~~ Polynf.c:1151:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<4;i++) S[nsq][i]=el[i]; i=V->nv; ^ Polynf.c: In function 'Einstein_Metric': Polynf.c:1214:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~ Polynf.c:1214:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!SimpUnimod(P,V,E,1)) continue; reg++; ^~~ Polynf.c:1228:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^~~ Polynf.c:1228:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; ^ Polynf.c:1239:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^~~ Polynf.c:1239:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inv;i++) kPM[j][i]=x*PM[j][i]; E->e[j].c=x; } ^ Polynf.c:1271:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1271:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(bcz) strcat(c," bary"); if(ssr) strcat(c," semisimple"); ^~ Polynf.c:1277:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~ Polynf.c:1277:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jnv;j++)printf("%2ld ",P->x[V->v[j]][i]);printf(" "); ^~~~~~ Polynf.c:1278:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jlines of GX */ ^~~ Polynf.c:1394:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(ix[i][j]=PM[s[i]][j];A->n=edim; ^~~ Polynf.c:1419:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=edim; ^ Polynf.c:1432:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^~~ Polynf.c:1463:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=d;A->np=p; ^ Polynf.c: In function 'All_CDn_Fibrations': Polynf.c:1477:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!PM[i][--j]) if(j==0) break; if(jx[i][j]=PM[s[i]][j];A->n=fdim; ^~~ Polynf.c:1481:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[i][j]=PM[s[i]][j];A->n=fdim; ^ Polynf.c: In function 'IP_Simplex_Fiber': Polynf.c:1543:33: warning: this 'for' clause does not guard... [-Wmisleading-indentation] F->nf=0; for(n=0;nW[i][j]);puts("");exit(0);}} ^~~ Polynf.c:1555:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[i][j]);puts("");exit(0);}} ^~~~ Polynf.c: In function 'IP_Simplex_Decomp': Polynf.c:1564:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nm[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^~~~~ LG.c:57:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((im[*nz]=10*WZ->m[*nz]+c[i++]-'0';j=0; ^ Polynf.c: In function 'Aux_IPS_Print_Poly': Polynf.c:1595:50: warning: this 'if' clause does not guard... [-Wmisleading-indentation] else { fprintf(outFILE," #=%d",nw); if(nw>np-_P->n) ^~ Polynf.c:1596:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n);fputs("\n",outFILE);} ^~~~~ Polynf.c: In function 'Print_Fiber_PolyData': Polynf.c:1609:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0; jn-w+1; ^~~ Polynf.c:1609:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0; jn-w+1; ^~ LG.c:86:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^~~ LG.c:86:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;kz[i][k]*WZ->B[k][j]; g=NNgcd(Za[j],g);} ^ LG.c:88:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(g==WZ->m[i]) continue; if(g>1) for(k=0;km[i]) continue; if(g>1) for(k=0;kA[k]-=X*WZ->B[k][0]; ^~~ Polynf.c:1629:52: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(p=0;pnv;p++)for(i=0;ix[V->v[p]][s]; F->x[p][i]=x;} ^ LG.c:105:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jrI[j]);puts(""); ^~~ LG.c:105:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jrI[j]);puts(""); ^~~~ LG.c:117:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;irI[i]) break; if(i make P0=0 */ ^~~ LG.c:117:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;irI[i]) break; if(i make P0=0 */ ^~ LG.c:134:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~~ LG.c:134:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jz[i][j]*WZ->A[j]; if(0==(A%=M)) continue; ^~ LG.c:145:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ LG.c:145:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ LG.c: In function 'Read_Weight': LG.c:191:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FilterFlag) inFILE=NULL; return 1; ^~ LG.c:191:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FilterFlag) inFILE=NULL; return 1; ^~~~~~ LG.c: In function 'TEST_LatticeBasis': LG.c:245:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(a=0;a<_B->N;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~ LG.c:245:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<_B->N;a++) printf(" %3d",(int) _B->x[p][a]); puts(""); ^~~~ Polynf.c: In function 'Print_Fibrations': Polynf.c:1707:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) C[i]='_'; for(i=0;inp-1;i++) ^~~ Polynf.c:1708:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp-1;i++) ^~~ LG.c: In function 'PrintPoCoLi': LG.c:445:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(co!=1) printf("%d ",co); printf("x^%d ",(int)P->e[i]); }} ^~ LG.c:445:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co!=1) printf("%d ",co); printf("x^%d ",(int)P->e[i]); }} ^~~~~~ Polynf.c: In function 'IP_Simplices': Polynf.c:1755:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1755:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V.v[i]>V.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1754:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;iV.v[j]) swap(&V.v[i],&V.v[j]); nv=V.v[V.nv-1]+1; ^~ Polynf.c:1790:48: warning: this 'if' clause does not guard... [-Wmisleading-indentation] fprintf(outFILE," #IP-simp=%d",F->nw); if(F->nw>np-_P->n) ^~ Polynf.c:1791:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(outFILE," > %d=#pts-dim",np-_P->n); fputs("\n",outFILE); ^~~~~ Polynf.c:1811:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(CD) free(F->P); free(F); return; ^~ Polynf.c:1811:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(CD) free(F->P); free(F); return; ^~~~ Polynf.c: In function 'AuxColGCD': Polynf.c:1830:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~ Polynf.c:1830:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(++l<*d) if((x=labs(GxP(G[l],X,d)))) g=(g) ? Fgcd(g,x) : x; return g; ^~~~~~ LG.c: In function 'Init_Multiloop': LG.c:571:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^~~ LG.c:571:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(*j=0;*j<*J;(*j)++)X*=N[*j]; *j=0; return X; /* return order=prod(N) */ ^ LG.c: In function 'Count_b01': LG.c:580:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ LG.c:580:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jm[j]; for(l=0;ld;l++) /* Z_d==GSO */ ^~~ Polynf.c: In function 'GL_Lattice_Basis': Polynf.c:1844:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(L=0;Lm[k]; R=kgV/W->d; ^~~ LG.c:619:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;km[k]; R=kgV/W->d; ^ Polynf.c: In function 'Print_QuotientZ': Polynf.c:1918:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*r;i++){for(j=0;j<*p;j++) ^~~ Polynf.c:1919:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr,"%5ld ",Z[i][j]); fprintf(stderr," /Z%ld\n",M[i]);} ^~~~~~~ LG.c: In function 'WIndex_HTrace': LG.c:657:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=N;i++) mask[i]=1<m[k]; R=kgV/W->d; ^~~ LG.c:659:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;km[k]; R=kgV/W->d; ^ Polynf.c:1929:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;k<*p;k++) g=NNgcd(g,Z[i][k]); if(g>1){M[i]/=g; ^~~ Polynf.c:1929:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<*p;k++) g=NNgcd(g,Z[i][k]); if(g>1){M[i]/=g; ^~ LG.c: In function 'Test_BottomUpQuot': LG.c:694:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i)return 1; printf("Num=");PrintPoCoLi(Num); ^~ LG.c:694:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i)return 1; printf("Num=");PrintPoCoLi(Num); ^~~~~~ LG.c: In function 'MakeMobius': LG.c:710:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;in=n=2*n+(X==i*i); /* #(Div(X)) */ ^~~ LG.c:710:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;in=n=2*n+(X==i*i); /* #(Div(X)) */ ^ Polynf.c: In function 'Aux_Mat_2_QuotientZ': Polynf.c:2023:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;im){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ Polynf.c:2057:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(s<0)s+=m; if(2*s>m){for(l=0;l<*p;l++)A[l]*=-1;s=m-s;} ^~ Polynf.c: In function 'GL_Lattice_Basis_QZ': Polynf.c:2115:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(l=C;lcM) cM=co; sum+=co; } ^~ LG.c:914:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(co>cM) cM=co; sum+=co; } ^~~ Polynf.c:2128:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j %ld /%ld\n", ^~~~~~~ Polynf.c:2132:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnw>1) ^~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(L[pi[j-1]]nw>1) ^~ Polynf.c:2165:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ii;j--) ^~~ Polynf.c:2166:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(L[pi[j-1]]nw>1) ^~ LG.c: In function 'Read_WZ_PP': LG.c:38:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",I); ^~~~~~~~~~~~~~~~~~~~~ LG.c:41:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsDigit(C)) fscanf(inFILE,"%d",&I[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~ Polynf.c: In function 'WZ_to_GLZ': Polynf.c:2192:62: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { fprintf(stderr,"\nError in WZ_to_GLZ (overflow?):\n");for(i=0;i<*d;i++) ^~~ Polynf.c:2193:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr,"%ld ",W[i]);fprintf(stderr,"=W nonzero=%d<%d\n",r,*d); ^~~~~~~ Polynf.c: In function 'Print_xxG': Polynf.c:2206:34: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int i,j; for(i=0;i<*d;i++) {for(j=0;j<*d;j++) ^~~ Polynf.c:2207:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%3ld ",G[i][j]); fprintf(outFILE,"%s\n",s);} ^~~~~~~ LG.c: In function 'Read_Weight': LG.c:182:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",I); ^~~~~~~~~~~~~~~~~~~~~ LG.c:185:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] if(IsDigit(c)) fscanf(inFILE,"%d",&I[i]); else break; ^~~~~~~~~~~~~~~~~~~~~~~~~ Polynf.c: In function 'VP_2_CWS': Polynf.c:2218:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(p[r]>p[R]) R=r; if(p[R]==p[r]) if(d[r]p[R]) R=r; if(p[R]==p[r]) if(d[r]W[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~~ Polynf.c:2220:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[0][j]=W[R][j]; CW->d[0]=d[R]; CW->nw=1; ^~ Polynf.c:2232:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=CW->nw;inw;iW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~~ Polynf.c:2233:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jW[CW->nw][j]=W[R][j];CW->d[CW->nw]=d[R]; ^~ Polynf.c: In function 'LatVol_IPs_degD': Polynf.c:2285:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~ Polynf.c:2285:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jn;j++)printf("%s%ld",j?",":"",vB[j]); printf(")/%ld\n",Z); ^~~~~~ Polynf.c:2294:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jnp;j++){ int i,cd=0; for(e=0;ene;e++) ^~~ Polynf.c:2296:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((cd==0)||(E->ne==P->n+1)) ^~ Polynf.c: In function 'Check_ANF_Form': Polynf.c:2332:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^~~ Polynf.c:2332:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=d;i++) if(VM[i][0]) break; c+=(i==d+1); /* 0 == VM[0] */ ^ Polynf.c:2333:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^~~ Polynf.c:2333:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<=d;i++) if(VM[i][1]) break; c+=(i==d+1); c+=(VM[0][1]==1); ^ Polynf.c: In function 'Make_ANF': Polynf.c:2361:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^~~ Polynf.c:2361:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;ix[V->v[i]][d]=1; P->n=d+1; V->nv++; ^ Polynf.c:2362:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^~~ Polynf.c:2362:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=d;j++) P->x[p][j]=0; P->np=p+1; V->v[v]=p; ^ Polynf.c:2364:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^~~ Polynf.c:2364:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;je[e].a[j]=0;E->e[e].a[d]=-1; E->e[e].c=1; E->ne++; ^ Polynf.c: In function 'EPrint_VL': Polynf.c:2380:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<_P->n;i++) { for(j=0;jnv;j++) ^~~ Polynf.c:2381:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(stderr," %3ld",_P->x[V->v[j]][i]);fprintf(stderr,"\n");}} ^~~~~~~ Polynf.c: In function 'Print_Facets': Polynf.c:2395:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in;i++){for(j=0;jn;i++){for(j=0;jne;e++) FI[e]=0; for(n=0;nne;e++) FI[e]=0; for(n=0;nd) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^~ Polynf.c:2491:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>d) return 0; p[i++]=n;} for(n=0;nx[p[n]]; ^ Polynf.c:2497:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if(sum || (m2*p2)) return 0; /* Batyrev :: inconsistent projection */ ~~~^~~~ Polynf.c:2511:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^~~ Polynf.c:2511:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(n=26;n<125-e;n++) s[n]=s[e+n-26]; s[n]=0; Print_PPL(P,s); outFILE=OF; ^ Polynf.c:2514:56: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c=0;cne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~ Polynf.c:2517:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(f=0;fne;f++)if((FI[f]&CI[c])==CI[c])printf(" F[%d]",f);puts("");} ^~~~ Polynf.c:2537:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2537:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ Polynf.c:2559:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~~~~ Polynf.c:2559:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(getNI(l,I)) l++; DP[k]=D[l]; if(TESTfano==1)printf("l=%d ",l); ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o class.o class.c class.c: In function 'main': class.c:280:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else printf("original lattices only\n"); break; ^~~~ class.c:280:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else printf("original lattices only\n"); break; ^~~~~ class.c:234:60: warning: variable 'x_string' set but not used [-Wunused-but-set-variable] char Blank=0, *dbin=&Blank, *dbsub=&Blank, *dbout=dbin, *x_string=&Blank, ^~~~~~~~ class.c: In function 'LocalPrintUsage': class.c:225:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&hc); ^~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subpoly.o Subpoly.c Subpoly.c: In function 'Start_Make_All_Subpolys': Subpoly.c:547:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&(KL.nk)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subpoly.c:550:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFILE,"%d",&j); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subadd.o Subadd.c Subadd.c: In function 'Init_FInfoList': Subadd.c:78:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~~ Subadd.c:78:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<=VERT_Nmax;i++) FI->nNUC[i]=0; FI->NFli=NULL; ^~ Subadd.c: In function 'Read_Honest_Poly': Subadd.c:209:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~ Subadd.c:209:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(FI->NFli != NULL) printf("WARNing: NFli != NULL"); fflush(stdout); ^~~~~~ Subadd.c: In function 'Read_Aux_File': Subadd.c:253:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:253:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,L->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Write_Bin_File': Subadd.c:353:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c:352:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int v_li=0; for(j=1;j<=NUCmax;j++) ^~~ Subadd.c:353:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if((NFnum[i][j]=L->Aux.NFnum[i][j]+AI.NFnum[i][j])) v_li++; li+=v_li; ^~ Subadd.c: In function 'Write_Aux_File': Subadd.c:423:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~ Subadd.c:423:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else strcpy(auxfn,S->oname); strcat(auxfn,SAVE_FILE_EXT); ^~~~~~ Subadd.c: In function 'Add_NF_to_List': Subadd.c:729:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:729:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:736:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:736:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:745:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:745:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'BminOff': Subadd.c:834:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~ Subadd.c:834:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*d;i++)for(j=i;j<*d;j++) if(V[i][j]!=(i==j))return 0; return 1; ^~~~~~ Subadd.c: In function 'AuxBase2nUC': Subadd.c:841:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^~~ Subadd.c:841:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nx-1;i++) BasePutInt(base,&m,&X); m--; BasePutInt(base,&m,&X); ^ Subadd.c: In function 'AuxVnf2ucNF': Subadd.c:929:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^~ Subadd.c:929:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(one) BasePutInt(base,off,&X); i=UNIT_OFF; BasePutInt(&i,ms,&X); ^ Subadd.c: In function 'UCnf2vNF': Subadd.c:937:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^~~ Subadd.c:937:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;i<*nuc/2;i++) X.x[i]=uc[2*i]+UCM*uc[2*i+1]; i=UNIT_OFF; ^ Subadd.c: In function 'VF_2_ucNF': Subadd.c:970:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:970:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(V->nvne) MS=1; if(V->nv>E->ne) MS=2; ^~ Subadd.c:1040:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1039:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS<2) for(i=0;i<*d;i++) ^~~ Subadd.c:1040:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=i;j<*NV;j++) err+=(tNF[i][j]!=V_NF[i][j]); if(err) err*=1000; ^~ Subadd.c:1041:28: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(MS-1) for(i=0;i<*d;i++)for(j=i;j<*NV;j++) ^~~ Subadd.c:1042:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' err+=(tNF[i][j]!=F_NF[i][j]); if(err) Err=1; ^~ Subadd.c: In function 'AuxPut_hNF': Subadd.c:1101:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^~~ Subadd.c:1101:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=pos--;i<*slNF;i++) SLp[i-1]=SLp[i]; (*slNF)--; (*slNB)-= *nu+2; ^ Subadd.c: In function 'Add_Polya_2_Polyi': Subadd.c:1138:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subadd.c:1140:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subadd.c:1152:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++a)0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->IP_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1340:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1340:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(_P->np>_L->Nmax) _L->Nmax=_P->np; if(_P->np<_L->Nmin) _L->Nmin=_P->np; ^~ Subadd.c:1349:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c:1349:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(incT>0) _L->NF_Time+=incT; _L->CLOCK=cpuT; ^~ Subadd.c: In function 'fgetUI': Subadd.c:175:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%c%c%c%c",&A,&B,&C,&D); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LG.c: In function 'Calc_VaHo': LG.c:908:34: warning: 'w[]' may be used uninitialized in this function [-Wmaybe-uninitialized] P->A=Z->A=COEFF_Nmax; R->A=w[N-1]+1; ~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Subdb.o Subdb.c Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:263:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~ Subdb.c:263:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*dbo==0)dbo=dbi; strcpy(Ofn,dbo); Ofx=&Ofn[strlen(dbo)]; ^~~~~~ Subdb.c:296:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] { if(!(AmI=vA-vI)) if(!(AmI=nuA-nuI)) ^~ Subdb.c:298:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AmI<0) /* put A */ ^~ Subdb.c:310:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((++s)=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:845:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i>=slNF) goto END_SL; uc = & (ucSL[SLp[i]]); ^~ Subdb.c:846:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~ Subdb.c:846:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((uc[0]!=v)||(uc[1]!=nu)) goto END_VN; break; ^~~~~ Subdb.c: In function 'Bin2a': Subdb.c:935:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:935:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:989:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:989:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Read_H_poly_from_DB': Subdb.c:1587:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~~ Subdb.c:1587:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;inp;i++)for(j=0;jn;j++)P->x[i][j]=NF[j][i]; MS%=4; ^~ Subdb.c: In function 'Aux_Print_CoverPoly': Subdb.c:1634:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~ Subdb.c:1634:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij);} puts(""); ^~~~~~ Subdb.c:1641:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1642:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'Aux_Print_SLpoly': Subdb.c:1648:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~ Subdb.c:1648:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=1;i<*d;i++) printf(" %ld",D[i]); printf(" #%d\n",*x); ^~~~~~ Subdb.c:1657:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~ Subdb.c:1657:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(0!=(Xij % D[i])) err=1; printf("%ld ",Xij/D[i]);} puts(""); ^~~~~~ Subdb.c:1664:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] printf(" G.P="); for(j=0;j<*N;j++) ^~~ Subdb.c:1665:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' printf("%2ld ",AuxGxP(G[i],X[j],d));puts("");} exit(0);} ^~~~ Subdb.c: In function 'PH_Sublat_Polys': Subdb.c:1683:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(('1'I */ ^~ Subdb.c:1683:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(('1'I */ ^ Subdb.c:1694:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { int e, z=0; for(e=0;eomitFIP) RelPts[N++]=_P->x[p]; ^~ Subdb.c: In function 'V_Sublat_Polys': Subdb.c:1739:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(N=0;Nx[V.v[N]]; ++x; ^~~ Subdb.c:1739:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(N=0;Nx[V.v[N]]; ++x; ^~ Subdb.c: In function 'Bin_2_ANF': Subdb.c:1823:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1823:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1874:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max) printf(" r-max=%d",mc); puts(""); ^~ Subdb.c:1874:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(max) printf(" r-max=%d",mc); puts(""); ^~~~ Subdb.c: In function 'Init_DB': Subdb.c:136:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d, &DB->nV, &DB->nVmax, &DB->NUCmax, &list_num, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNF, &DB->nSM, &DB->nNM, &DB->NB, &sl_nNF, &sl_SM, &sl_NM, &sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:150:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:151:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:153:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:154:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Add_Polya_2_DBi': Subdb.c:267:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FI,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d",&d,&i,&j,&nu,&Ili, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &FIi.nNF,&FIi.nSM,&FIi.nNM,&FIi.NB,&IslNF,&IslSM,&IslNM,&IslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:274:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:274:28: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&v); fscanf(FI,"%d",&j); FIi.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:276:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:276:27: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FI,"%d",&nu); fscanf(FI,"%d",&FIi.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Check_NF_Order': Subdb.c:512:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:523:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:523:30: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&v); fscanf(F,"%d",&j); L.nNUC[v]=j; ^~~~~~~~~~~~~~~~~ Subdb.c:526:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~ Subdb.c:526:35: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(F,"%d",&nu); fscanf(F,"%d",&L.NFnum[v][nu]); tln++; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Reduce_Aux_File': Subdb.c:652:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(FS,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%lld",&d,&i,&j,&nu,&Sli, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sNF,&FIs.nSM,&sNM,&FIs.NB,&SslNF,&SslSM,&SslNM,&SslNB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:656:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:656:31: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&v); fscanf(FS,"%d",&j); FIs.nNUC[v]=j; ^~~~~~~~~~~~~~~~~~ Subdb.c:658:16: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~ Subdb.c:658:36: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] { fscanf(FS,"%d",&nu);fscanf(FS,"%d",&FIs.NFnum[v][nu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin2aDBsl': Subdb.c:953:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Open_DB': Subdb.c:1509:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo, "%d %d %d %d %d %lld %d %lld %lld %d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->d,&DB->nV,&DB->nVmax,&DB->NUCmax,&DB->list_num, &DB->nNF,&DB->nSM, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DB->nNM, &DB->NB, &DB->sl_nNF, &DB->sl_SM, &DB->sl_NM, &DB->sl_NB); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1518:29: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d",&v); fscanf(DB->Finfo,"%d",&(DB->nNUC[v])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1520:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &nu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c:1521:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(DB->Finfo,"%d", &(DB->NFnum[v][nu])); } } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subdb.c: In function 'Bin_2_ANF_DBsl': Subdb.c:1836:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(F,"%d%d%d%d%d%lld%d%lld %lld %d%d%d%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &d,&i,&j,&nu,&list_num,&L.nNF,&L.nSM,&L.nNM,&L.NB, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &sl_nNF,&sl_SM,&sl_NM,&sl_NB); L.nV=i; L.nVmax=j; L.NUCmax=nu; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o cws.o cws.c cws.c: In function 'AddHalf': cws.c:411:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~ cws.c:411:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */ ^~~~~~ cws.c: In function 'Npoly2cws': cws.c:477:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~ cws.c:477:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IP_Check(P,&V,&E)) Die("Not IP!"); Sort_VL(&V); ^~~~~~~ cws.c: In function 'weicomp': cws.c:509:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~ cws.c:509:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((i)&&(w1.n[i]==w2.n[i])) i--; return w2.n[i]-w1.n[i]; ^~~~~~ cws.c: In function 'insertat': cws.c:515:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^~~ cws.c:515:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<=X->N;j++) X->wli[position].n[j]=ww.n[j]; X->wnum++; ^ cws.c: In function 'Make_34_Weights': cws.c:663:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~ cws.c:663:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Info++) puts(""); WRITE_Weight(&W); printf("%s",c);}} ^~~~~~~~~~~~ cws.c: In function 'T_Insertat': cws.c:805:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^~~ cws.c:805:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jwli[position][j]=ww[j]; X->wnum++; ^ cws.c: In function 'Make_IP_CWS': cws.c:1451:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^~ cws.c:1451:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); d = atoi(a); ^ cws.c:1455:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1455:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -n there must be a digit!"); nF = atoi(a); ^~ cws.c:1466:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^~ cws.c:1466:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((narg > n) && (fn[n][0] != '-')) Die("too many infiles!"); n--; t.nu=0; ^ cws.c: In function 'Conv': cws.c:1698:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^~ cws.c:1698:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!IsDigit(*a)) Die("after -c there must be a digit!"); x=atoi(a);} ^ cws.c: In function 'NP_use_lat': cws.c:1747:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~ cws.c:1747:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp; ^~~~~~ cws.c: In function 'SimplexPointCount': cws.c:1778:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(n=0;nn; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~ E_Poly.c:231:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j = 0; j < _P_AUX->n; j++) _P_AUX->x[_P_AUX->np][j] = 0; _P_AUX->np++; ^~~~~~ In file included from Global.h:5:0, from E_Poly.c:1: E_Poly.c: In function 'AnalyseGorensteinCone': E_Poly.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E_D->ne = _V->nv); ^ E_Poly.c:1484:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(_E->ne = _V_D->nv); ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o Nefpart.o Nefpart.c Nefpart.c: In function 'Select_Sv': Nefpart.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (_F->Test) ^~ Nefpart.c:712:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Select_Sv(S, _VF, _M, _G, _X, _Y, _MR, _FVl, step, _PTL, _F); ^~~~~~~~~ Nefpart.c:705:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mori.o mori.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o MoriCone.o MoriCone.c MoriCone.c: In function 'Choose': MoriCone.c:126:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;ix[CC[c]]; sv=SimplexVolume(X,P->n); ^~~ MoriCone.c:161:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c=0;cx[CC[c]]; sv=SimplexVolume(X,P->n); ^~ MoriCone.c: In function 'OLD_LinRelLatticeBasis': MoriCone.c:186:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~ MoriCone.c:186:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x) fprintf(SF,","); fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} ^~~~~~~ MoriCone.c:196:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~ MoriCone.c:196:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(x)fprintf(SF,",");fprintf(SF,"%s%d-%s%d",B,++x,D,y+1);} /* OFFSET */ ^~~~~~~ MoriCone.c: In function 'MoriGen': MoriCone.c:222:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;inv;i++) ^~~ MoriCone.c:229:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' fprintf(outFILE,"%d ",V->v[i]); fprintf(outFILE,"#=%d\n",V->nv);} ^~~~~~~ MoriCone.c: In function 'Check_Mori': MoriCone.c:281:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:293:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:260:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,nv,np; Long Z[POLY_Dmax+1]; VertexNumList V; ^~~ MoriCone.c: In function 'Print_Mori': MoriCone.c:325:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:337:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:305:30: warning: variable 'ng0' set but not used [-Wunused-but-set-variable] int i,j,r=0,d=P->n,ngen=0, ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'Triang_from_SR': MoriCone.c:391:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^~ MoriCone.c:391:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(binco++>2999)binco=2999; A = (Inci64*) malloc(2*binco*sizeof(Inci64)); ^ MoriCone.c: In function 'StanleyReisner': MoriCone.c:406:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j>d)j=d+1; while(i2999)binco=2999; ^~ MoriCone.c:406:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(j>d)j=d+1; while(i2999)binco=2999; ^~~~~ MoriCone.c:427:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c:426:38: warning: this 'for' clause does not guard... [-Wmisleading-indentation] {for(i=0;in;i++) {int sum=0; for(j=0;jn;j++) ^~~ MoriCone.c:427:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(TeST.I[i]==T->I[j]) sum++; if(sum!=1) break;} if(in) ok=0;} ^~ MoriCone.c: In function 'ConeAngle': MoriCone.c:487:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c:487:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X>0)return 1;if(X<0)return -1;return(AcuteAngle(L,R)>0)?0:-1;}// [pi,)->-1 ^~ MoriCone.c: In function 'SameRay': MoriCone.c:511:52: warning: this 'while' clause does not guard... [-Wmisleading-indentation] int SameRay(Long *X,Long *Y,int d){int x=0,y=000; while(d--) ^~~~~ MoriCone.c:515:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if(x) return (x*y>0); else {puts("ZeroVectors in SameRay (forbidden)"); ^~ MoriCone.c: In function 'MakeVecPrim': MoriCone.c:539:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] void MakeVecPrim(Long *X){Long g=1;if(X[0]*X[1])g=Fgcd(X[0],X[1]); ~~~~^~~~~ MoriCone.c:540:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c:540:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X[2])g=Fgcd(g,X[2]); if(g<0)g=-g; if(g>1){X[0]/=g;X[1]/=g;X[2]/=g;}} ^~ MoriCone.c: In function 'Triang1dSFan': MoriCone.c:570:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^~~ MoriCone.c:570:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[k++]=i;} assert(k==d+1); ^ MoriCone.c:583:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:582:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(i>1){CT[*nmt]=X; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:583:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]>0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=i; (*nmt)++;} ^~~ MoriCone.c:585:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c:584:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(j>1){CT[*nmt]=X+i; nt[*nmt]=0; for(k=0;k<=d;k++) ^~~ MoriCone.c:585:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(*B.x[k]<0) CT[*nmt][nt[*nmt]++]=CI-makeN(F[k]); tnt+=j; (*nmt)++;} ^~~ MoriCone.c: In function 'Triang3dSFan': MoriCone.c:687:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^~~ MoriCone.c:687:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;jx[i][j]; F[f++]=i;} GaleTransform(A,&B); ^ MoriCone.c:722:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(XYZcone(BZR(Eli[a][0]),BZR(b),BZR(Eli[a][1]))>0)break;if(b0)break;if(b0)break;if(bnv,j, cp=_P->np-1,t=E->ne,d=_P->n, Dh0[VERT_Nmax], Dh2[VERT_Nmax]; ^~~ MoriCone.c: In function 'ReadInt': MoriCone.c:1419:6: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~ MoriCone.c:1419:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n; ^~~~~~ MoriCone.c: In function 'Read_INCI': MoriCone.c:1426:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~ MoriCone.c:1426:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); ^~~~~~ MoriCone.c: In function 'Print_Mori_Old': MoriCone.c:1506:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~ MoriCone.c:1506:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(k=0;k<=d;k++) pli[k]=V.v[k]; INCI_2_VNL(I[i],&V,p); ^~~~~~~~~~ MoriCone.c:1509:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~ MoriCone.c:1509:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(a=0;a<=d;a++)printf("%d ",V.v[a]); puts("=Ij ... error"); ^~~~ MoriCone.c:1523:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(b=0;bn;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~~ MoriCone.c:1535:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0;in;i++)UT->x[UT->np][i]=0; UT->np++; Find_Equations(UT,&V,E); ^~ MoriCone.c:1547:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1547:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Inci64_LE(IE[i],IE[j])&&!Inci64_EQ(IE[i],IE[j])) break;if(j==nv) m[nm++]=i;} ^~ MoriCone.c:1546:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;in,p=P->np, ngen=0, pli[POLY_Dmax+1],ng0,e0=0,nm=0,nv,np; ^~~ MoriCone.c: In function 'ComputeStanleyReisner': MoriCone.c:1579:24: warning: variable 'G' set but not used [-Wunused-but-set-variable] Inci64 *IV, *A, *B, *G[POLY_Dmax], *M, *N; ^ MoriCone.c: In function 'ReadInt': MoriCone.c:1418:24: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] ungetc(c,inFILE); fscanf(inFILE,"%d",&n); ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o SingularInput.o SingularInput.c SingularInput.c: In function 'Read_HyperSurf': SingularInput.c:49:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, sizeof string, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SingularInput.c:58:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, maxline ,stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o SingularInput.o: In function `HyperSurfSingular': /builddir/build/BUILD/palp-2.1/SingularInput.c:85: warning: the use of `tmpnam' is dangerous, better use `mkstemp' + for file in poly class cws nef mori + mv poly.x bin/poly-11d.x + for file in poly class cws nef mori + mv class.x bin/class-11d.x + for file in poly class cws nef mori + mv cws.x bin/cws-11d.x + for file in poly class cws nef mori + mv nef.x bin/nef-11d.x + for file in poly class cws nef mori + mv mori.x bin/mori-11d.x + make cleanall rm -f *.o *.x core + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jJFa2t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64 + cd palp-2.1 + mkdir -p /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin + pushd bin ~/build/BUILD/palp-2.1/bin ~/build/BUILD/palp-2.1 + for exe in *.x + install -m 755 class-11d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/class-11d.x + for exe in *.x + install -m 755 class-4d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/class-4d.x + for exe in *.x + install -m 755 class-5d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/class-5d.x + for exe in *.x + install -m 755 class-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/class-6d.x + for exe in *.x + install -m 755 cws-11d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/cws-11d.x + for exe in *.x + install -m 755 cws-4d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/cws-4d.x + for exe in *.x + install -m 755 cws-5d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/cws-5d.x + for exe in *.x + install -m 755 cws-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/cws-6d.x + for exe in *.x + install -m 755 mori-11d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/mori-11d.x + for exe in *.x + install -m 755 mori-4d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/mori-4d.x + for exe in *.x + install -m 755 mori-5d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/mori-5d.x + for exe in *.x + install -m 755 mori-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/mori-6d.x + for exe in *.x + install -m 755 nef-11d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/nef-11d.x + for exe in *.x + install -m 755 nef-4d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/nef-4d.x + for exe in *.x + install -m 755 nef-5d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/nef-5d.x + for exe in *.x + install -m 755 nef-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/nef-6d.x + for exe in *.x + install -m 755 poly-11d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/poly-11d.x + for exe in *.x + install -m 755 poly-4d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/poly-4d.x + for exe in *.x + install -m 755 poly-5d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/poly-5d.x + for exe in *.x + install -m 755 poly-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/poly-6d.x + popd ~/build/BUILD/palp-2.1 + for file in poly class cws nef mori + ln -sf poly-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/poly.x + for file in poly class cws nef mori + ln -sf class-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/class.x + for file in poly class cws nef mori + ln -sf cws-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/cws.x + for file in poly class cws nef mori + ln -sf nef-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/nef.x + for file in poly class cws nef mori + ln -sf mori-6d.x /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/bin/mori.x + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: palp-2.1-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BjnKOV + umask 022 + cd /builddir/build/BUILD + cd palp-2.1 + DOCDIR=/builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/share/doc/palp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/share/doc/palp + cp -pr COPYING /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/share/doc/palp + cp -pr 1205.4147v1.pdf /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64/usr/share/doc/palp + exit 0 Provides: palp = 2.1-10.fc28 palp(riscv-64) = 2.1-10.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/palp-2.1-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/palp-2.1-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0UzoF7 + umask 022 + cd /builddir/build/BUILD + cd palp-2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/palp-2.1-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff