[HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 8.5859375 KB [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: patches/** [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK [HOOK - conan-center.py] pre_export(): [NO FINAL ENDLINE (KB-H041)] OK [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK [HOOK - conan-center.py] pre_export(): [NO ASCII CHARACTERS (KB-H047)] OK [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK Exporting package recipe f2c/20200425 exports: File 'conandata.yml' found. Exporting it... f2c/20200425 exports: Copied 1 '.yml' file: conandata.yml f2c/20200425 exports_sources: Copied 2 '.patch' files: 0002-libf2c-conan-flags.patch, 0001-f2c-conan-flags.patch [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20200425': [{'url': 'http://www.netlib.org/f2c/src.tgz', 'sha256': '75cea7d59ae2a704959132938d7e014f9c62602fce1ad1be996ac187ebf95c72'}, {'url': 'http://www.netlib.org/f2c/libf2c.zip', 'sha256': 'ca404070e9ce0a9aaa6a71fc7d5489d014ade952c5d6de7efb88de8e24f2e8e0'}]}, 'patches': {'20200425': [{'patch_file': 'patches/0001-f2c-conan-flags.patch', 'base_path': 'source_subfolder_f2c'}, {'patch_file': 'patches/0002-libf2c-conan-flags.patch', 'base_path': 'source_subfolder_libf2c'}]}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: patches: '20200425': - base_path: source_subfolder_f2c patch_file: patches/0001-f2c-conan-flags.patch - base_path: source_subfolder_libf2c patch_file: patches/0002-libf2c-conan-flags.patch sources: '20200425': - sha256: 75cea7d59ae2a704959132938d7e014f9c62602fce1ad1be996ac187ebf95c72 url: http://www.netlib.org/f2c/src.tgz - sha256: ca404070e9ce0a9aaa6a71fc7d5489d014ade952c5d6de7efb88de8e24f2e8e0 url: http://www.netlib.org/f2c/libf2c.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK [HOOK - conan-center.py] post_export(): [DEFAULT SHARED OPTION VALUE (KB-H050)] OK f2c/20200425: The stored package has not changed f2c/20200425: Using the exported files summary hash as the recipe revision: 2e38be511bbb8a0239e487b1e5370893 f2c/20200425: Exported revision: 2e38be511bbb8a0239e487b1e5370893 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=10.0 os=Macos os_build=Macos [options] f2c:shared=True [build_requires] [env] f2c/20200425: Forced build from source f2c/20200425 (test package): Installing package Requirements f2c/20200425 from local cache - Cache Packages f2c/20200425:974bce94b51b23bf926e402d8b4e4c47a005237e - Build Installing (downloading, building) binaries... f2c/20200425: Copying sources to build folder f2c/20200425: Building your package in /Users/jenkins/w/cci_PR-2877@4/2/fc881bdd-5e24-4cd5-8e90-9d056d8b2296/.conan/data/f2c/20200425/_/_/build/974bce94b51b23bf926e402d8b4e4c47a005237e f2c/20200425: Generator txt created conanbuildinfo.txt [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK f2c/20200425: Calling build() ----Running------ > DYLD_LIBRARY_PATH="" DYLD_FRAMEWORK_PATH="" make f2c -f makefile.u ----------------- cc -c -m64 -g main.c main.c:363:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = usedcasts[i]) { ~~^~~~~~~~~~~~~~ main.c:363:9: note: place parentheses around the assignment to silence this warning if (s = usedcasts[i]) { ^ ( ) main.c:363:9: note: use '==' to turn this assignment into an equality comparison if (s = usedcasts[i]) { ^ == main.c:419:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (at = e->arginfo) { ~~~^~~~~~~~~~~~ main.c:419:14: note: place parentheses around the assignment to silence this warning if (at = e->arginfo) { ^ ( ) main.c:419:14: note: use '==' to turn this assignment into an equality comparison if (at = e->arginfo) { ^ == main.c:434:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (e->extype) ^ main.c:471:29: warning: '&&' within '||' [-Wlogical-op-parentheses] && (s[3] || s[2] != '2' && s[2] != '4')) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~ main.c:471:29: note: place parentheses around the '&&' expression to silence this warning && (s[3] || s[2] != '2' && s[2] != '4')) ^ ( ) main.c:489:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(i = k = 0; s = ftn_files[k]; k++) { ~~^~~~~~~~~~~~~~ main.c:489:19: note: place parentheses around the assignment to silence this warning for(i = k = 0; s = ftn_files[k]; k++) { ^ ( ) main.c:489:19: note: use '==' to turn this assignment into an equality comparison for(i = k = 0; s = ftn_files[k]; k++) { ^ == main.c:653:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(k = yyparse()) ~~^~~~~~~~~~~ main.c:653:7: note: place parentheses around the assignment to silence this warning if(k = yyparse()) ^ ( ) main.c:653:7: note: use '==' to turn this assignment into an equality comparison if(k = yyparse()) ^ == main.c:747:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(fn, mode) ) ~~~^~~~~~~~~~~~~~~~~ main.c:747:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(fn, mode) ) ^ ( ) main.c:747:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(fn, mode) ) ^ == 7 warnings generated. cc -c -m64 -g init.c init.c:319:49: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(j = 0, s = "abcdefghijklmnopqrstuvwxyz"; i = *s++; j++) ~~^~~~~~ init.c:319:49: note: place parentheses around the assignment to silence this warning for(j = 0, s = "abcdefghijklmnopqrstuvwxyz"; i = *s++; j++) ^ ( ) init.c:319:49: note: use '==' to turn this assignment into an equality comparison for(j = 0, s = "abcdefghijklmnopqrstuvwxyz"; i = *s++; j++) ^ == init.c:364:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = hp->varp) ~~^~~~~~~~~~ init.c:364:8: note: place parentheses around the assignment to silence this warning if(p = hp->varp) ^ ( ) init.c:364:8: note: use '==' to turn this assignment into an equality comparison if(p = hp->varp) ^ == init.c:367:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(q = p->vdim) ~~^~~~~~~~~ init.c:367:9: note: place parentheses around the assignment to silence this warning if(q = p->vdim) ^ ( ) init.c:367:9: note: use '==' to turn this assignment into an equality comparison if(q = p->vdim) ^ == 3 warnings generated. cc -c -m64 -g gram.c gram.c:1312:42: warning: '&&' within '||' [-Wlogical-op-parentheses] && (np->vtype != TYCHAR || np->vdim && !pp->argsp)) ~~ ~~~~~~~~~^~~~~~~~~~~~~ gram.c:1312:42: note: place parentheses around the '&&' expression to silence this warning && (np->vtype != TYCHAR || np->vdim && !pp->argsp)) ^ ( ) gram.c:776:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] yyp = &yys[-1]; ^ ~~ gram.c:756:2: note: array 'yys' declared here struct ^ 2 warnings generated. cc -c -m64 -g lex.c lex.c:382:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(name, textread)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~ lex.c:382:12: note: place parentheses around the assignment to silence this warning if (fp = fopen(name, textread)) { ^ ( ) lex.c:382:12: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(name, textread)) { ^ == lex.c:484:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lastfile = infname) { ~~~~~~~~~^~~~~~~~~ lex.c:484:17: note: place parentheses around the assignment to silence this warning if (lastfile = infname) { ^ ( ) lex.c:484:17: note: use '==' to turn this assignment into an equality comparison if (lastfile = infname) { ^ == lex.c:488:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ lex.c:605:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ lex.c:1033:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (*p == '!') { ^ lex.c:1060:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (token = (char *)realloc(token, maxtoklen)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lex.c:1060:12: note: place parentheses around the assignment to silence this warning if (token = (char *)realloc(token, maxtoklen)) ^ ( ) lex.c:1060:12: note: use '==' to turn this assignment into an equality comparison if (token = (char *)realloc(token, maxtoklen)) ^ == lex.c:1198:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(*i == ',') expcom = 1; ^ lex.c:1275:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(isalpha_(* USC nextch)) ^ lex.c:1293:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pk = keystart[k]) ~~~^~~~~~~~~~~~~ lex.c:1293:8: note: place parentheses around the assignment to silence this warning if(pk = keystart[k]) ^ ( ) lex.c:1293:8: note: use '==' to turn this assignment into an equality comparison if(pk = keystart[k]) ^ == lex.c:1340:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(i = *s++) ~~^~~~~~ lex.c:1340:10: note: place parentheses around the assignment to silence this warning while(i = *s++) ^ ( ) lex.c:1340:10: note: use '==' to turn this assignment into an equality comparison while(i = *s++) ^ == lex.c:1343:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(i = *s++) ~~^~~~~~ lex.c:1343:10: note: place parentheses around the assignment to silence this warning while(i = *s++) ^ ( ) lex.c:1343:10: note: use '==' to turn this assignment into an equality comparison while(i = *s++) ^ == lex.c:1505:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(isdigit(nextch[1])) goto numconst; ^ lex.c:1582:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (nextch[1] == '#' && nextch < lastch ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ lex.c:1582:24: note: place parentheses around the '&&' expression to silence this warning if (nextch[1] == '#' && nextch < lastch ^ ( ) lex.c:1584:10: warning: '&&' within '||' [-Wlogical-op-parentheses] && lastch - nextch >= 2) { ^~~~~~~~~~~~~~~~~~~~~~~ lex.c:1584:10: note: place parentheses around the '&&' expression to silence this warning && lastch - nextch >= 2) { ^ ) 14 warnings generated. cc -c -m64 -g proc.c proc.c:140:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = xretslot[i]) ~~^~~~~~~~~~~~~ proc.c:140:9: note: place parentheses around the assignment to silence this warning if (a = xretslot[i]) ^ ( ) proc.c:140:9: note: use '==' to turn this assignment into an equality comparison if (a = xretslot[i]) ^ == proc.c:163:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(e = e->entnextp); ~~^~~~~~~~~~~~~ proc.c:163:11: note: place parentheses around the assignment to silence this warning while(e = e->entnextp); ^ ( ) proc.c:163:11: note: use '==' to turn this assignment into an equality comparison while(e = e->entnextp); ^ == proc.c:250:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (np = *a) ~~~^~~~ proc.c:250:11: note: place parentheses around the assignment to silence this warning if (np = *a) ^ ( ) proc.c:250:11: note: use '==' to turn this assignment into an equality comparison if (np = *a) ^ == proc.c:270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(e = e->entnextp); ~~^~~~~~~~~~~~~ proc.c:270:11: note: place parentheses around the assignment to silence this warning while(e = e->entnextp); ^ ( ) proc.c:270:11: note: use '==' to turn this assignment into an equality comparison while(e = e->entnextp); ^ == proc.c:287:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(e = e->entnextp) ~~^~~~~~~~~~~~~ proc.c:287:10: note: place parentheses around the assignment to silence this warning while(e = e->entnextp) ^ ( ) proc.c:287:10: note: use '==' to turn this assignment into an equality comparison while(e = e->entnextp) ^ == proc.c:322:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (at = ((Namep)cp->datap)->arginfo) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:322:10: note: place parentheses around the assignment to silence this warning if (at = ((Namep)cp->datap)->arginfo) ^ ( ) proc.c:322:10: note: use '==' to turn this assignment into an equality comparison if (at = ((Namep)cp->datap)->arginfo) ^ == proc.c:405:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ep = ep0 = (struct Entrypoint *)revchain((chainp)entries)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:405:9: note: place parentheses around the assignment to silence this warning if (ep = ep0 = (struct Entrypoint *)revchain((chainp)entries)) { ^ ( ) proc.c:405:9: note: use '==' to turn this assignment into an equality comparison if (ep = ep0 = (struct Entrypoint *)revchain((chainp)entries)) { ^ == proc.c:408:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ep = ep->entnextp); ~~~^~~~~~~~~~~~~~ proc.c:408:13: note: place parentheses around the assignment to silence this warning while(ep = ep->entnextp); ^ ( ) proc.c:408:13: note: use '==' to turn this assignment into an equality comparison while(ep = ep->entnextp); ^ == proc.c:697:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = p->dims[i].dimexpr) { ~~^~~~~~~~~~~~~~~~~~~~ proc.c:697:9: note: place parentheses around the assignment to silence this warning if (q = p->dims[i].dimexpr) { ^ ( ) proc.c:697:9: note: use '==' to turn this assignment into an equality comparison if (q = p->dims[i].dimexpr) { ^ == proc.c:702:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = p->basexpr) ~~^~~~~~~~~~~~ proc.c:702:8: note: place parentheses around the assignment to silence this warning if (q = p->basexpr) ^ ( ) proc.c:702:8: note: use '==' to turn this assignment into an equality comparison if (q = p->basexpr) ^ == proc.c:744:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if(procclass == CLMAIN && !ep->arglist || procclass == CLBLOCK) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ~~ proc.c:744:25: note: place parentheses around the '&&' expression to silence this warning if(procclass == CLMAIN && !ep->arglist || procclass == CLBLOCK) ^ ( ) proc.c:934:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(q = p->varp) ~~^~~~~~~~~ proc.c:934:8: note: place parentheses around the assignment to silence this warning if(q = p->varp) ^ ( ) proc.c:934:8: note: use '==' to turn this assignment into an equality comparison if(q = p->varp) ^ == proc.c:998:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else return(-1); ^ proc.c:1002:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else return(-1); ^ proc.c:1089:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(t = comvar->vdim) ~~^~~~~~~~~~~~~~ proc.c:1089:8: note: place parentheses around the assignment to silence this warning if(t = comvar->vdim) ^ ( ) proc.c:1089:8: note: use '==' to turn this assignment into an equality comparison if(t = comvar->vdim) ^ == proc.c:1092:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ proc.c:1205:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(p = p1) { ~~^~~~ proc.c:1205:10: note: place parentheses around the assignment to silence this warning while(p = p1) { ^ ( ) proc.c:1205:10: note: use '==' to turn this assignment into an equality comparison while(p = p1) { ^ == proc.c:1395:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(i = 0; c = *t = *s++; t++) ~~^~~~~~~~~~~ proc.c:1395:16: note: place parentheses around the assignment to silence this warning for(i = 0; c = *t = *s++; t++) ^ ( ) proc.c:1395:16: note: use '==' to turn this assignment into an equality comparison for(i = 0; c = *t = *s++; t++) ^ == proc.c:1480:4: warning: '&&' within '||' [-Wlogical-op-parentheses] && (v->vimpltype || v->vinftype || v->vinfproc)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1480:4: note: place parentheses around the '&&' expression to silence this warning && (v->vimpltype || v->vinftype || v->vinfproc)) ^ ) proc.c:1485:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (parstate >= INDATA) ^ proc.c:1520:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (parstate >= INDATA) ^ proc.c:1622:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(k = intrfunct(v->fvarname)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1622:7: note: place parentheses around the assignment to silence this warning if(k = intrfunct(v->fvarname)) { ^ ( ) proc.c:1622:7: note: use '==' to turn this assignment into an equality comparison if(k = intrfunct(v->fvarname)) { ^ == proc.c:1626:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 23 warnings generated. cc -c -m64 -g equiv.c equiv.c:167:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = q->eqvitem.eqvname) ~~~^~~~~~~~~~~~~~~~~~~~ equiv.c:167:10: note: place parentheses around the assignment to silence this warning if(np = q->eqvitem.eqvname) ^ ( ) equiv.c:167:10: note: use '==' to turn this assignment into an equality comparison if(np = q->eqvitem.eqvname) ^ == equiv.c:180:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ equiv.c:265:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = q->eqvitem.eqvname) ~~~^~~~~~~~~~~~~~~~~~~~ equiv.c:265:9: note: place parentheses around the assignment to silence this warning if(np = q->eqvitem.eqvname) ^ ( ) equiv.c:265:9: note: use '==' to turn this assignment into an equality comparison if(np = q->eqvitem.eqvname) ^ == 3 warnings generated. cc -c -m64 -g data.c data.c:401:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*t++ = *s++); ~~~~~^~~~~~ data.c:401:13: note: place parentheses around the assignment to silence this warning while(*t++ = *s++); ^ ( ) data.c:401:13: note: use '==' to turn this assignment into an equality comparison while(*t++ = *s++); ^ == 1 warning generated. cc -c -m64 -g format.c format.c:154:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (infile = fopen (p1_file, binread)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ format.c:154:13: note: place parentheses around the assignment to silence this warning if (infile = fopen (p1_file, binread)) { ^ ( ) format.c:154:13: note: use '==' to turn this assignment into an equality comparison if (infile = fopen (p1_file, binread)) { ^ == format.c:923:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (addrp->vtype = extsymtab[addrp->memno].extype) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format.c:923:19: note: place parentheses around the assignment to silence this warning if (addrp->vtype = extsymtab[addrp->memno].extype) ^ ( ) format.c:923:19: note: use '==' to turn this assignment into an equality comparison if (addrp->vtype = extsymtab[addrp->memno].extype) ^ == format.c:1073:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (arg = (Namep)args->datap) { ~~~~^~~~~~~~~~~~~~~~~~~~ format.c:1073:11: note: place parentheses around the assignment to silence this warning if (arg = (Namep)args->datap) { ^ ( ) format.c:1073:11: note: use '==' to turn this assignment into an equality comparison if (arg = (Namep)args->datap) { ^ == format.c:1092:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (arg = (Namep)args1->datap) ~~~~^~~~~~~~~~~~~~~~~~~~~ format.c:1092:12: note: place parentheses around the assignment to silence this warning if (arg = (Namep)args1->datap) ^ ( ) format.c:1092:12: note: use '==' to turn this assignment into an equality comparison if (arg = (Namep)args1->datap) ^ == format.c:1152:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (arg = (Namep)args->datap) { ~~~~^~~~~~~~~~~~~~~~~~~~ format.c:1152:11: note: place parentheses around the assignment to silence this warning if (arg = (Namep)args->datap) { ^ ( ) format.c:1152:11: note: use '==' to turn this assignment into an equality comparison if (arg = (Namep)args->datap) { ^ == format.c:1233:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (type == TYREAL && forcedouble && !Castargs) ^ format.c:1321:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(s = L->fields; f = *s; s++) { ~~^~~~ format.c:1321:24: note: place parentheses around the assignment to silence this warning for(s = L->fields; f = *s; s++) { ^ ( ) format.c:1321:24: note: use '==' to turn this assignment into an equality comparison for(s = L->fields; f = *s; s++) { ^ == format.c:1334:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(L = L->next); ~~^~~~~~~~~ format.c:1334:11: note: place parentheses around the assignment to silence this warning while(L = L->next); ^ ( ) format.c:1334:11: note: use '==' to turn this assignment into an equality comparison while(L = L->next); ^ == format.c:1367:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = cp->nextp); ~~~^~~~~~~~~~~ format.c:1367:12: note: place parentheses around the assignment to silence this warning while(cp = cp->nextp); ^ ( ) format.c:1367:12: note: use '==' to turn this assignment into an equality comparison while(cp = cp->nextp); ^ == format.c:1382:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*t++ = (c = *s++) >= 'a' && c <= 'z' ? c + 'A' - 'a' : c); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format.c:1382:13: note: place parentheses around the assignment to silence this warning while(*t++ = (c = *s++) >= 'a' && c <= 'z' ? c + 'A' - 'a' : c); ^ ( ) format.c:1382:13: note: use '==' to turn this assignment into an equality comparison while(*t++ = (c = *s++) >= 'a' && c <= 'z' ? c + 'A' - 'a' : c); ^ == format.c:1440:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dimp = v->vdim) { ~~~~~^~~~~~~~~ format.c:1440:12: note: place parentheses around the assignment to silence this warning if (dimp = v->vdim) { ^ ( ) format.c:1440:12: note: use '==' to turn this assignment into an equality comparison if (dimp = v->vdim) { ^ == format.c:1484:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(nmch = nmch->nextp); ~~~~~^~~~~~~~~~~~~ format.c:1484:14: note: place parentheses around the assignment to silence this warning while(nmch = nmch->nextp); ^ ( ) format.c:1484:14: note: use '==' to turn this assignment into an equality comparison while(nmch = nmch->nextp); ^ == format.c:1602:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] margin_printf(outfile, "]\n" + eb); ~~~~~~^~~~ format.c:1602:32: note: use array indexing to silence this warning margin_printf(outfile, "]\n" + eb); ^ & [ ] format.c:1675:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (this_var = arg->vlastdim) { ~~~~~~~~~^~~~~~~~~~~~~~~ format.c:1675:16: note: place parentheses around the assignment to silence this warning if (this_var = arg->vlastdim) { ^ ( ) format.c:1675:16: note: use '==' to turn this assignment into an equality comparison if (this_var = arg->vlastdim) { ^ == format.c:1687:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (Var = (Addrp)this_var->datap) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ format.c:1687:11: note: place parentheses around the assignment to silence this warning if (Var = (Addrp)this_var->datap) { ^ ( ) format.c:1687:11: note: use '==' to turn this assignment into an equality comparison if (Var = (Addrp)this_var->datap) { ^ == format.c:1699:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (this_var = nv[i]) { ~~~~~~~~~^~~~~~~ format.c:1699:16: note: place parentheses around the assignment to silence this warning if (this_var = nv[i]) { ^ ( ) format.c:1699:16: note: use '==' to turn this assignment into an equality comparison if (this_var = nv[i]) { ^ == format.c:1722:4: warning: '&&' within '||' [-Wlogical-op-parentheses] && multitype) ^~~~~~~~~~~~ format.c:1722:4: note: place parentheses around the '&&' expression to silence this warning && multitype) ^ ) format.c:1821:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ format.c:1889:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (Define = (Alias && def_equivs)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ format.c:1889:17: note: place parentheses around the assignment to silence this warning if (Define = (Alias && def_equivs)) { ^ ( ) format.c:1889:17: note: use '==' to turn this assignment into an equality comparison if (Define = (Alias && def_equivs)) { ^ == format.c:1955:7: warning: '&&' within '||' [-Wlogical-op-parentheses] && (!var->vleng || !ISICON (var -> vleng)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format.c:1955:7: note: place parentheses around the '&&' expression to silence this warning && (!var->vleng || !ISICON (var -> vleng)) ^ ) format.c:2480:18: warning: '&&' within '||' [-Wlogical-op-parentheses] || j == 200 && k >= 200) ~~ ~~~~~~~~~^~~~~~~~~~~ format.c:2480:18: note: place parentheses around the '&&' expression to silence this warning || j == 200 && k >= 200) ^ ( ) format.c:2488:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = cp->nextp); ~~~^~~~~~~~~~~ format.c:2488:14: note: place parentheses around the assignment to silence this warning while(cp = cp->nextp); ^ ( ) format.c:2488:14: note: use '==' to turn this assignment into an equality comparison while(cp = cp->nextp); ^ == 22 warnings generated. cc -c -m64 -g expr.c expr.c:347:36: warning: '&&' within '||' [-Wlogical-op-parentheses] else if( ISCONST(p) && pt!=TYADDR && pt != TYCHAR ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ expr.c:347:36: note: place parentheses around the '&&' expression to silence this warning else if( ISCONST(p) && pt!=TYADDR && pt != TYCHAR ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ expr.c:348:22: warning: '&&' within '||' [-Wlogical-op-parentheses] || p->tag == TADDR && p->addrblock.uname_tag == UNAM_CONST) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expr.c:348:22: note: place parentheses around the '&&' expression to silence this warning || p->tag == TADDR && p->addrblock.uname_tag == UNAM_CONST) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expr.c:353:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if (ISINT(t) && ISINT(pt) || ISREAL(t) && ISREAL(pt)) { ~~~~~~~~~^~~~~~~~~~~~ ~~ expr.c:353:16: note: place parentheses around the '&&' expression to silence this warning if (ISINT(t) && ISINT(pt) || ISREAL(t) && ISREAL(pt)) { ~~~~~~~~~^~~~~~~~~~~~ expr.c:353:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (ISINT(t) && ISINT(pt) || ISREAL(t) && ISREAL(pt)) { ~~ ~~~~~~~~~~^~~~~~~~~~~~~ expr.c:353:42: note: place parentheses around the '&&' expression to silence this warning if (ISINT(t) && ISINT(pt) || ISREAL(t) && ISREAL(pt)) { ~~~~~~~~~~^~~~~~~~~~~~~ expr.c:478:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pp = p->listblock.listp) ~~~^~~~~~~~~~~~~~~~~~~~ expr.c:478:9: note: place parentheses around the assignment to silence this warning if(pp = p->listblock.listp) ^ ( ) expr.c:478:9: note: use '==' to turn this assignment into an equality comparison if(pp = p->listblock.listp) ^ == expr.c:738:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(rp = p->rightp) ~~~^~~~~~~~~~~ expr.c:738:8: note: place parentheses around the assignment to silence this warning if(rp = p->rightp) ^ ( ) expr.c:738:8: note: use '==' to turn this assignment into an equality comparison if(rp = p->rightp) ^ == expr.c:796:43: warning: '&&' within '||' [-Wlogical-op-parentheses] || rtype == TYDREAL && ltype == TYREAL && !ISCONST(rp)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ expr.c:796:43: note: place parentheses around the '&&' expression to silence this warning || rtype == TYDREAL && ltype == TYREAL && !ISCONST(rp)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ expr.c:1358:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ expr.c:1454:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && (!ISCONST(np->vleng) ^~~~~~~~~~~~~~~~~~~~~~~ expr.c:1454:5: note: place parentheses around the '&&' expression to silence this warning && (!ISCONST(np->vleng) ^ expr.c:1678:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ expr.c:1957:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(t = v->vdim) ~~^~~~~~~~~ expr.c:1957:8: note: place parentheses around the assignment to silence this warning if(t = v->vdim) ^ ( ) expr.c:1957:8: note: use '==' to turn this assignment into an equality comparison if(t = v->vdim) ^ == expr.c:1959:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ expr.c:2198:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (opcode == OPSTAR || ISICON(rp) && ~~ ~~~~~~~~~~~^~ expr.c:2198:39: note: place parentheses around the '&&' expression to silence this warning if (opcode == OPSTAR || ISICON(rp) && ~~~~~~~~~~~^~ expr.c:2514:23: warning: '&&' within '||' [-Wlogical-op-parentheses] && (lt == TYCHAR && ISNUMERIC(rt) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ expr.c:2514:23: note: place parentheses around the '&&' expression to silence this warning && (lt == TYCHAR && ISNUMERIC(rt) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ expr.c:2515:23: warning: '&&' within '||' [-Wlogical-op-parentheses] || rt == TYCHAR && ISNUMERIC(lt))) ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ expr.c:2515:23: note: place parentheses around the '&&' expression to silence this warning || rt == TYCHAR && ISNUMERIC(lt))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ expr.c:2551:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (ISLOGICAL(lt) && ISLOGICAL(rt) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ expr.c:2551:21: note: place parentheses around the '&&' expression to silence this warning if (ISLOGICAL(lt) && ISLOGICAL(rt) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ expr.c:2552:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || ISINT(lt) && rt == TYCHAR) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~ expr.c:2552:17: note: place parentheses around the '&&' expression to silence this warning || ISINT(lt) && rt == TYCHAR) ~~~~~~~~~~^~~~~~~~~~~~~~~ expr.c:2908:35: warning: '&&' within '||' [-Wlogical-op-parentheses] || rp->constblock.Const.ci < 0 && zeroconst(lp)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ expr.c:2908:35: note: place parentheses around the '&&' expression to silence this warning || rp->constblock.Const.ci < 0 && zeroconst(lp)) ^ ( ) 18 warnings generated. cc -c -m64 -g exec.c exec.c:692:15: warning: '&&' within '||' [-Wlogical-op-parentheses] || here >= 0 && (!thislabel || thislabel->labelno != here)) { ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:692:15: note: place parentheses around the '&&' expression to silence this warning || here >= 0 && (!thislabel || thislabel->labelno != here)) { ^ ( ) exec.c:698:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (np1 = ctlstack->loopname) ~~~~^~~~~~~~~~~~~~~~~~~~ exec.c:698:11: note: place parentheses around the assignment to silence this warning if (np1 = ctlstack->loopname) ^ ( ) exec.c:698:11: note: use '==' to turn this assignment into an equality comparison if (np1 = ctlstack->loopname) ^ == exec.c:730:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = ctlstack->donamep) ~~~^~~~~~~~~~~~~~~~~~~ exec.c:730:9: note: place parentheses around the assignment to silence this warning if(np = ctlstack->donamep) ^ ( ) exec.c:730:9: note: use '==' to turn this assignment into an equality comparison if(np = ctlstack->donamep) ^ == exec.c:737:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = memversion(np)) ~~~^~~~~~~~~~~~~~~~ exec.c:737:10: note: place parentheses around the assignment to silence this warning if(ap = memversion(np)) ^ ( ) exec.c:737:10: note: use '==' to turn this assignment into an equality comparison if(ap = memversion(np)) ^ == exec.c:745:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = ctlstack->dostep) ~~^~~~~~~~~~~~~~~~~~ exec.c:745:10: note: place parentheses around the assignment to silence this warning if (e = ctlstack->dostep) ^ ( ) exec.c:745:10: note: use '==' to turn this assignment into an equality comparison if (e = ctlstack->dostep) ^ == exec.c:748:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ exec.c:750:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = ctlstack->domax) ~~^~~~~~~~~~~~~~~~~ exec.c:750:10: note: place parentheses around the assignment to silence this warning if (e = ctlstack->domax) ^ ( ) exec.c:750:10: note: use '==' to turn this assignment into an equality comparison if (e = ctlstack->domax) ^ == exec.c:753:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ exec.c:755:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = ctlstack->doinit) ~~^~~~~~~~~~~~~~~~~~ exec.c:755:10: note: place parentheses around the assignment to silence this warning if (e = ctlstack->doinit) ^ ( ) exec.c:755:10: note: use '==' to turn this assignment into an equality comparison if (e = ctlstack->doinit) ^ == 9 warnings generated. cc -c -m64 -g intr.c intr.c:520:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = cp->nextp) { ~~~^~~~~~~~~~~ intr.c:520:12: note: place parentheses around the assignment to silence this warning while(cp = cp->nextp) { ^ ( ) intr.c:520:12: note: use '==' to turn this assignment into an equality comparison while(cp = cp->nextp) { ^ == intr.c:542:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = cp->nextp) { ~~~^~~~~~~~~~~ intr.c:542:13: note: place parentheses around the assignment to silence this warning while(cp = cp->nextp) { ^ ( ) intr.c:542:13: note: use '==' to turn this assignment into an equality comparison while(cp = cp->nextp) { ^ == intr.c:550:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = cp->nextp) { ~~~^~~~~~~~~~~ intr.c:550:13: note: place parentheses around the assignment to silence this warning while(cp = cp->nextp) { ^ ( ) intr.c:550:13: note: use '==' to turn this assignment into an equality comparison while(cp = cp->nextp) { ^ == intr.c:567:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = cp->nextp) { ~~~^~~~~~~~~~~ intr.c:567:12: note: place parentheses around the assignment to silence this warning while(cp = cp->nextp) { ^ ( ) intr.c:567:12: note: use '==' to turn this assignment into an equality comparison while(cp = cp->nextp) { ^ == intr.c:832:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else err66("generic function"); ^ intr.c:869:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(q = Inline((int)(sp-spectab), mtype, argsp->listp)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intr.c:869:8: note: place parentheses around the assignment to silence this warning if(q = Inline((int)(sp-spectab), mtype, argsp->listp)) ^ ( ) intr.c:869:8: note: use '==' to turn this assignment into an equality comparison if(q = Inline((int)(sp-spectab), mtype, argsp->listp)) ^ == intr.c:944:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = p->intrval.extflag) { ~~^~~~~~~~~~~~~~~~~~~~ intr.c:944:10: note: place parentheses around the assignment to silence this warning if (i = p->intrval.extflag) { ^ ( ) intr.c:944:10: note: use '==' to turn this assignment into an equality comparison if (i = p->intrval.extflag) { ^ == intr.c:1028:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 8 warnings generated. cc -c -m64 -g io.c io.c:437:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(IOSEND)) ~~^~~~~~~~~~~ io.c:437:7: note: place parentheses around the assignment to silence this warning if(p = V(IOSEND)) ^ ( ) io.c:437:7: note: use '==' to turn this assignment into an equality comparison if(p = V(IOSEND)) ^ == io.c:440:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ io.c:443:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(IOSERR)) ~~^~~~~~~~~~~ io.c:443:7: note: place parentheses around the assignment to silence this warning if(p = V(IOSERR)) ^ ( ) io.c:443:7: note: use '==' to turn this assignment into an equality comparison if(p = V(IOSERR)) ^ == io.c:446:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ io.c:554:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ io.c:954:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(IOSUNIT)) ~~^~~~~~~~~~~~ io.c:954:7: note: place parentheses around the assignment to silence this warning if(p = V(IOSUNIT)) ^ ( ) io.c:954:7: note: use '==' to turn this assignment into an equality comparison if(p = V(IOSUNIT)) ^ == io.c:974:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nump = np->vdim->nelt) ~~~~~^~~~~~~~~~~~~~~~ io.c:974:13: note: place parentheses around the assignment to silence this warning if(nump = np->vdim->nelt) ^ ( ) io.c:974:13: note: use '==' to turn this assignment into an equality comparison if(nump = np->vdim->nelt) ^ == io.c:1009:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(IOSREC)) ~~^~~~~~~~~~~ io.c:1009:7: note: place parentheses around the assignment to silence this warning if(p = V(IOSREC)) ^ ( ) io.c:1009:7: note: use '==' to turn this assignment into an equality comparison if(p = V(IOSREC)) ^ == io.c:1025:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(IOSFMT)) ~~^~~~~~~~~~~ io.c:1025:7: note: place parentheses around the assignment to silence this warning if(p = V(IOSFMT)) ^ ( ) io.c:1025:7: note: use '==' to turn this assignment into an equality comparison if(p = V(IOSFMT)) ^ == io.c:1059:22: warning: '&&' within '||' [-Wlogical-op-parentheses] || p->tag == TADDR && ISINT(p->addrblock.vtype)) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1059:22: note: place parentheses around the '&&' expression to silence this warning || p->tag == TADDR && ISINT(p->addrblock.vtype)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1198:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ io.c:1203:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(IOSRECL)) ~~^~~~~~~~~~~~ io.c:1203:7: note: place parentheses around the assignment to silence this warning if(p = V(IOSRECL)) ^ ( ) io.c:1203:7: note: use '==' to turn this assignment into an equality comparison if(p = V(IOSRECL)) ^ == io.c:1240:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(IOSUNIT)) ~~^~~~~~~~~~~~ io.c:1240:7: note: place parentheses around the assignment to silence this warning if(p = V(IOSUNIT)) ^ ( ) io.c:1240:7: note: use '==' to turn this assignment into an equality comparison if(p = V(IOSUNIT)) ^ == io.c:1480:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = V(i)) ~~^~~~~~ io.c:1480:7: note: place parentheses around the assignment to silence this warning if(p = V(i)) ^ ( ) io.c:1480:7: note: use '==' to turn this assignment into an equality comparison if(p = V(i)) ^ == 14 warnings generated. cc -c -m64 -g misc.c misc.c:267:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(p = next) { ~~^~~~~~ misc.c:267:10: note: place parentheses around the assignment to silence this warning while(p = next) { ^ ( ) misc.c:267:10: note: use '==' to turn this assignment into an equality comparison while(p = next) { ^ == misc.c:292:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *s++) ~~^~~~~~ misc.c:292:10: note: place parentheses around the assignment to silence this warning while(c = *s++) ^ ( ) misc.c:292:10: note: use '==' to turn this assignment into an equality comparison while(c = *s++) ^ == misc.c:428:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *s++) { ~~^~~~~~ misc.c:428:10: note: place parentheses around the assignment to silence this warning while(c = *s++) { ^ ( ) misc.c:428:10: note: use '==' to turn this assignment into an equality comparison while(c = *s++) { ^ == misc.c:441:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(q = hp->varp) ~~^~~~~~~~~~ misc.c:441:10: note: place parentheses around the assignment to silence this warning while(q = hp->varp) ^ ( ) misc.c:441:10: note: use '==' to turn this assignment into an equality comparison while(q = hp->varp) ^ == misc.c:462:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*t = *s++) ~~~^~~~~~ misc.c:462:11: note: place parentheses around the assignment to silence this warning while(*t = *s++) ^ ( ) misc.c:462:11: note: use '==' to turn this assignment into an equality comparison while(*t = *s++) ^ == misc.c:524:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lp = mklabel(stateno)) ~~~^~~~~~~~~~~~~~~~~~ misc.c:524:8: note: place parentheses around the assignment to silence this warning if(lp = mklabel(stateno)) ^ ( ) misc.c:524:8: note: use '==' to turn this assignment into an equality comparison if(lp = mklabel(stateno)) ^ == misc.c:702:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = *p) { ~~^~~~ misc.c:702:8: note: place parentheses around the assignment to silence this warning if (q = *p) { ^ ( ) misc.c:702:8: note: use '==' to turn this assignment into an equality comparison if (q = *p) { ^ == misc.c:1313:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d1 = v1->vdim) { ~~~^~~~~~~~~~ misc.c:1313:9: note: place parentheses around the assignment to silence this warning if (d1 = v1->vdim) { ^ ( ) misc.c:1313:9: note: use '==' to turn this assignment into an equality comparison if (d1 = v1->vdim) { ^ == 8 warnings generated. cc -c -m64 -g error.c cc -c -m64 -g mem.c mem.c:264:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = define_list) { ~~^~~~~~~~~~~~~ mem.c:264:8: note: place parentheses around the assignment to silence this warning if (d = define_list) { ^ ( ) mem.c:264:8: note: use '==' to turn this assignment into an equality comparison if (d = define_list) { ^ == mem.c:269:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(d = d->next); ~~^~~~~~~~~ mem.c:269:12: note: place parentheses around the assignment to silence this warning while(d = d->next); ^ ( ) mem.c:269:12: note: use '==' to turn this assignment into an equality comparison while(d = d->next); ^ == 2 warnings generated. cc -c -m64 -g names.c names.c:368:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (y = x % hsize) ~~^~~~~~~~~~~ names.c:368:9: note: place parentheses around the assignment to silence this warning if (y = x % hsize) ^ ( ) names.c:368:9: note: use '==' to turn this assignment into an equality comparison if (y = x % hsize) ^ == 1 warning generated. cc -c -m64 -g output.c output.c:642:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((addrp->uname_tag == UNAM_NAME && addrp->user.name->vdim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ output.c:642:40: note: place parentheses around the '&&' expression to silence this warning if ((addrp->uname_tag == UNAM_NAME && addrp->user.name->vdim ^ ( ) output.c:681:4: warning: '&&' within '||' [-Wlogical-op-parentheses] && addrp->user.name->vprocclass == PTHISPROC) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.c:681:4: note: place parentheses around the '&&' expression to silence this warning && addrp->user.name->vprocclass == PTHISPROC) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.c:1331:4: warning: '&&' within '||' [-Wlogical-op-parentheses] && (ONEOF(q->addrblock.vstg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.c:1331:4: note: place parentheses around the '&&' expression to silence this warning && (ONEOF(q->addrblock.vstg, ^ output.c:1338:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && !q->addrblock.isarray)) ^~~~~~~~~~~~~~~~~~~~~~~~ output.c:1338:5: note: place parentheses around the '&&' expression to silence this warning && !q->addrblock.isarray)) ^~~~~~~~~~~~~~~~~~~~~~~~ output.c:1326:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ output.c:1695:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && index->exprblock.opcode == OPWHATSIN) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.c:1695:5: note: place parentheses around the '&&' expression to silence this warning && index->exprblock.opcode == OPWHATSIN) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. cc -c -m64 -g p1output.c p1output.c:70:24: warning: '&&' within '||' [-Wlogical-op-parentheses] || pointer > ustr && pointer[-1] == '/')) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p1output.c:70:24: note: place parentheses around the '&&' expression to silence this warning || pointer > ustr && pointer[-1] == '/')) ^ ( ) p1output.c:260:42: warning: '&&' within '||' [-Wlogical-op-parentheses] || ONEOF(stg, M(STGCOMMON)|M(STGEQUIV)) && ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ p1output.c:260:42: note: place parentheses around the '&&' expression to silence this warning || ONEOF(stg, M(STGCOMMON)|M(STGEQUIV)) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ p1output.c:266:59: warning: '&&' within '||' [-Wlogical-op-parentheses] || ONEOF(stg, M(STGBSS)|M(STGINIT)|M(STGAUTO)|M(STGARG)) && ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ p1output.c:266:59: note: place parentheses around the '&&' expression to silence this warning || ONEOF(stg, M(STGBSS)|M(STGINIT)|M(STGAUTO)|M(STGARG)) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 3 warnings generated. cc -c -m64 -g pread.c pread.c:254:29: warning: '&&' within '||' [-Wlogical-op-parentheses] || type != TYFTNLEN + 100 && type % 100 > TYSUBR) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pread.c:254:29: note: place parentheses around the '&&' expression to silence this warning || type != TYFTNLEN + 100 && type % 100 > TYSUBR) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pread.c:897:43: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(s = "abcdefghijklmnopqrstuvwxyz"; i = *s; s++) ~~^~~~ pread.c:897:43: note: place parentheses around the assignment to silence this warning for(s = "abcdefghijklmnopqrstuvwxyz"; i = *s; s++) ^ ( ) pread.c:897:43: note: use '==' to turn this assignment into an equality comparison for(s = "abcdefghijklmnopqrstuvwxyz"; i = *s; s++) ^ == pread.c:907:30: warning: '&&' within '||' [-Wlogical-op-parentheses] || !strcmp(Ptok, "extern") && (i = Ptoken(pf,0)) != P_anum) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pread.c:907:30: note: place parentheses around the '&&' expression to silence this warning || !strcmp(Ptok, "extern") && (i = Ptoken(pf,0)) != P_anum) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pread.c:918:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(i = Ptype(pf)) { ~~^~~~~~~~~~~ pread.c:918:11: note: place parentheses around the assignment to silence this warning while(i = Ptype(pf)) { ^ ( ) pread.c:918:11: note: use '==' to turn this assignment into an equality comparison while(i = Ptype(pf)) { ^ == pread.c:960:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(s = *ffiles++) ~~^~~~~~~~~~~ pread.c:960:10: note: place parentheses around the assignment to silence this warning while(s = *ffiles++) ^ ( ) pread.c:960:10: note: use '==' to turn this assignment into an equality comparison while(s = *ffiles++) ^ == 5 warnings generated. cc -c -m64 -g put.c put.c:386:9: warning: '&&' within '||' [-Wlogical-op-parentheses] && !strcmp(ds[1], litp->cds[1]))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ put.c:386:9: note: place parentheses around the '&&' expression to silence this warning && !strcmp(ds[1], litp->cds[1]))) { ^ ) 1 warning generated. cc -c -m64 -g putpcc.c putpcc.c:107:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*ei_next++ = ftell(pass1_file) > p1_where) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ putpcc.c:107:19: note: place parentheses around the assignment to silence this warning if (*ei_next++ = ftell(pass1_file) > p1_where) { ^ ( ) putpcc.c:107:19: note: use '==' to turn this assignment into an equality comparison if (*ei_next++ = ftell(pass1_file) > p1_where) { ^ == putpcc.c:686:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = resp->memoffset) { ~~^~~~~~~~~~~~~~~~~ putpcc.c:686:9: note: place parentheses around the assignment to silence this warning if (q = resp->memoffset) { ^ ( ) putpcc.c:686:9: note: use '==' to turn this assignment into an equality comparison if (q = resp->memoffset) { ^ == putpcc.c:760:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lp = putcx1(p->exprblock.leftp) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ putpcc.c:760:8: note: place parentheses around the assignment to silence this warning if(lp = putcx1(p->exprblock.leftp) ) ^ ( ) putpcc.c:760:8: note: use '==' to turn this assignment into an equality comparison if(lp = putcx1(p->exprblock.leftp) ) ^ == putpcc.c:762:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(rp = putcx1(p->exprblock.rightp) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ putpcc.c:762:8: note: place parentheses around the assignment to silence this warning if(rp = putcx1(p->exprblock.rightp) ) ^ ( ) putpcc.c:762:8: note: use '==' to turn this assignment into an equality comparison if(rp = putcx1(p->exprblock.rightp) ) ^ == putpcc.c:1202:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ putpcc.c:1450:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (at = *at0) { ~~~^~~~~~ putpcc.c:1450:9: note: place parentheses around the assignment to silence this warning if (at = *at0) { ^ ( ) putpcc.c:1450:9: note: use '==' to turn this assignment into an equality comparison if (at = *at0) { ^ == putpcc.c:1751:4: warning: '&&' within '||' [-Wlogical-op-parentheses] && q->addrblock.user.name->vprocclass == PTHISPROC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ putpcc.c:1751:4: note: place parentheses around the '&&' expression to silence this warning && q->addrblock.user.name->vprocclass == PTHISPROC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ putpcc.c:1932:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (dstg = c1->vstg) ~~~~~^~~~~~~~~~ putpcc.c:1932:17: note: place parentheses around the assignment to silence this warning else if (dstg = c1->vstg) ^ ( ) putpcc.c:1932:17: note: use '==' to turn this assignment into an equality comparison else if (dstg = c1->vstg) ^ == putpcc.c:1936:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(p = p->nextp) { ~~^~~~~~~~~~ putpcc.c:1936:11: note: place parentheses around the assignment to silence this warning while(p = p->nextp) { ^ ( ) putpcc.c:1936:11: note: use '==' to turn this assignment into an equality comparison while(p = p->nextp) { ^ == putpcc.c:1941:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (d1stg = c1->vstg) ~~~~~~^~~~~~~~~~ putpcc.c:1941:19: note: place parentheses around the assignment to silence this warning else if (d1stg = c1->vstg) ^ ( ) putpcc.c:1941:19: note: use '==' to turn this assignment into an equality comparison else if (d1stg = c1->vstg) ^ == putpcc.c:1956:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c->vstg = dstg) ~~~~~~~~^~~~~~ putpcc.c:1956:15: note: place parentheses around the assignment to silence this warning if (c->vstg = dstg) ^ ( ) putpcc.c:1956:15: note: use '==' to turn this assignment into an equality comparison if (c->vstg = dstg) ^ == putpcc.c:1963:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(p = p->nextp) { ~~^~~~~~~~~~ putpcc.c:1963:11: note: place parentheses around the assignment to silence this warning while(p = p->nextp) { ^ ( ) putpcc.c:1963:11: note: use '==' to turn this assignment into an equality comparison while(p = p->nextp) { ^ == 12 warnings generated. cc -c -m64 -g vax.c vax.c:161:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e1 = e->addrblock.memoffset) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ vax.c:161:11: note: place parentheses around the assignment to silence this warning if (e1 = e->addrblock.memoffset) ^ ( ) vax.c:161:11: note: use '==' to turn this assignment into an equality comparison if (e1 = e->addrblock.memoffset) ^ == vax.c:167:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && e->addrblock.user.name->vcommequiv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vax.c:167:5: note: place parentheses around the '&&' expression to silence this warning && e->addrblock.user.name->vcommequiv) ^ ) vax.c:241:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = (Namep)cp->datap) ~~^~~~~~~~~~~~~~~~~~ vax.c:241:10: note: place parentheses around the assignment to silence this warning if (q = (Namep)cp->datap) ^ ( ) vax.c:241:10: note: use '==' to turn this assignment into an equality comparison if (q = (Namep)cp->datap) ^ == vax.c:267:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = P->fcharp) ~~^~~~~~~~~~~ vax.c:267:9: note: place parentheses around the assignment to silence this warning if (q = P->fcharp) ^ ( ) vax.c:267:9: note: use '==' to turn this assignment into an equality comparison if (q = P->fcharp) ^ == vax.c:269:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = P->lcharp) ~~^~~~~~~~~~~ vax.c:269:9: note: place parentheses around the assignment to silence this warning if (q = P->lcharp) ^ ( ) vax.c:269:9: note: use '==' to turn this assignment into an equality comparison if (q = P->lcharp) ^ == vax.c:296:6: warning: '&&' within '||' [-Wlogical-op-parentheses] && q->primblock.namep->vprocclass ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vax.c:296:6: note: place parentheses around the '&&' expression to silence this warning && q->primblock.namep->vprocclass ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vax.c:466:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = q->vdim) /* if this param is an array ... */ ~~~^~~~~~~~~ vax.c:466:12: note: place parentheses around the assignment to silence this warning if(dp = q->vdim) /* if this param is an array ... */ ^ ( ) vax.c:466:12: note: use '==' to turn this assignment into an equality comparison if(dp = q->vdim) /* if this param is an array ... */ ^ == vax.c:515:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 8 warnings generated. cc -c -m64 -g formatdata.c formatdata.c:54:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (status = dsort(Inname, sortfname)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ formatdata.c:54:16: note: place parentheses around the assignment to silence this warning if (status = dsort(Inname, sortfname)) ^ ( ) formatdata.c:54:16: note: use '==' to turn this assignment into an equality comparison if (status = dsort(Inname, sortfname)) ^ == formatdata.c:221:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dimp = namep->vdim) ~~~~~^~~~~~~~~~~~~ formatdata.c:221:11: note: place parentheses around the assignment to silence this warning if (dimp = namep->vdim) ^ ( ) formatdata.c:221:11: note: use '==' to turn this assignment into an equality comparison if (dimp = namep->vdim) ^ == formatdata.c:401:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ formatdata.c:730:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(vals = vals->nextp); ~~~~~^~~~~~~~~~~~~ formatdata.c:730:15: note: place parentheses around the assignment to silence this warning while(vals = vals->nextp); ^ ( ) formatdata.c:730:15: note: use '==' to turn this assignment into an equality comparison while(vals = vals->nextp); ^ == formatdata.c:984:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (L = loc % typesize[xtype]) { ~~^~~~~~~~~~~~~~~~~~~~~~~ formatdata.c:984:8: note: place parentheses around the assignment to silence this warning if (L = loc % typesize[xtype]) { ^ ( ) formatdata.c:984:8: note: use '==' to turn this assignment into an equality comparison if (L = loc % typesize[xtype]) { ^ == formatdata.c:1072:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (j = (int)(L % k)) ~~^~~~~~~~~~~~~~ formatdata.c:1072:11: note: place parentheses around the assignment to silence this warning if (j = (int)(L % k)) ^ ( ) formatdata.c:1072:11: note: use '==' to turn this assignment into an equality comparison if (j = (int)(L % k)) ^ == 6 warnings generated. cc -c -m64 -g parse_args.c parse_args.c:416:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*dest++ = (c = *src++) >= 'A' && c <= 'Z' ? tolower(c) : c); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_args.c:416:17: note: place parentheses around the assignment to silence this warning while (*dest++ = (c = *src++) >= 'A' && c <= 'Z' ? tolower(c) : c); ^ ( ) parse_args.c:416:17: note: use '==' to turn this assignment into an equality comparison while (*dest++ = (c = *src++) >= 'A' && c <= 'Z' ? tolower(c) : c); ^ == 1 warning generated. cc -c -m64 -g niceprintf.c niceprintf.c:205:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { while(*t++ = *s++); } ~~~~~^~~~~~ niceprintf.c:205:14: note: place parentheses around the assignment to silence this warning { while(*t++ = *s++); } ^ ( ) niceprintf.c:205:14: note: use '==' to turn this assignment into an equality comparison { while(*t++ = *s++); } ^ == 1 warning generated. cc -c -m64 -g cds.c cds.c:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (et = etype[(unsigned char)c]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cds.c:109:9: note: place parentheses around the assignment to silence this warning if (et = etype[(unsigned char)c]) { ^ ( ) cds.c:109:9: note: use '==' to turn this assignment into an equality comparison if (et = etype[(unsigned char)c]) { ^ == 1 warning generated. if cc sysdeptest.c; then echo '/*OK*/' > sysdep.hd;\ elif cc -DNO_MKDTEMP sysdeptest.c; then echo '#define NO_MKDTEMP' >sysdep.hd;\ else echo '#define NO_MKDTEMP' >sysdep.hd; echo '#define NO_MKSTEMP' >>sysdep.hd; fi rm -f a.out cc -c -m64 -g sysdep.c sysdep.c:112:3: warning: implicit declaration of function 'rmdir' is invalid in C99 [-Wimplicit-function-declaration] rmdir(s); ^ sysdep.c:262:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *s++) ~~^~~~~~ sysdep.c:262:10: note: place parentheses around the assignment to silence this warning while(c = *s++) ^ ( ) sysdep.c:262:10: note: use '==' to turn this assignment into an equality comparison while(c = *s++) ^ == sysdep.c:552:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(s = "\b\t\n\f\r\v", i = 0; j = *(unsigned char *)s++;) ~~^~~~~~~~~~~~~~~~~~~~~~~ sysdep.c:552:35: note: place parentheses around the assignment to silence this warning for(s = "\b\t\n\f\r\v", i = 0; j = *(unsigned char *)s++;) ^ ( ) sysdep.c:552:35: note: use '==' to turn this assignment into an equality comparison for(s = "\b\t\n\f\r\v", i = 0; j = *(unsigned char *)s++;) ^ == sysdep.c:696:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mb = mb1); ~~~^~~~~ sysdep.c:696:12: note: place parentheses around the assignment to silence this warning while(mb = mb1); ^ ( ) sysdep.c:696:12: note: use '==' to turn this assignment into an equality comparison while(mb = mb1); ^ == 4 warnings generated. cc -c -m64 -g version.c cc -m64 main.o init.o gram.o lex.o proc.o equiv.o data.o format.o expr.o exec.o intr.o io.o misc.o error.o mem.o names.o output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o parse_args.o niceprintf.o cds.o sysdep.o version.o -o f2c ----Running------ > DYLD_LIBRARY_PATH="" DYLD_FRAMEWORK_PATH="" make TARGET=libf2c.so -f makefile.u ----------------- cp f2c.h0 f2c.h cp signal1.h0 signal1.h cp sysdep1.h0 sysdep1.h cc -c f77vers.c cc -c i77vers.c cc -c -DSkip_f2c_Undefs -m64 -g main.c ld -r -x -o main.xxx main.o mv main.xxx main.o cc -c -DSkip_f2c_Undefs -m64 -g s_rnge.c ld -r -x -o s_rnge.xxx s_rnge.o mv s_rnge.xxx s_rnge.o cc -c -DSkip_f2c_Undefs -m64 -g abort_.c ld -r -x -o abort_.xxx abort_.o mv abort_.xxx abort_.o cc -c -DSkip_f2c_Undefs -m64 -g exit_.c ld -r -x -o exit_.xxx exit_.o mv exit_.xxx exit_.o cc -c -DSkip_f2c_Undefs -m64 -g getarg_.c ld -r -x -o getarg_.xxx getarg_.o mv getarg_.xxx getarg_.o cc -c -DSkip_f2c_Undefs -m64 -g iargc_.c ld -r -x -o iargc_.xxx iargc_.o mv iargc_.xxx iargc_.o cc -c -DSkip_f2c_Undefs -m64 -g getenv_.c ld -r -x -o getenv_.xxx getenv_.o mv getenv_.xxx getenv_.o cc -c -DSkip_f2c_Undefs -m64 -g signal_.c ld -r -x -o signal_.xxx signal_.o mv signal_.xxx signal_.o cc -c -DSkip_f2c_Undefs -m64 -g s_stop.c ld -r -x -o s_stop.xxx s_stop.o mv s_stop.xxx s_stop.o cc -c -DSkip_f2c_Undefs -m64 -g s_paus.c ld -r -x -o s_paus.xxx s_paus.o mv s_paus.xxx s_paus.o cc -c -DSkip_f2c_Undefs -m64 -g system_.c ld -r -x -o system_.xxx system_.o mv system_.xxx system_.o cc -c -DSkip_f2c_Undefs -m64 -g cabs.c ld -r -x -o cabs.xxx cabs.o mv cabs.xxx cabs.o cc -c -DSkip_f2c_Undefs -m64 -g ctype.c ld -r -x -o ctype.xxx ctype.o mv ctype.xxx ctype.o cc -c -DSkip_f2c_Undefs -m64 -g derf_.c ld -r -x -o derf_.xxx derf_.o mv derf_.xxx derf_.o cc -c -DSkip_f2c_Undefs -m64 -g derfc_.c ld -r -x -o derfc_.xxx derfc_.o mv derfc_.xxx derfc_.o cc -c -DSkip_f2c_Undefs -m64 -g erf_.c ld -r -x -o erf_.xxx erf_.o mv erf_.xxx erf_.o cc -c -DSkip_f2c_Undefs -m64 -g erfc_.c ld -r -x -o erfc_.xxx erfc_.o mv erfc_.xxx erfc_.o cc -c -DSkip_f2c_Undefs -m64 -g sig_die.c ld -r -x -o sig_die.xxx sig_die.o mv sig_die.xxx sig_die.o cc -m64 -g -DNO_FPINIT arithchk.c -lm -o exechk ||\ cc -DNO_LONG_LONG -m64 -g -DNO_FPINIT arithchk.c -lm -o exechk arithchk.c:127:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Cray1 = printf(emptyfmt) < 0 ? 0 : 4617762; ^~~~~~~~ arithchk.c:127:17: note: treat the string as an argument to avoid this Cray1 = printf(emptyfmt) < 0 ? 0 : 4617762; ^ "%s", 1 warning generated. ./exechk >arith.h rm -f exechk.exe exechk arithchk.o cc -c -DSkip_f2c_Undefs -m64 -g uninit.c ld -r -x -o uninit.xxx uninit.o mv uninit.xxx uninit.o cc -c -DSkip_f2c_Undefs -m64 -g pow_ci.c ld -r -x -o pow_ci.xxx pow_ci.o mv pow_ci.xxx pow_ci.o cc -c -DSkip_f2c_Undefs -m64 -g pow_dd.c ld -r -x -o pow_dd.xxx pow_dd.o mv pow_dd.xxx pow_dd.o cc -c -DSkip_f2c_Undefs -m64 -g pow_di.c ld -r -x -o pow_di.xxx pow_di.o mv pow_di.xxx pow_di.o cc -c -DSkip_f2c_Undefs -m64 -g pow_hh.c ld -r -x -o pow_hh.xxx pow_hh.o mv pow_hh.xxx pow_hh.o cc -c -DSkip_f2c_Undefs -m64 -g pow_ii.c ld -r -x -o pow_ii.xxx pow_ii.o mv pow_ii.xxx pow_ii.o cc -c -DSkip_f2c_Undefs -m64 -g pow_ri.c ld -r -x -o pow_ri.xxx pow_ri.o mv pow_ri.xxx pow_ri.o cc -c -DSkip_f2c_Undefs -m64 -g pow_zi.c ld -r -x -o pow_zi.xxx pow_zi.o mv pow_zi.xxx pow_zi.o cc -c -DSkip_f2c_Undefs -m64 -g pow_zz.c ld -r -x -o pow_zz.xxx pow_zz.o mv pow_zz.xxx pow_zz.o cc -c -DSkip_f2c_Undefs -m64 -g c_abs.c ld -r -x -o c_abs.xxx c_abs.o mv c_abs.xxx c_abs.o cc -c -DSkip_f2c_Undefs -m64 -g c_cos.c ld -r -x -o c_cos.xxx c_cos.o mv c_cos.xxx c_cos.o cc -c -DSkip_f2c_Undefs -m64 -g c_div.c ld -r -x -o c_div.xxx c_div.o mv c_div.xxx c_div.o cc -c -DSkip_f2c_Undefs -m64 -g c_exp.c ld -r -x -o c_exp.xxx c_exp.o mv c_exp.xxx c_exp.o cc -c -DSkip_f2c_Undefs -m64 -g c_log.c ld -r -x -o c_log.xxx c_log.o mv c_log.xxx c_log.o cc -c -DSkip_f2c_Undefs -m64 -g c_sin.c ld -r -x -o c_sin.xxx c_sin.o mv c_sin.xxx c_sin.o cc -c -DSkip_f2c_Undefs -m64 -g c_sqrt.c ld -r -x -o c_sqrt.xxx c_sqrt.o mv c_sqrt.xxx c_sqrt.o cc -c -DSkip_f2c_Undefs -m64 -g z_abs.c ld -r -x -o z_abs.xxx z_abs.o mv z_abs.xxx z_abs.o cc -c -DSkip_f2c_Undefs -m64 -g z_cos.c ld -r -x -o z_cos.xxx z_cos.o mv z_cos.xxx z_cos.o cc -c -DSkip_f2c_Undefs -m64 -g z_div.c ld -r -x -o z_div.xxx z_div.o mv z_div.xxx z_div.o cc -c -DSkip_f2c_Undefs -m64 -g z_exp.c ld -r -x -o z_exp.xxx z_exp.o mv z_exp.xxx z_exp.o cc -c -DSkip_f2c_Undefs -m64 -g z_log.c ld -r -x -o z_log.xxx z_log.o mv z_log.xxx z_log.o cc -c -DSkip_f2c_Undefs -m64 -g z_sin.c ld -r -x -o z_sin.xxx z_sin.o mv z_sin.xxx z_sin.o cc -c -DSkip_f2c_Undefs -m64 -g z_sqrt.c ld -r -x -o z_sqrt.xxx z_sqrt.o mv z_sqrt.xxx z_sqrt.o cc -c -DSkip_f2c_Undefs -m64 -g r_abs.c ld -r -x -o r_abs.xxx r_abs.o mv r_abs.xxx r_abs.o cc -c -DSkip_f2c_Undefs -m64 -g r_acos.c ld -r -x -o r_acos.xxx r_acos.o mv r_acos.xxx r_acos.o cc -c -DSkip_f2c_Undefs -m64 -g r_asin.c ld -r -x -o r_asin.xxx r_asin.o mv r_asin.xxx r_asin.o cc -c -DSkip_f2c_Undefs -m64 -g r_atan.c ld -r -x -o r_atan.xxx r_atan.o mv r_atan.xxx r_atan.o cc -c -DSkip_f2c_Undefs -m64 -g r_atn2.c ld -r -x -o r_atn2.xxx r_atn2.o mv r_atn2.xxx r_atn2.o cc -c -DSkip_f2c_Undefs -m64 -g r_cnjg.c ld -r -x -o r_cnjg.xxx r_cnjg.o mv r_cnjg.xxx r_cnjg.o cc -c -DSkip_f2c_Undefs -m64 -g r_cos.c ld -r -x -o r_cos.xxx r_cos.o mv r_cos.xxx r_cos.o cc -c -DSkip_f2c_Undefs -m64 -g r_cosh.c ld -r -x -o r_cosh.xxx r_cosh.o mv r_cosh.xxx r_cosh.o cc -c -DSkip_f2c_Undefs -m64 -g r_dim.c ld -r -x -o r_dim.xxx r_dim.o mv r_dim.xxx r_dim.o cc -c -DSkip_f2c_Undefs -m64 -g r_exp.c ld -r -x -o r_exp.xxx r_exp.o mv r_exp.xxx r_exp.o cc -c -DSkip_f2c_Undefs -m64 -g r_imag.c ld -r -x -o r_imag.xxx r_imag.o mv r_imag.xxx r_imag.o cc -c -DSkip_f2c_Undefs -m64 -g r_int.c ld -r -x -o r_int.xxx r_int.o mv r_int.xxx r_int.o cc -c -DSkip_f2c_Undefs -m64 -g r_lg10.c ld -r -x -o r_lg10.xxx r_lg10.o mv r_lg10.xxx r_lg10.o cc -c -DSkip_f2c_Undefs -m64 -g r_log.c ld -r -x -o r_log.xxx r_log.o mv r_log.xxx r_log.o cc -c -DSkip_f2c_Undefs -m64 -g r_mod.c ld -r -x -o r_mod.xxx r_mod.o mv r_mod.xxx r_mod.o cc -c -DSkip_f2c_Undefs -m64 -g r_nint.c ld -r -x -o r_nint.xxx r_nint.o mv r_nint.xxx r_nint.o cc -c -DSkip_f2c_Undefs -m64 -g r_sign.c ld -r -x -o r_sign.xxx r_sign.o mv r_sign.xxx r_sign.o cc -c -DSkip_f2c_Undefs -m64 -g r_sin.c ld -r -x -o r_sin.xxx r_sin.o mv r_sin.xxx r_sin.o cc -c -DSkip_f2c_Undefs -m64 -g r_sinh.c ld -r -x -o r_sinh.xxx r_sinh.o mv r_sinh.xxx r_sinh.o cc -c -DSkip_f2c_Undefs -m64 -g r_sqrt.c ld -r -x -o r_sqrt.xxx r_sqrt.o mv r_sqrt.xxx r_sqrt.o cc -c -DSkip_f2c_Undefs -m64 -g r_tan.c ld -r -x -o r_tan.xxx r_tan.o mv r_tan.xxx r_tan.o cc -c -DSkip_f2c_Undefs -m64 -g r_tanh.c ld -r -x -o r_tanh.xxx r_tanh.o mv r_tanh.xxx r_tanh.o cc -c -DSkip_f2c_Undefs -m64 -g d_abs.c ld -r -x -o d_abs.xxx d_abs.o mv d_abs.xxx d_abs.o cc -c -DSkip_f2c_Undefs -m64 -g d_acos.c ld -r -x -o d_acos.xxx d_acos.o mv d_acos.xxx d_acos.o cc -c -DSkip_f2c_Undefs -m64 -g d_asin.c ld -r -x -o d_asin.xxx d_asin.o mv d_asin.xxx d_asin.o cc -c -DSkip_f2c_Undefs -m64 -g d_atan.c ld -r -x -o d_atan.xxx d_atan.o mv d_atan.xxx d_atan.o cc -c -DSkip_f2c_Undefs -m64 -g d_atn2.c ld -r -x -o d_atn2.xxx d_atn2.o mv d_atn2.xxx d_atn2.o cc -c -DSkip_f2c_Undefs -m64 -g d_cnjg.c ld -r -x -o d_cnjg.xxx d_cnjg.o mv d_cnjg.xxx d_cnjg.o cc -c -DSkip_f2c_Undefs -m64 -g d_cos.c ld -r -x -o d_cos.xxx d_cos.o mv d_cos.xxx d_cos.o cc -c -DSkip_f2c_Undefs -m64 -g d_cosh.c ld -r -x -o d_cosh.xxx d_cosh.o mv d_cosh.xxx d_cosh.o cc -c -DSkip_f2c_Undefs -m64 -g d_dim.c ld -r -x -o d_dim.xxx d_dim.o mv d_dim.xxx d_dim.o cc -c -DSkip_f2c_Undefs -m64 -g d_exp.c ld -r -x -o d_exp.xxx d_exp.o mv d_exp.xxx d_exp.o cc -c -DSkip_f2c_Undefs -m64 -g d_imag.c ld -r -x -o d_imag.xxx d_imag.o mv d_imag.xxx d_imag.o cc -c -DSkip_f2c_Undefs -m64 -g d_int.c ld -r -x -o d_int.xxx d_int.o mv d_int.xxx d_int.o cc -c -DSkip_f2c_Undefs -m64 -g d_lg10.c ld -r -x -o d_lg10.xxx d_lg10.o mv d_lg10.xxx d_lg10.o cc -c -DSkip_f2c_Undefs -m64 -g d_log.c ld -r -x -o d_log.xxx d_log.o mv d_log.xxx d_log.o cc -c -DSkip_f2c_Undefs -m64 -g d_mod.c ld -r -x -o d_mod.xxx d_mod.o mv d_mod.xxx d_mod.o cc -c -DSkip_f2c_Undefs -m64 -g d_nint.c ld -r -x -o d_nint.xxx d_nint.o mv d_nint.xxx d_nint.o cc -c -DSkip_f2c_Undefs -m64 -g d_prod.c ld -r -x -o d_prod.xxx d_prod.o mv d_prod.xxx d_prod.o cc -c -DSkip_f2c_Undefs -m64 -g d_sign.c ld -r -x -o d_sign.xxx d_sign.o mv d_sign.xxx d_sign.o cc -c -DSkip_f2c_Undefs -m64 -g d_sin.c ld -r -x -o d_sin.xxx d_sin.o mv d_sin.xxx d_sin.o cc -c -DSkip_f2c_Undefs -m64 -g d_sinh.c ld -r -x -o d_sinh.xxx d_sinh.o mv d_sinh.xxx d_sinh.o cc -c -DSkip_f2c_Undefs -m64 -g d_sqrt.c ld -r -x -o d_sqrt.xxx d_sqrt.o mv d_sqrt.xxx d_sqrt.o cc -c -DSkip_f2c_Undefs -m64 -g d_tan.c ld -r -x -o d_tan.xxx d_tan.o mv d_tan.xxx d_tan.o cc -c -DSkip_f2c_Undefs -m64 -g d_tanh.c ld -r -x -o d_tanh.xxx d_tanh.o mv d_tanh.xxx d_tanh.o cc -c -DSkip_f2c_Undefs -m64 -g i_abs.c ld -r -x -o i_abs.xxx i_abs.o mv i_abs.xxx i_abs.o cc -c -DSkip_f2c_Undefs -m64 -g i_dim.c ld -r -x -o i_dim.xxx i_dim.o mv i_dim.xxx i_dim.o cc -c -DSkip_f2c_Undefs -m64 -g i_dnnt.c ld -r -x -o i_dnnt.xxx i_dnnt.o mv i_dnnt.xxx i_dnnt.o cc -c -DSkip_f2c_Undefs -m64 -g i_indx.c ld -r -x -o i_indx.xxx i_indx.o mv i_indx.xxx i_indx.o cc -c -DSkip_f2c_Undefs -m64 -g i_len.c ld -r -x -o i_len.xxx i_len.o mv i_len.xxx i_len.o cc -c -DSkip_f2c_Undefs -m64 -g i_mod.c ld -r -x -o i_mod.xxx i_mod.o mv i_mod.xxx i_mod.o cc -c -DSkip_f2c_Undefs -m64 -g i_nint.c ld -r -x -o i_nint.xxx i_nint.o mv i_nint.xxx i_nint.o cc -c -DSkip_f2c_Undefs -m64 -g i_sign.c ld -r -x -o i_sign.xxx i_sign.o mv i_sign.xxx i_sign.o cc -c -DSkip_f2c_Undefs -m64 -g lbitbits.c lbitbits.c:47:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return (integer)(x << b | x >> LONGBITS -b ); ~~ ~~~~~~~~~^~ lbitbits.c:47:44: note: place parentheses around the '-' expression to silence this warning return (integer)(x << b | x >> LONGBITS -b ); ~~~~~~~~~^~ lbitbits.c:51:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return (integer)(x << LONGBITS - b | x >> b); ~~ ~~~~~~~~~^~~ lbitbits.c:51:34: note: place parentheses around the '-' expression to silence this warning return (integer)(x << LONGBITS - b | x >> b); ~~~~~~~~~^~~ lbitbits.c:60:47: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return (integer)(y | z & (x << b | x >> len - b)); ~~ ~~~~^~~ lbitbits.c:60:47: note: place parentheses around the '-' expression to silence this warning return (integer)(y | z & (x << b | x >> len - b)); ^ ( ) lbitbits.c:60:26: warning: '&' within '|' [-Wbitwise-op-parentheses] return (integer)(y | z & (x << b | x >> len - b)); ~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~ lbitbits.c:60:26: note: place parentheses around the '&' expression to silence this warning return (integer)(y | z & (x << b | x >> len - b)); ^ ( ) lbitbits.c:64:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return (integer)(y | z & (x >> b | x << len - b)); ~~ ~~~~^~~ lbitbits.c:64:46: note: place parentheses around the '-' expression to silence this warning return (integer)(y | z & (x >> b | x << len - b)); ^ ( ) lbitbits.c:64:25: warning: '&' within '|' [-Wbitwise-op-parentheses] return (integer)(y | z & (x >> b | x << len - b)); ~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~ lbitbits.c:64:25: note: place parentheses around the '&' expression to silence this warning return (integer)(y | z & (x >> b | x << len - b)); ^ ( ) 6 warnings generated. ld -r -x -o lbitbits.xxx lbitbits.o mv lbitbits.xxx lbitbits.o cc -c -DSkip_f2c_Undefs -m64 -g lbitshft.c ld -r -x -o lbitshft.xxx lbitshft.o mv lbitshft.xxx lbitshft.o cc -c -DSkip_f2c_Undefs -m64 -g h_abs.c ld -r -x -o h_abs.xxx h_abs.o mv h_abs.xxx h_abs.o cc -c -DSkip_f2c_Undefs -m64 -g h_dim.c ld -r -x -o h_dim.xxx h_dim.o mv h_dim.xxx h_dim.o cc -c -DSkip_f2c_Undefs -m64 -g h_dnnt.c ld -r -x -o h_dnnt.xxx h_dnnt.o mv h_dnnt.xxx h_dnnt.o cc -c -DSkip_f2c_Undefs -m64 -g h_indx.c ld -r -x -o h_indx.xxx h_indx.o mv h_indx.xxx h_indx.o cc -c -DSkip_f2c_Undefs -m64 -g h_len.c ld -r -x -o h_len.xxx h_len.o mv h_len.xxx h_len.o cc -c -DSkip_f2c_Undefs -m64 -g h_mod.c ld -r -x -o h_mod.xxx h_mod.o mv h_mod.xxx h_mod.o cc -c -DSkip_f2c_Undefs -m64 -g h_nint.c ld -r -x -o h_nint.xxx h_nint.o mv h_nint.xxx h_nint.o cc -c -DSkip_f2c_Undefs -m64 -g h_sign.c ld -r -x -o h_sign.xxx h_sign.o mv h_sign.xxx h_sign.o cc -c -DSkip_f2c_Undefs -m64 -g l_ge.c ld -r -x -o l_ge.xxx l_ge.o mv l_ge.xxx l_ge.o cc -c -DSkip_f2c_Undefs -m64 -g l_gt.c ld -r -x -o l_gt.xxx l_gt.o mv l_gt.xxx l_gt.o cc -c -DSkip_f2c_Undefs -m64 -g l_le.c ld -r -x -o l_le.xxx l_le.o mv l_le.xxx l_le.o cc -c -DSkip_f2c_Undefs -m64 -g l_lt.c ld -r -x -o l_lt.xxx l_lt.o mv l_lt.xxx l_lt.o cc -c -DSkip_f2c_Undefs -m64 -g hl_ge.c ld -r -x -o hl_ge.xxx hl_ge.o mv hl_ge.xxx hl_ge.o cc -c -DSkip_f2c_Undefs -m64 -g hl_gt.c ld -r -x -o hl_gt.xxx hl_gt.o mv hl_gt.xxx hl_gt.o cc -c -DSkip_f2c_Undefs -m64 -g hl_le.c ld -r -x -o hl_le.xxx hl_le.o mv hl_le.xxx hl_le.o cc -c -DSkip_f2c_Undefs -m64 -g hl_lt.c ld -r -x -o hl_lt.xxx hl_lt.o mv hl_lt.xxx hl_lt.o cc -c -DSkip_f2c_Undefs -m64 -g ef1asc_.c ld -r -x -o ef1asc_.xxx ef1asc_.o mv ef1asc_.xxx ef1asc_.o cc -c -DSkip_f2c_Undefs -m64 -g ef1cmc_.c ld -r -x -o ef1cmc_.xxx ef1cmc_.o mv ef1cmc_.xxx ef1cmc_.o cc -c -DSkip_f2c_Undefs -m64 -g f77_aloc.c ld -r -x -o f77_aloc.xxx f77_aloc.o mv f77_aloc.xxx f77_aloc.o cc -c -DSkip_f2c_Undefs -m64 -g s_cat.c ld -r -x -o s_cat.xxx s_cat.o mv s_cat.xxx s_cat.o cc -c -DSkip_f2c_Undefs -m64 -g s_cmp.c ld -r -x -o s_cmp.xxx s_cmp.o mv s_cmp.xxx s_cmp.o cc -c -DSkip_f2c_Undefs -m64 -g s_copy.c ld -r -x -o s_copy.xxx s_copy.o mv s_copy.xxx s_copy.o cc -c -DSkip_f2c_Undefs -m64 -g backspac.c ld -r -x -o backspac.xxx backspac.o mv backspac.xxx backspac.o cc -c -DSkip_f2c_Undefs -m64 -g close.c ld -r -x -o close.xxx close.o mv close.xxx close.o cc -c -DSkip_f2c_Undefs -m64 -g dfe.c dfe.c:104:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_dfe(a))return(n); ~^~~~~~~~~ dfe.c:104:6: note: place parentheses around the assignment to silence this warning if(n=c_dfe(a))return(n); ^ ( ) dfe.c:104:6: note: use '==' to turn this assignment into an equality comparison if(n=c_dfe(a))return(n); ^ == dfe.c:126:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_dfe(a)) return(n); ~^~~~~~~~~ dfe.c:126:6: note: place parentheses around the assignment to silence this warning if(n=c_dfe(a)) return(n); ^ ( ) dfe.c:126:6: note: use '==' to turn this assignment into an equality comparison if(n=c_dfe(a)) return(n); ^ == 2 warnings generated. ld -r -x -o dfe.xxx dfe.o mv dfe.xxx dfe.o cc -c -DSkip_f2c_Undefs -m64 -g dolio.c ld -r -x -o dolio.xxx dolio.o mv dolio.xxx dolio.o cc -c -DSkip_f2c_Undefs -m64 -g due.c due.c:40:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_due(a)) return(n); ~^~~~~~~~~ due.c:40:6: note: place parentheses around the assignment to silence this warning if(n=c_due(a)) return(n); ^ ( ) due.c:40:6: note: use '==' to turn this assignment into an equality comparison if(n=c_due(a)) return(n); ^ == due.c:53:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_due(a)) return(n); ~^~~~~~~~~ due.c:53:6: note: place parentheses around the assignment to silence this warning if(n=c_due(a)) return(n); ^ ( ) due.c:53:6: note: use '==' to turn this assignment into an equality comparison if(n=c_due(a)) return(n); ^ == 2 warnings generated. ld -r -x -o due.xxx due.o mv due.xxx due.o cc -c -DSkip_f2c_Undefs -m64 -g endfile.c endfile.c:46:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tf = FOPEN(nbuf, f__w_mode[0])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ endfile.c:46:10: note: place parentheses around the assignment to silence this warning if (tf = FOPEN(nbuf, f__w_mode[0])) ^ ( ) endfile.c:46:10: note: use '==' to turn this assignment into an equality comparison if (tf = FOPEN(nbuf, f__w_mode[0])) ^ == 1 warning generated. ld -r -x -o endfile.xxx endfile.o mv endfile.xxx endfile.o cc -c -DSkip_f2c_Undefs -m64 -g err.c ld -r -x -o err.xxx err.o mv err.xxx err.o cc -c -DSkip_f2c_Undefs -m64 -g fmt.c ld -r -x -o fmt.xxx fmt.o mv fmt.xxx fmt.o cc -c -DSkip_f2c_Undefs -m64 -g fmtlib.c ld -r -x -o fmtlib.xxx fmtlib.o mv fmtlib.xxx fmtlib.o cc -c -DSkip_f2c_Undefs -m64 -g ftell_.c ld -r -x -o ftell_.xxx ftell_.o mv ftell_.xxx ftell_.o cc -c -DSkip_f2c_Undefs -m64 -g iio.c iio.c:91:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_si(a)) return(n); ~^~~~~~~~ iio.c:91:6: note: place parentheses around the assignment to silence this warning if(n=c_si(a)) return(n); ^ ( ) iio.c:91:6: note: use '==' to turn this assignment into an equality comparison if(n=c_si(a)) return(n); ^ == iio.c:123:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_si(a)) return(n); ~^~~~~~~~ iio.c:123:6: note: place parentheses around the assignment to silence this warning if(n=c_si(a)) return(n); ^ ( ) iio.c:123:6: note: use '==' to turn this assignment into an equality comparison if(n=c_si(a)) return(n); ^ == 2 warnings generated. ld -r -x -o iio.xxx iio.o mv iio.xxx iio.o cc -c -DSkip_f2c_Undefs -m64 -g ilnw.c ld -r -x -o ilnw.xxx ilnw.o mv ilnw.xxx ilnw.o cc -c -DSkip_f2c_Undefs -m64 -g inquire.c inquire.c:67:13: warning: '&&' within '||' [-Wlogical-op-parentheses] if(byfile && x != -1 || !byfile && p!=NULL) ~~~~~~~^~~~~~~~~~ ~~ inquire.c:67:13: note: place parentheses around the '&&' expression to silence this warning if(byfile && x != -1 || !byfile && p!=NULL) ^ ( ) inquire.c:67:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if(byfile && x != -1 || !byfile && p!=NULL) ~~ ~~~~~~~~^~~~~~~~~~ inquire.c:67:35: note: place parentheses around the '&&' expression to silence this warning if(byfile && x != -1 || !byfile && p!=NULL) ~~~~~~~~^~~~~~~~~~ inquire.c:69:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else *a->inex=0; ^ inquire.c:72:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else *a->inopen=(p!=NULL && p->ufd!=NULL); ^ inquire.c:75:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if(byfile || p!=NULL && p->ufnm!=NULL) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~ inquire.c:75:24: note: place parentheses around the '&&' expression to silence this warning if(byfile || p!=NULL && p->ufnm!=NULL) ~~~~~~~~^~~~~~~~~~~~~~~~ inquire.c:77:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else *a->innamed=0; ^ inquire.c:81:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(p!=NULL && p->ufnm!=NULL) ^ inquire.c:86:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else b_char("SEQUENTIAL",a->inacc,a->inacclen); ^ inquire.c:90:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else b_char("YES",a->inseq,a->inseqlen); ^ inquire.c:94:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else b_char("NO",a->indir,a->indirlen); ^ inquire.c:98:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else b_char("FORMATTED",a->infmt,a->infmtlen); ^ inquire.c:102:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else b_char("YES",a->inform,a->informlen); ^ inquire.c:106:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p!=NULL) b_char("NO",a->inunf,a->inunflen); ^ inquire.c:115:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else b_char("NULL",a->inblank,a->inblanklen); ^ 14 warnings generated. ld -r -x -o inquire.xxx inquire.o mv inquire.xxx inquire.o cc -c -DSkip_f2c_Undefs -m64 -g lread.c lread.c:297:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ lread.c:317:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ch = l_R(1,0)) ~~~^~~~~~~~~~ lread.c:317:9: note: place parentheses around the assignment to silence this warning if (ch = l_R(1,0)) ^ ( ) lread.c:317:9: note: use '==' to turn this assignment into an equality comparison if (ch = l_R(1,0)) ^ == lread.c:329:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ch = l_R(1,0)) ~~~^~~~~~~~~~ lread.c:329:9: note: place parentheses around the assignment to silence this warning if (ch = l_R(1,0)) ^ ( ) lread.c:329:9: note: use '==' to turn this assignment into an equality comparison if (ch = l_R(1,0)) ^ == lread.c:356:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rv = *nmL_next++) ~~~^~~~~~~~~~~~~ lread.c:356:9: note: place parentheses around the assignment to silence this warning if (rv = *nmL_next++) ^ ( ) lread.c:356:9: note: use '==' to turn this assignment into an equality comparison if (rv = *nmL_next++) ^ == lread.c:441:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ lread.c:693:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ERR(l_R(0,1)); ^~~~~~~~~~~~~ lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ~^~~~ lread.c:693:4: note: place parentheses around the assignment to silence this warning lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:693:4: note: use '==' to turn this assignment into an equality comparison lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:698:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ERR(l_R(0,0)); ^~~~~~~~~~~~~ lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ~^~~~ lread.c:698:4: note: place parentheses around the assignment to silence this warning lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:698:4: note: use '==' to turn this assignment into an equality comparison lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:709:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ERR(l_C()); ^~~~~~~~~~ lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ~^~~~ lread.c:709:4: note: place parentheses around the assignment to silence this warning lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:709:4: note: use '==' to turn this assignment into an equality comparison lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:714:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ERR(l_L()); ^~~~~~~~~~ lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ~^~~~ lread.c:714:4: note: place parentheses around the assignment to silence this warning lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:714:4: note: use '==' to turn this assignment into an equality comparison lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:717:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ERR(l_CHAR()); ^~~~~~~~~~~~~ lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ~^~~~ lread.c:717:4: note: place parentheses around the assignment to silence this warning lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:717:4: note: use '==' to turn this assignment into an equality comparison lread.c:109:20: note: expanded from macro 'ERR' #define ERR(x) if(n=(x)) return(n) ^ lread.c:790:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_le(a)) return(n); ~^~~~~~~~ lread.c:790:6: note: place parentheses around the assignment to silence this warning if(n=c_le(a)) return(n); ^ ( ) lread.c:790:6: note: use '==' to turn this assignment into an equality comparison if(n=c_le(a)) return(n); ^ == 11 warnings generated. ld -r -x -o lread.xxx lread.o mv lread.xxx lread.o cc -c -DSkip_f2c_Undefs -m64 -g lwrite.c lwrite.c:141:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(b[0] = b[1]) ~~~~~^~~~~~ lwrite.c:141:15: note: place parentheses around the assignment to silence this warning while(b[0] = b[1]) ^ ( ) lwrite.c:141:15: note: use '==' to turn this assignment into an equality comparison while(b[0] = b[1]) ^ == lwrite.c:166:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(c1 = '.', c = 'E'; *b = c1; ~~~^~~~ lwrite.c:166:32: note: place parentheses around the assignment to silence this warning for(c1 = '.', c = 'E'; *b = c1; ^ ( ) lwrite.c:166:32: note: use '==' to turn this assignment into an equality comparison for(c1 = '.', c = 'E'; *b = c1; ^ == lwrite.c:190:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *s++) ~~^~~~~~ lwrite.c:190:10: note: place parentheses around the assignment to silence this warning while(c = *s++) ^ ( ) lwrite.c:190:10: note: use '==' to turn this assignment into an equality comparison while(c = *s++) ^ == 3 warnings generated. ld -r -x -o lwrite.xxx lwrite.o mv lwrite.xxx lwrite.o cc -c -DSkip_f2c_Undefs -m64 -g open.c open.c:246:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tf = FOPEN(buf,f__w_mode[0])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ open.c:246:10: note: place parentheses around the assignment to silence this warning if (tf = FOPEN(buf,f__w_mode[0])) ^ ( ) open.c:246:10: note: use '==' to turn this assignment into an equality comparison if (tf = FOPEN(buf,f__w_mode[0])) ^ == open.c:256:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tf = FOPEN(buf, f__r_mode[ufmt])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open.c:256:10: note: place parentheses around the assignment to silence this warning if (tf = FOPEN(buf, f__r_mode[ufmt])) ^ ( ) open.c:256:10: note: use '==' to turn this assignment into an equality comparison if (tf = FOPEN(buf, f__r_mode[ufmt])) ^ == open.c:258:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (tf = FOPEN(buf, f__w_mode[ufmt])) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open.c:258:15: note: place parentheses around the assignment to silence this warning else if (tf = FOPEN(buf, f__w_mode[ufmt])) { ^ ( ) open.c:258:15: note: use '==' to turn this assignment into an equality comparison else if (tf = FOPEN(buf, f__w_mode[ufmt])) { ^ == open.c:273:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((s = a->oacc) && (*s == 'a' || *s == 'A') ^ 4 warnings generated. ld -r -x -o open.xxx open.o mv open.xxx open.o cc -c -DSkip_f2c_Undefs -m64 -g rdfmt.c rdfmt.c:39:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ch = *sc++) ~~~^~~~~~~ rdfmt.c:39:12: note: place parentheses around the assignment to silence this warning while(ch = *sc++) ^ ( ) rdfmt.c:39:12: note: use '==' to turn this assignment into an equality comparison while(ch = *sc++) ^ == rdfmt.c:42:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ch = *sc++) ~~~^~~~~~~ rdfmt.c:42:12: note: place parentheses around the assignment to silence this warning while(ch = *sc++) ^ ( ) rdfmt.c:42:12: note: use '==' to turn this assignment into an equality comparison while(ch = *sc++) ^ == rdfmt.c:71:9: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] w2 = w1+1 >> 1; ~~^~ ~~ rdfmt.c:71:9: note: place parentheses around the '+' expression to silence this warning w2 = w1+1 >> 1; ^ ( ) rdfmt.c:93:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *t = hex[*s0 & 0xff]-1 << 4 | hex[s0[1] & 0xff]-1; ~~~~~~~~~~~~~~~^~ ~~ rdfmt.c:93:23: note: place parentheses around the '-' expression to silence this warning *t = hex[*s0 & 0xff]-1 << 4 | hex[s0[1] & 0xff]-1; ^ ( ) 4 warnings generated. ld -r -x -o rdfmt.xxx rdfmt.o mv rdfmt.xxx rdfmt.o cc -c -DSkip_f2c_Undefs -m64 -g rewind.c ld -r -x -o rewind.xxx rewind.o mv rewind.xxx rewind.o cc -c -DSkip_f2c_Undefs -m64 -g rsfe.c rsfe.c:67:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_sfe(a)) return(n); ~^~~~~~~~~ rsfe.c:67:6: note: place parentheses around the assignment to silence this warning if(n=c_sfe(a)) return(n); ^ ( ) rsfe.c:67:6: note: use '==' to turn this assignment into an equality comparison if(n=c_sfe(a)) return(n); ^ == 1 warning generated. ld -r -x -o rsfe.xxx rsfe.o mv rsfe.xxx rsfe.o cc -c -DSkip_f2c_Undefs -m64 -g rsli.c ld -r -x -o rsli.xxx rsli.o mv rsli.xxx rsli.o cc -c -DSkip_f2c_Undefs -m64 -g rsne.c rsne.c:86:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(x = 0; c = *s++; x = x & 0x4000 ? ((x << 1) & 0x7fff) + 1 : x << 1) ~~^~~~~~ rsne.c:86:15: note: place parentheses around the assignment to silence this warning for(x = 0; c = *s++; x = x & 0x4000 ? ((x << 1) & 0x7fff) + 1 : x << 1) ^ ( ) rsne.c:86:15: note: use '==' to turn this assignment into an equality comparison for(x = 0; c = *s++; x = x & 0x4000 ? ((x << 1) & 0x7fff) + 1 : x << 1) ^ == rsne.c:107:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(x = &nl_cache; y = *x; x0 = x, x = &y->next) ~~^~~~ rsne.c:107:23: note: place parentheses around the assignment to silence this warning for(x = &nl_cache; y = *x; x0 = x, x = &y->next) ^ ( ) rsne.c:107:23: note: use '==' to turn this assignment into an equality comparison for(x = &nl_cache; y = *x; x0 = x, x = &y->next) ^ == rsne.c:159:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; c = *s++; ) ~~^~~~~~ rsne.c:159:42: note: place parentheses around the assignment to silence this warning for(s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; c = *s++; ) ^ ( ) rsne.c:159:42: note: use '==' to turn this assignment into an equality comparison for(s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; c = *s++; ) ^ == rsne.c:165:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(s = "0123456789_"; c = *s++; ) ~~^~~~~~ rsne.c:165:27: note: place parentheses around the assignment to silence this warning for(s = "0123456789_"; c = *s++; ) ^ ( ) rsne.c:165:27: note: use '==' to turn this assignment into an equality comparison for(s = "0123456789_"; c = *s++; ) ^ == rsne.c:188:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*s = Alphanum[GETC(ch) & 0xff]) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:188:11: note: place parentheses around the assignment to silence this warning while(*s = Alphanum[GETC(ch) & 0xff]) ^ ( ) rsne.c:188:11: note: use '==' to turn this assignment into an equality comparison while(*s = Alphanum[GETC(ch) & 0xff]) ^ == rsne.c:243:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = getnum(chp, x1)) ~~^~~~~~~~~~~~~~~~~ rsne.c:243:8: note: place parentheses around the assignment to silence this warning if (k = getnum(chp, x1)) ^ ( ) rsne.c:243:8: note: use '==' to turn this assignment into an equality comparison if (k = getnum(chp, x1)) ^ == rsne.c:247:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = getnum(chp, &x2)) ~~^~~~~~~~~~~~~~~~~~ rsne.c:247:9: note: place parentheses around the assignment to silence this warning if (k = getnum(chp, &x2)) ^ ( ) rsne.c:247:9: note: use '==' to turn this assignment into an equality comparison if (k = getnum(chp, &x2)) ^ == rsne.c:251:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = getnum(chp, &x3)) ~~^~~~~~~~~~~~~~~~~~ rsne.c:251:10: note: place parentheses around the assignment to silence this warning if (k = getnum(chp, &x3)) ^ ( ) rsne.c:251:10: note: use '==' to turn this assignment into an equality comparison if (k = getnum(chp, &x3)) ^ == rsne.c:349:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ch = getname(buf,sizeof(buf))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:349:9: note: place parentheses around the assignment to silence this warning if (ch = getname(buf,sizeof(buf))) ^ ( ) rsne.c:349:9: note: use '==' to turn this assignment into an equality comparison if (ch = getname(buf,sizeof(buf))) ^ == rsne.c:401:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (ch <= ' ' && ch >= 0 || ch == ',') ~~~~~~~~~~^~~~~~~~~~ ~~ rsne.c:401:19: note: place parentheses around the '&&' expression to silence this warning if (ch <= ' ' && ch >= 0 || ch == ',') ^ ( ) rsne.c:404:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ch = getname(buf,sizeof(buf))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:404:12: note: place parentheses around the assignment to silence this warning if (ch = getname(buf,sizeof(buf))) ^ ( ) rsne.c:404:12: note: use '==' to turn this assignment into an equality comparison if (ch = getname(buf,sizeof(buf))) ^ == rsne.c:428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = getdimen(&ch, dn, (ftnlen)size, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:428:11: note: place parentheses around the assignment to silence this warning if (k = getdimen(&ch, dn, (ftnlen)size, ^ ( rsne.c:428:11: note: use '==' to turn this assignment into an equality comparison if (k = getdimen(&ch, dn, (ftnlen)size, ^ == rsne.c:445:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = getdimen(&ch, dn, size, nomax, &b)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:445:10: note: place parentheses around the assignment to silence this warning if (k = getdimen(&ch, dn, size, nomax, &b)) ^ ( ) rsne.c:445:10: note: use '==' to turn this assignment into an equality comparison if (k = getdimen(&ch, dn, size, nomax, &b)) ^ == rsne.c:456:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = getdimen(&ch, dn1, dn->delta**dims, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:456:11: note: place parentheses around the assignment to silence this warning if (k = getdimen(&ch, dn1, dn->delta**dims, ^ ( rsne.c:456:11: note: use '==' to turn this assignment into an equality comparison if (k = getdimen(&ch, dn1, dn->delta**dims, ^ == rsne.c:476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = getdimen(&ch, &substr, size, size, &b)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:476:11: note: place parentheses around the assignment to silence this warning if (k = getdimen(&ch, &substr, size, size, &b)) ^ ( ) rsne.c:476:11: note: use '==' to turn this assignment into an equality comparison if (k = getdimen(&ch, &substr, size, size, &b)) ^ == rsne.c:511:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (dims = v->dims) { ~~~~~^~~~~~~~~ rsne.c:511:17: note: place parentheses around the assignment to silence this warning else if (dims = v->dims) { ^ ( ) rsne.c:511:17: note: use '==' to turn this assignment into an equality comparison else if (dims = v->dims) { ^ == rsne.c:531:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = l_read(&no1, vaddr + iva, size, type)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:531:10: note: place parentheses around the assignment to silence this warning if (k = l_read(&no1, vaddr + iva, size, type)) ^ ( ) rsne.c:531:10: note: use '==' to turn this assignment into an equality comparison if (k = l_read(&no1, vaddr + iva, size, type)) ^ == rsne.c:541:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = l_read(&no2, vaddr + iva, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rsne.c:541:12: note: place parentheses around the assignment to silence this warning if (k = l_read(&no2, vaddr + iva, ^ ( rsne.c:541:12: note: use '==' to turn this assignment into an equality comparison if (k = l_read(&no2, vaddr + iva, ^ == rsne.c:552:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else for(;;) { ^ rsne.c:603:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n = c_le(a)) ~~^~~~~~~~~ rsne.c:603:7: note: place parentheses around the assignment to silence this warning if(n = c_le(a)) ^ ( ) rsne.c:603:7: note: use '==' to turn this assignment into an equality comparison if(n = c_le(a)) ^ == 20 warnings generated. ld -r -x -o rsne.xxx rsne.o mv rsne.xxx rsne.o cc -c -DSkip_f2c_Undefs -m64 -g sfe.c ld -r -x -o sfe.xxx sfe.o mv sfe.xxx sfe.o cc -c -DSkip_f2c_Undefs -m64 -g sue.c sue.c:38:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_sue(a)) return(n); ~^~~~~~~~~ sue.c:38:6: note: place parentheses around the assignment to silence this warning if(n=c_sue(a)) return(n); ^ ( ) sue.c:38:6: note: use '==' to turn this assignment into an equality comparison if(n=c_sue(a)) return(n); ^ == sue.c:61:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_sue(a)) return(n); ~^~~~~~~~~ sue.c:61:6: note: place parentheses around the assignment to silence this warning if(n=c_sue(a)) return(n); ^ ( ) sue.c:61:6: note: use '==' to turn this assignment into an equality comparison if(n=c_sue(a)) return(n); ^ == 2 warnings generated. ld -r -x -o sue.xxx sue.o mv sue.xxx sue.o cc -c -DSkip_f2c_Undefs -m64 -g typesize.c ld -r -x -o typesize.xxx typesize.o mv typesize.xxx typesize.o cc -c -DSkip_f2c_Undefs -m64 -g uio.c ld -r -x -o uio.xxx uio.o mv uio.xxx uio.o cc -c -DSkip_f2c_Undefs -m64 -g util.c ld -r -x -o util.xxx util.o mv util.xxx util.o cc -c -DSkip_f2c_Undefs -m64 -g wref.c wref.c:140:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(s -= 2, e1 = 2; s[0] = s[1]; s++) ~~~~~^~~~~~ wref.c:140:29: note: place parentheses around the assignment to silence this warning for(s -= 2, e1 = 2; s[0] = s[1]; s++) ^ ( ) wref.c:140:29: note: use '==' to turn this assignment into an equality comparison for(s -= 2, e1 = 2; s[0] = s[1]; s++) ^ == wref.c:236:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = f__scale) ~~^~~~~~~~~~ wref.c:236:8: note: place parentheses around the assignment to silence this warning if (n = f__scale) ^ ( ) wref.c:236:8: note: use '==' to turn this assignment into an equality comparison if (n = f__scale) ^ == wref.c:239:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ wref.c:286:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(n = *b++) ~~^~~~~~ wref.c:286:10: note: place parentheses around the assignment to silence this warning while(n = *b++) ^ ( ) wref.c:286:10: note: use '==' to turn this assignment into an equality comparison while(n = *b++) ^ == 4 warnings generated. ld -r -x -o wref.xxx wref.o mv wref.xxx wref.o cc -c -DSkip_f2c_Undefs -m64 -g wrtfmt.c ld -r -x -o wrtfmt.xxx wrtfmt.o mv wrtfmt.xxx wrtfmt.o cc -c -DSkip_f2c_Undefs -m64 -g wsfe.c wsfe.c:55:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_sfe(a)) return(n); ~^~~~~~~~~ wsfe.c:55:6: note: place parentheses around the assignment to silence this warning if(n=c_sfe(a)) return(n); ^ ( ) wsfe.c:55:6: note: use '==' to turn this assignment into an equality comparison if(n=c_sfe(a)) return(n); ^ == 1 warning generated. ld -r -x -o wsfe.xxx wsfe.o mv wsfe.xxx wsfe.o cc -c -DSkip_f2c_Undefs -m64 -g wsle.c wsle.c:17:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_le(a)) return(n); ~^~~~~~~~ wsle.c:17:6: note: place parentheses around the assignment to silence this warning if(n=c_le(a)) return(n); ^ ( ) wsle.c:17:6: note: use '==' to turn this assignment into an equality comparison if(n=c_le(a)) return(n); ^ == 1 warning generated. ld -r -x -o wsle.xxx wsle.o mv wsle.xxx wsle.o cc -c -DSkip_f2c_Undefs -m64 -g wsne.c wsne.c:17:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=c_le(a)) ~^~~~~~~~ wsne.c:17:6: note: place parentheses around the assignment to silence this warning if(n=c_le(a)) ^ ( ) wsne.c:17:6: note: use '==' to turn this assignment into an equality comparison if(n=c_le(a)) ^ == 1 warning generated. ld -r -x -o wsne.xxx wsne.o mv wsne.xxx wsne.o cc -c -DSkip_f2c_Undefs -m64 -g xwsne.c ld -r -x -o xwsne.xxx xwsne.o mv xwsne.xxx xwsne.o cc -c -DSkip_f2c_Undefs -m64 -g dtime_.c ld -r -x -o dtime_.xxx dtime_.o mv dtime_.xxx dtime_.o cc -c -DSkip_f2c_Undefs -m64 -g etime_.c ld -r -x -o etime_.xxx etime_.o mv etime_.xxx etime_.o cc -shared -o libf2c.so f77vers.o i77vers.o main.o s_rnge.o abort_.o exit_.o getarg_.o iargc_.o getenv_.o signal_.o s_stop.o s_paus.o system_.o cabs.o ctype.o derf_.o derfc_.o erf_.o erfc_.o sig_die.o uninit.o pow_ci.o pow_dd.o pow_di.o pow_hh.o pow_ii.o pow_ri.o pow_zi.o pow_zz.o c_abs.o c_cos.o c_div.o c_exp.o c_log.o c_sin.o c_sqrt.o z_abs.o z_cos.o z_div.o z_exp.o z_log.o z_sin.o z_sqrt.o r_abs.o r_acos.o r_asin.o r_atan.o r_atn2.o r_cnjg.o r_cos.o r_cosh.o r_dim.o r_exp.o r_imag.o r_int.o r_lg10.o r_log.o r_mod.o r_nint.o r_sign.o r_sin.o r_sinh.o r_sqrt.o r_tan.o r_tanh.o d_abs.o d_acos.o d_asin.o d_atan.o d_atn2.o d_cnjg.o d_cos.o d_cosh.o d_dim.o d_exp.o d_imag.o d_int.o d_lg10.o d_log.o d_mod.o d_nint.o d_prod.o d_sign.o d_sin.o d_sinh.o d_sqrt.o d_tan.o d_tanh.o i_abs.o i_dim.o i_dnnt.o i_indx.o i_len.o i_mod.o i_nint.o i_sign.o lbitbits.o lbitshft.o h_abs.o h_dim.o h_dnnt.o h_indx.o h_len.o h_mod.o h_nint.o h_sign.o l_ge.o l_gt.o l_le.o l_lt.o hl_ge.o hl_gt.o hl_le.o hl_lt.o ef1asc_.o ef1cmc_.o f77_aloc.o s_cat.o s_cmp.o s_copy.o backspac.o close.o dfe.o dolio.o due.o endfile.o err.o fmt.o fmtlib.o ftell_.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o dtime_.o etime_.o -m64 Undefined symbols for architecture x86_64: "_MAIN__", referenced from: _main in main.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libf2c.so] Error 1 f2c/20200425: JSON file created at '/Users/jenkins/w/cci_PR-2877@4/2/230a4ad1-fd16-4221-923b-07df62dacc09/_create.json'