Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 909931 Details for
Bug 943944
app-text/mathtex-1.05 - [libtool] [gcc-15] mathtex.c: error: conflicting types for strcasestr; have char (void)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:mathtex-1.05:20241119-005920.log
app-text:mathtex-1.05:20241119-005920.log (text/plain), 95.14 KB, created by
Toralf Förster
on 2024-11-19 08:50:19 UTC
(
hide
)
Description:
app-text:mathtex-1.05:20241119-005920.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-11-19 08:50:19 UTC
Size:
95.14 KB
patch
obsolete
> * Package: app-text/mathtex-1.05:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux png > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mathtex-1.05.zip to /var/tmp/portage/app-text/mathtex-1.05/work >>>> Source unpacked in /var/tmp/portage/app-text/mathtex-1.05/work >>>> Preparing source in /var/tmp/portage/app-text/mathtex-1.05/work/mathtex ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/mathtex-1.05/work/mathtex ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/mathtex-1.05/work/mathtex ... > * x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -DLATEX="/usr/bin/latex" -DDVIPNG="/usr/bin/dvipng" -DPNG mathtex.c -o mathtex >mathtex.c:167:10: error: conflicting types for âstrcasestrâ; have âchar *(void)â > 167 | char *strcasestr(); /* non-standard extension */ > | ^~~~~~~~~~ >In file included from mathtex.c:166: >/usr/include/string.h:380:14: note: previous declaration of âstrcasestrâ with type âchar *(const char *, const char *)â > 380 | extern char *strcasestr (const char *__haystack, const char *__needle) > | ^~~~~~~~~~ >mathtex.c: In function âmainâ: >mathtex.c:967:17: error: too many arguments to function âpresentwdâ > 967 | if ( (pwdpath = presentwd(0)) /* pwd where exectuable resides */ > | ^~~~~~~~~ >mathtex.c:906:10: note: declared here > 906 | char *presentwd(), *pwdpath=NULL; /* home pwd for relative file paths */ > | ^~~~~~~~~ >mathtex.c:971:1: error: too many arguments to function âstrreplaceâ > 971 | strreplace(this_referer,"\n"," ",0,0); /* get rid of newlines */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:972:1: error: too many arguments to function âstrreplaceâ > 972 | strreplace(this_referer,"\r"," ",0,0); /* ditto cr's, just in case */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1017:28: error: too many arguments to function âreadcachefileâ > 1017 | case 'f': nbytes = readcachefile(field,(unsigned char *)exprbuffer); > | ^~~~~~~~~~~~~ >mathtex.c:888:9: note: declared here > 888 | int readcachefile(), nbytes=0; /*read expr for -f command-line arg*/ > | ^~~~~~~~~~~~~ >mathtex.c:1045:5: error: too many arguments to function âunescape_urlâ > 1045 | unescape_url(expression); /*convert %20, etc (twice for form)*/ > | ^~~~~~~~~~~~ >mathtex.c:856:9: note: declared here > 856 | int unescape_url(); /* convert %20 to blank space, etc */ > | ^~~~~~~~~~~~ >mathtex.c:1047:1: error: too many arguments to function âunescape_urlâ > 1047 | unescape_url(expression); /* convert %20 to blank space, etc */ > | ^~~~~~~~~~~~ >mathtex.c:856:9: note: declared here > 856 | int unescape_url(); /* convert %20 to blank space, etc */ > | ^~~~~~~~~~~~ >mathtex.c:1048:1: error: too many arguments to function âmathprepâ > 1048 | mathprep(expression); /* convert < to <, etc */ > | ^~~~~~~~ >mathtex.c:855:10: note: declared here > 855 | char *mathprep(); /* preprocess expression */ > | ^~~~~~~~ >mathtex.c:1049:1: error: too many arguments to function âvalidateâ > 1049 | validate(expression); /* remove \input, etc */ > | ^~~~~~~~ >mathtex.c:861:9: note: declared here > 861 | int validate(); /* remove \input, etc */ > | ^~~~~~~~ >mathtex.c:1057:11: error: too many arguments to function âisstrstrâ > 1057 | if ( !isstrstr(http_referer,REFERER,0) ) /* invalid http_referer */ > | ^~~~~~~~ >mathtex.c:885:9: note: declared here > 885 | int isstrstr(); /* find any snippet in string */ > | ^~~~~~~~ >mathtex.c:1063:12: error: too many arguments to function âisstrstrâ > 1063 | if ( isstrstr(http_referer,DENYREFERER,0) ) /* invalid http_referer */ > | ^~~~~~~~ >mathtex.c:885:9: note: declared here > 885 | int isstrstr(); /* find any snippet in string */ > | ^~~~~~~~ >mathtex.c:1078:14: error: too many arguments to function âisstrstrâ > 1078 | if ( isstrstr(http_referer,deny,0) ) /* invalid http_referer */ > | ^~~~~~~~ >mathtex.c:885:9: note: declared here > 885 | int isstrstr(); /* find any snippet in string */ > | ^~~~~~~~ >mathtex.c:1089:6: error: too many arguments to function âgetdirectiveâ > 1089 | if ( getdirective(expression,"\\invalidreferer",1,0,1,argstring) > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1104:44: error: too many arguments to function ânomathâ > 1104 | (isempty(http_referer)?"your domain":nomath(http_referer)),0,0); } } > | ^~~~~~ >mathtex.c:866:10: note: declared here > 866 | char *nomath(); /* remove math chars from string */ > | ^~~~~~ >mathtex.c:1103:5: error: too many arguments to function âstrreplaceâ > 1103 | strreplace(expression,"%%referer%%", /* replace actual referer */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1113:12: error: too many arguments to function âisstrstrâ > 1113 | if ( isstrstr(http_referer,NOWAIT,0) ) /* no wait for this refererer */ > | ^~~~~~~~ >mathtex.c:885:9: note: declared here > 885 | int isstrstr(); /* find any snippet in string */ > | ^~~~~~~~ >mathtex.c:1116:7: error: too many arguments to function âtimewaitforâ > 1116 | timewaitfor(whundredths); /* return after waiting */ > | ^~~~~~~~~~~ >mathtex.c:893:9: note: declared here > 893 | int timewaitfor(); /* impose a delay on query replies */ > | ^~~~~~~~~~~ >mathtex.c:1121:6: error: too many arguments to function âgetdirectiveâ > 1121 | if ( getdirective(expression,"\\message",1,0,1,argstring) > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1126:3: error: too many arguments to function âemitembeddedâ > 1126 | emitembedded(msgnumber,(isquery?2:0)); /* emit image, suppress msgfp */ > | ^~~~~~~~~~~~ >mathtex.c:891:9: note: declared here > 891 | int emitembedded(); /* in case latex can't run */ > | ^~~~~~~~~~~~ >mathtex.c:1131:6: error: too many arguments to function âstrreplaceâ > 1131 | if ( strreplace(expression,"\\switches","",0,0) /* remove \switches */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1137:3: error: too many arguments to function âsetpathsâ > 1137 | setpaths(0); /* show _all_ set paths */ > | ^~~~~~~~ >mathtex.c:884:9: note: declared here > 884 | int setpaths(); /* set paths to latex,dvipng,etc */ > | ^~~~~~~~ >mathtex.c:1168:7: error: too many arguments to function âstrreplaceâ > 1168 | if ( strreplace(expression,"\\environment","",0,0) /* remove \environment */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1173:3: error: too many arguments to function âsetpathsâ > 1173 | setpaths(10*latexmethod+imagemethod); /* set paths */ > | ^~~~~~~~ >mathtex.c:884:9: note: declared here > 884 | int setpaths(); /* set paths to latex,dvipng,etc */ > | ^~~~~~~~ >mathtex.c:1182:28: error: too many arguments to function âstrwrapâ > 1182 | " %2d. %s \n", ienv+1,strwrap(environ[ienv],50,-6)); > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1194:6: error: too many arguments to function âgetdirectiveâ > 1194 | if ( getdirective(expression,"\\which",1,0,1,argstring) > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1211:12: error: too many arguments to function âwhichpathâ > 1211 | path = whichpath(argstring,&nlocate); /* path to argstring program */ > | ^~~~~~~~~ >mathtex.c:883:10: note: declared here > 883 | char *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c:1217:3: error: too many arguments to function âstrreplaceâ > 1217 | strreplace(whichtemplate,"%%whichpath%%",whichmsg,0,0); /*insert message*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1234:6: error: too many arguments to function âstrreplaceâ > 1234 | if ( strreplace(expression,"\\nopicture","",0,0) /* remove \nopicture */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1251:6: error: too many arguments to function âstrreplaceâ > 1251 | if ( strreplace(expression,"\\displaystyle","",0,0) /*remove \displaystyle*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1253:6: error: too many arguments to function âstrreplaceâ > 1253 | if ( strreplace(expression,"\\textstyle","",0,0) /* remove \textstyle */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1255:6: error: too many arguments to function âstrreplaceâ > 1255 | if ( strreplace(expression,"\\parstyle","",0,0) /* remove \parstyle */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1257:6: error: too many arguments to function âstrreplaceâ > 1257 | if ( strreplace(expression,"\\parmode","",0,0) /*\parmode same as \parstyle*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1260:6: error: too many arguments to function âstrreplaceâ > 1260 | if ( strreplace(expression,"\\quiet","",0,0) /*remove occurrences of \quiet*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1262:6: error: too many arguments to function âstrreplaceâ > 1262 | if ( strreplace(expression,"\\noquiet","",0,0) /* remove \noquiet */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1264:6: error: too many arguments to function âgetdirectiveâ > 1264 | if ( getdirective(expression,"\\nquiet",1,0,1,argstring) /*\nquiet{#Enters}*/ > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1268:6: error: too many arguments to function âgetdirectiveâ > 1268 | if ( getdirective(expression,"\\convertpath",1,0,1,argstring) /*convert path*/ > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1281:9: error: too many arguments to function âstrreplaceâ > 1281 | strreplace(expression,sizedirectives[irep],"",1,0); /*remove \size*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1284:6: error: too many arguments to function âstrreplaceâ > 1284 | if ( strreplace(expression,"\\depth","",0,0) /* \depth requested */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1292:18: error: too many arguments to function âstrreplaceâ > 1292 | /*ntilde =*/ strreplace(expression,"~"," ",0,0); } > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1295:6: error: too many arguments to function âstrreplaceâ > 1295 | if ( strreplace(expression,"\\nodepth","",0,0) /* \nodepth requested */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1301:34: error: too many arguments to function âtimestampâ > 1301 | strreplace(expression,"\\time",timestamp(TZDELTA,3),0,0); /* insert time */ > | ^~~~~~~~~ >mathtex.c:889:10: note: declared here > 889 | char *timestamp(), /*for \time (in addition to \today)*/ > | ^~~~~~~~~ >mathtex.c:1301:3: error: too many arguments to function âstrreplaceâ > 1301 | strreplace(expression,"\\time",timestamp(TZDELTA,3),0,0); /* insert time */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1308:38: error: too many arguments to function âtimestampâ > 1308 | strreplace(expression,"\\thisyear",timestamp(TZDELTA,5),0,0);/*insert year*/ > | ^~~~~~~~~ >mathtex.c:889:10: note: declared here > 889 | char *timestamp(), /*for \time (in addition to \today)*/ > | ^~~~~~~~~ >mathtex.c:1308:3: error: too many arguments to function âstrreplaceâ > 1308 | strreplace(expression,"\\thisyear",timestamp(TZDELTA,5),0,0);/*insert year*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1313:38: error: too many arguments to function âcalendarâ > 1313 | strreplace(expression,"\\calendar",calendar(yy,mm,dd),0,1); > | ^~~~~~~~ >mathtex.c:890:10: note: declared here > 890 | *calendar(); /* for \calendar{yyyy,mm,dd} string*/ > | ^~~~~~~~ >mathtex.c:1313:3: error: too many arguments to function âstrreplaceâ > 1313 | strreplace(expression,"\\calendar",calendar(yy,mm,dd),0,1); > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1319:8: error: too many arguments to function âgetdirectiveâ > 1319 | if ( getdirective(expression,"\\usepackage",1,0,-1,packages[npackages]) > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1342:6: error: too many arguments to function âstrreplaceâ > 1342 | if ( strreplace(expression,"\\advertisement","",0,0) /*remove \advertisement*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1345:6: error: too many arguments to function âstrreplaceâ > 1345 | if ( strreplace(expression,"\\version","",0,0) /* remove \version */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1349:6: error: too many arguments to function âstrreplaceâ > 1349 | if ( strreplace(expression,"\\png","",0,0) /* remove occurrences of \png */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1351:6: error: too many arguments to function âstrreplaceâ > 1351 | if ( strreplace(expression,"\\gif","",0,0) /* remove occurrences of \gif */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1354:6: error: too many arguments to function âstrreplaceâ > 1354 | if ( strreplace(expression,"\\latex","",1,0) /*remove occurrences of \latex*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1356:6: error: too many arguments to function âstrreplaceâ > 1356 | if ( strreplace(expression,"\\pdflatex","",0,0) /* remove \pdflatex */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1359:6: error: too many arguments to function âstrreplaceâ > 1359 | if ( strreplace(expression,"\\dvipng","",0,0) /*remove occurrences of \dvipng*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1363:6: error: too many arguments to function âstrreplaceâ > 1363 | if ( strreplace(expression,"\\dvips","",0,0) /* remove occurrences of -dvips*/ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1368:6: error: too many arguments to function âgetdirectiveâ > 1368 | if ( getdirective(expression,"\\density",1,1,1,density) /*look for \density*/ > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1370:3: error: too many arguments to function âgetdirectiveâ > 1370 | getdirective(expression,"\\dpi",1,1,1,density); /* so try \dpi instead */ > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1372:1: error: too many arguments to function âgetdirectiveâ > 1372 | getdirective(expression,"\\gammacorrection",1,1,1,gamma); /*look for \gamma*/ > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1374:6: error: too many arguments to function âstrreplaceâ > 1374 | if ( strreplace(expression,"\\cache","",0,0) /* remove \cache */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1376:6: error: too many arguments to function âstrreplaceâ > 1376 | if ( strreplace(expression,"\\nocache","",0,0) /* remove \nocache */ > | ^~~~~~~~~~ >mathtex.c:857:9: note: declared here > 857 | int strreplace(), irep=0; /* look for keywords in expression */ > | ^~~~~~~~~~ >mathtex.c:1381:23: error: too many arguments to function âgetdirectiveâ > 1381 | while ( (pdirective=getdirective(thisrep,"\\eval",1,0,1,argstring)) > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1383:39: error: too many arguments to function âevaltermâ > 1383 | int ival = (isempty(argstring)?0:evalterm(mathtexstore,argstring)); > | ^~~~~~~~ >mathtex.c:863:9: note: declared here > 863 | int evalterm(); /* preprocess \eval{expression} */ > | ^~~~~~~~ >mathtex.c:1386:5: error: too many arguments to function âstrchangeâ > 1386 | strchange(0,pdirective,aval); } /* replace \eval{} with result */ > | ^~~~~~~~~ >mathtex.c:858:10: note: declared here > 858 | char *strchange(); /* edit expression */ > | ^~~~~~~~~ >mathtex.c:1425:17: error: too many arguments to function âcrc16â > 1425 | int npump = crc16(expression)%16; /* #times, 0-15, to pump rand() */ > | ^~~~~ >mathtex.c:862:26: note: declared here > 862 | int advertisement(), crc16(); /*wrap expression in advertisement*/ > | ^~~~~ >mathtex.c:1426:14: error: too many arguments to function âtimestampâ > 1426 | srand(atoi(timestamp(TZDELTA,4))); /* init rand() with mmddhhmmss */ > | ^~~~~~~~~ >mathtex.c:889:10: note: declared here > 889 | char *timestamp(), /*for \time (in addition to \today)*/ > | ^~~~~~~~~ >mathtex.c:1429:5: error: too many arguments to function âadvertisementâ > 1429 | advertisement(expression,adtemplate); /*wrap expression in advertisement*/ > | ^~~~~~~~~~~~~ >mathtex.c:862:9: note: declared here > 862 | int advertisement(), crc16(); /*wrap expression in advertisement*/ > | ^~~~~~~~~~~~~ >mathtex.c:1430:10: error: too many arguments to function âstrcasestrâ > 1430 | if ( strcasestr(hashexpr,"\\advertisement") == NULL ) /* random ad */ > | ^~~~~~~~~~ >mathtex.c:167:10: note: declared here > 167 | char *strcasestr(); /* non-standard extension */ > | ^~~~~~~~~~ >mathtex.c:1431:7: error: too many arguments to function âstrchangeâ > 1431 | strchange(0,hashexpr,"\\advertisement "); } } /* signal ad in expr */ > | ^~~~~~~~~ >mathtex.c:858:10: note: declared here > 858 | char *strchange(); /* edit expression */ > | ^~~~~~~~~ >mathtex.c:1435:11: error: too many arguments to function âmd5strâ > 1435 | md5hash = md5str(hashexpr); /* md5 hash of original expression */ > | ^~~~~~ >mathtex.c:905:10: note: declared here > 905 | char *md5str(), *md5hash=NULL; /* md5 has of expression */ > | ^~~~~~ >mathtex.c:1439:6: error: too many arguments to function âgetdirectiveâ > 1439 | if ( getdirective(expression,"\\msglevel",1,0,1,argstring)/*look for \msglvl*/ > | ^~~~~~~~~~~~ >mathtex.c:859:10: note: declared here > 859 | char *getdirective(), argstring[256],/*look for \density,\usepackage,etc*/ > | ^~~~~~~~~~~~ >mathtex.c:1444:19: error: too many arguments to function âmakepathâ > 1444 | msgfp = fopen(makepath(NULL,md5hash,".out"),"w"); /* file md5hash.out */ > | ^~~~~~~~ >mathtex.c:904:10: note: declared here > 904 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1450:3: note: in expansion of macro âshowmsgâ > 1450 | showmsg(3,"running image",argv[0]); /* and executable image if verbose */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1451:3: note: in expansion of macro âshowmsgâ > 1451 | showmsg(4,"home directory",homepath); /* and pwd of executable image */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1452:3: note: in expansion of macro âshowmsgâ > 1452 | showmsg(2,"input expression",hashexpr); /* and input expression */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1456:8: error: too many arguments to function âtimelimitâ > 1456 | (timelimit("",-99)==992?"Built-in":"Stub"), warntime, killtime, > | ^~~~~~~~~ >mathtex.c:892:9: note: declared here > 892 | int timelimit(); /* just to check stub or built-in */ > | ^~~~~~~~~ >mathtex.c:1468:21: error: too many arguments to function âmakepathâ > 1468 | if ( !isdexists(makepath(NULL,NULL,NULL)) ) /* and no cache directory */ > | ^~~~~~~~ >mathtex.c:904:10: note: declared here > 904 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1468:11: error: too many arguments to function âisdexistsâ > 1468 | if ( !isdexists(makepath(NULL,NULL,NULL)) ) /* and no cache directory */ > | ^~~~~~~~~ >mathtex.c:886:9: note: declared here > 886 | int isdexists(); /* check whether cache dir exists */ > | ^~~~~~~~~ >mathtex.c:1469:18: error: too many arguments to function âmakepathâ > 1469 | if ( mkdir(makepath(NULL,NULL,NULL),perm_all) /* so make cache dir */ > | ^~~~~~~~ >mathtex.c:904:10: note: declared here > 904 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1471:9: error: too many arguments to function âemitembeddedâ > 1471 | emitembedded(CACHEFAILED,isquery); /* emit CACHEFAILED message */ > | ^~~~~~~~~~~~ >mathtex.c:891:9: note: declared here > 891 | int emitembedded(); /* in case latex can't run */ > | ^~~~~~~~~~~~ >mathtex.c:1478:20: error: too many arguments to function âmakepathâ > 1478 | if(emitcache(makepath(NULL,md5hash,extensions[imagetype]),maxage,0) > 0) > | ^~~~~~~~ >mathtex.c:904:10: note: declared here > 904 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1478:10: error: too many arguments to function âemitcacheâ > 1478 | if(emitcache(makepath(NULL,md5hash,extensions[imagetype]),maxage,0) > 0) > | ^~~~~~~~~ >mathtex.c:902:9: note: declared here > 902 | int emitcache(); /* emit cached image if it exists */ > | ^~~~~~~~~ >mathtex.c:1486:9: error: too many arguments to function âmathlogâ > 1486 | mathlog(hashexpr,md5hash); /* log request for new image */ > | ^~~~~~~ >mathtex.c:907:9: note: declared here > 907 | int mathlog(); /* log requests */ > | ^~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1494:3: note: in expansion of macro âshowmsgâ > 1494 | showmsg(9,"working directory",tempdir); /* working directory */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1496:8: error: too many arguments to function âmathtexâ > 1496 | if ( mathtex(expression,md5hash) /* generate new image */ > | ^~~~~~~ >mathtex.c:899:9: note: declared here > 899 | int mathtex(); /* generate new image using LaTeX */ > | ^~~~~~~ >mathtex.c:1501:20: error: too many arguments to function âmakepathâ > 1501 | rewritecache(makepath(NULL,md5hash,extensions[imagetype]),maxage); > | ^~~~~~~~ >mathtex.c:904:10: note: declared here > 904 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1501:7: error: too many arguments to function ârewritecacheâ > 1501 | rewritecache(makepath(NULL,md5hash,extensions[imagetype]),maxage); > | ^~~~~~~~~~~~ >mathtex.c:901:9: note: declared here > 901 | int rewritecache(); /* rewrite cachefile with imageinfo*/ > | ^~~~~~~~~~~~ >mathtex.c:1505:17: error: too many arguments to function âmakepathâ > 1505 | emitcache(makepath(NULL,md5hash,extensions[imagetype]),maxage,0); } > | ^~~~~~~~ >mathtex.c:904:10: note: declared here > 904 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1505:7: error: too many arguments to function âemitcacheâ > 1505 | emitcache(makepath(NULL,md5hash,extensions[imagetype]),maxage,0); } > | ^~~~~~~~~ >mathtex.c:902:9: note: declared here > 902 | int emitcache(); /* emit cached image if it exists */ > | ^~~~~~~~~ >mathtex.c:1510:5: error: too many arguments to function âemitembeddedâ > 1510 | emitembedded(msgnumber,isquery); } /* emit message image */ > | ^~~~~~~~~~~~ >mathtex.c:891:9: note: declared here > 891 | int emitembedded(); /* in case latex can't run */ > | ^~~~~~~~~~~~ >mathtex.c:1516:14: error: too many arguments to function âmakepathâ > 1516 | remove(makepath(NULL,md5hash,extensions[imagetype])); /* remove file */ > | ^~~~~~~~ >mathtex.c:904:10: note: declared here > 904 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c: At top level: >mathtex.c:1542:9: error: conflicting types for âmathtexâ; have âint(char *, char *)â > 1542 | int mathtex ( char *expression, char *filename ) > | ^~~~~~~ >mathtex.c:899:9: note: previous declaration of âmathtexâ with type âint(void)â > 899 | int mathtex(); /* generate new image using LaTeX */ > | ^~~~~~~ >mathtex.c: In function âmathtexâ: >mathtex.c:1587:7: error: too many arguments to function âisdexistsâ > 1587 | if ( isdexists(workpath) ) /* if working directory exists */ > | ^~~~~~~~~ >mathtex.c:1572:9: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1590:7: error: too many arguments to function âisdexistsâ > 1590 | if ( !isdexists(tempdir/*filename*/) ) /* if temp directory doesn't exist */ > | ^~~~~~~~~ >mathtex.c:1572:9: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1619:1: error: too many arguments to function âstrreplaceâ > 1619 | strreplace(latexwrapper,"%%referer%%",this_referer,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1623:5: error: too many arguments to function âstrreplaceâ > 1623 | strreplace(latexwrapper,"%%pagestyle%%","\\pagestyle{empty}",1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1627:5: error: too many arguments to function âstrreplaceâ > 1627 | strreplace(latexwrapper,"%%previewenviron%%", > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1631:3: error: too many arguments to function âstrreplaceâ > 1631 | strreplace(latexwrapper,"%%beginmath%%",beginmath[mathmode],1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1632:3: error: too many arguments to function âstrreplaceâ > 1632 | strreplace(latexwrapper,"%%endmath%%",endmath[mathmode],1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1634:3: error: too many arguments to function âstrreplaceâ > 1634 | strreplace(latexwrapper,"%%fontsize%%",sizedirectives[fontsize],1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1638:5: error: too many arguments to function âstrreplaceâ > 1638 | strreplace(latexwrapper,"%%setlength%%", /* so default it to 1 inch */ > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1641:3: error: too many arguments to function âstrreplaceâ > 1641 | strreplace(latexwrapper,"%%usepackage%%",usepackage,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1643:3: error: too many arguments to function âstrreplaceâ > 1643 | strreplace(latexwrapper,"%%expression%%",expression,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1647:18: error: too many arguments to function âmakepathâ > 1647 | strcpy(latexfile,makepath("","latex",".tex")); /* latex filename latex.tex */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1657:1: error: too many arguments to function âsetpathsâ > 1657 | setpaths(10*latexmethod+imagemethod); > | ^~~~~~~~ >mathtex.c:1561:9: note: declared here > 1561 | int setpaths(); /* set paths for latex,dvipng,etc */ > | ^~~~~~~~ >mathtex.c:1668:18: error: too many arguments to function âmakepathâ > 1668 | strcat(command,makepath("",timelimitpath,NULL)); /* timelimit program */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1677:21: error: too many arguments to function âmakepathâ > 1677 | strcpy(subcommand,makepath("",latexpath,NULL)); /* running latex program */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1679:21: error: too many arguments to function âmakepathâ > 1679 | strcpy(subcommand,makepath("",pdflatexpath,NULL)); /* running pdflatex */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1700:1: note: in expansion of macro âshowmsgâ > 1700 | showmsg(5,"latex command executed",command); /* show latex command executed*/ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1702:12: error: too many arguments to function âtimelimitâ > 1702 | sys_stat = timelimit(command,killtime); /* throttle the latex command */ > | ^~~~~~~~~ >mathtex.c:1581:9: note: declared here > 1581 | int timelimit(); /* and using built-in timelimit() */ > | ^~~~~~~~~ >mathtex.c:1706:19: error: too many arguments to function âmakepathâ > 1706 | if ( !isfexists(makepath("","latex",".dvi")) ) /* but no latex dvi */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1706:9: error: too many arguments to function âisfexistsâ > 1706 | if ( !isfexists(makepath("","latex",".dvi")) ) /* but no latex dvi */ > | ^~~~~~~~~ >mathtex.c:1572:22: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1709:19: error: too many arguments to function âmakepathâ > 1709 | if ( !isfexists(makepath("","latex",".pdf")) ) /* but no pdflatex pdf */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1709:9: error: too many arguments to function âisfexistsâ > 1709 | if ( !isfexists(makepath("","latex",".pdf")) ) /* but no pdflatex pdf */ > | ^~~~~~~~~ >mathtex.c:1572:22: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1720:8: error: too many arguments to function âisnotfoundâ > 1720 | (isnotfound("latex")?SYLTXFAILED: /* latex program not found */ > | ^~~~~~~~~~ >mathtex.c:1573:9: note: declared here > 1573 | isnotfound(); /* check .err file for "not found" */ > | ^~~~~~~~~~ >mathtex.c:1728:17: error: too many arguments to function âmakepathâ > 1728 | if ( isfexists(makepath("","latex",".info")) ) { /* and have latex.info */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1728:7: error: too many arguments to function âisfexistsâ > 1728 | if ( isfexists(makepath("","latex",".info")) ) { /* and have latex.info */ > | ^~~~~~~~~ >mathtex.c:1572:22: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1729:22: error: too many arguments to function âmakepathâ > 1729 | FILE *info = fopen(makepath("","latex",".info"),"r"); /*open it for read*/ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1766:21: error: too many arguments to function âpresentwdâ > 1766 | if ( (pwdpath=presentwd(nsub)) /* get path nsub dirs up from pwd */ > | ^~~~~~~~~ >mathtex.c:1574:10: note: declared here > 1574 | char *presentwd(), *pwdpath=NULL; /* pwd for file paths */ > | ^~~~~~~~~ >mathtex.c:1779:18: error: too many arguments to function âmakepathâ > 1779 | strcat(giffile,makepath(NULL,filename,extensions[imagetype])); > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1781:18: error: too many arguments to function âmakepathâ > 1781 | strcat(giffile,makepath("",outfile,extensions[imagetype])); > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1782:1: note: in expansion of macro âshowmsgâ > 1782 | showmsg(3,"output image file",giffile+gifpathlen); /* show output filename */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1791:3: error: too many arguments to function âstrreplaceâ > 1791 | strreplace(dvipngargs,"%%imagetype%%",extensions[imagetype],1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1793:3: error: too many arguments to function âstrreplaceâ > 1793 | strreplace(dvipngargs,"%%dpi%%",density,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1795:3: error: too many arguments to function âstrreplaceâ > 1795 | strreplace(dvipngargs,"%%gamma%%",gamma,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1797:3: error: too many arguments to function âstrreplaceâ > 1797 | strreplace(dvipngargs,"%%giffile%%",giffile,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1801:18: error: too many arguments to function âmakepathâ > 1801 | strcpy(command,makepath("",dvipngpath,NULL)); /* running dvipng program */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1806:18: error: too many arguments to function âmakepathâ > 1806 | strcat(command,makepath("","latex",".dvi")); /* run dvipng on latex.dvi */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1808:3: note: in expansion of macro âshowmsgâ > 1808 | showmsg(5,"dvipng command executed",command); /* dvipng command executed */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1811:9: error: too many arguments to function âisfexistsâ > 1811 | || !isfexists(giffile) ) { /*or dvipng failed to create giffile*/ > | ^~~~~~~~~ >mathtex.c:1572:22: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1814:8: error: too many arguments to function âisnotfoundâ > 1814 | (isnotfound("dvipng")?SYPNGFAILED: /* dvipng program not found */ > | ^~~~~~~~~~ >mathtex.c:1573:9: note: declared here > 1573 | isnotfound(); /* check .err file for "not found" */ > | ^~~~~~~~~~ >mathtex.c:1826:20: error: too many arguments to function âmakepathâ > 1826 | strcpy(command,makepath("",dvipspath,NULL)); /* running dvips program */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1832:20: error: too many arguments to function âmakepathâ > 1832 | strcat(command,makepath("","latex",".dvi")); /* run dvips on latex.dvi */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1835:22: error: too many arguments to function âmakepathâ > 1835 | strcat(command,makepath("","dvips",".ps")); /*dvips.ps postscript file*/ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1837:22: error: too many arguments to function âmakepathâ > 1837 | strcat(command,makepath("","dvitemp",".ps")); /*temp postscript file*/ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1839:5: note: in expansion of macro âshowmsgâ > 1839 | showmsg(5,"dvips command executed",command); /* dvips command executed */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1844:22: error: too many arguments to function âmakepathâ > 1844 | strcpy(command,makepath("",ps2epsipath,NULL)); /* running ps2epsi */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1849:22: error: too many arguments to function âmakepathâ > 1849 | strcat(command,makepath("","dvitemp",".ps")); /*temp postscript file*/ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1851:22: error: too many arguments to function âmakepathâ > 1851 | strcat(command,makepath("","dvips",".ps")); /*dvips.ps postscript file*/ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1853:7: note: in expansion of macro âshowmsgâ > 1853 | showmsg(5,"ps2epsi command executed",command); /* command executed */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1857:21: error: too many arguments to function âmakepathâ > 1857 | || !isfexists(makepath("","dvips",".ps")) ) { /*dvips didn't create .ps*/ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1857:11: error: too many arguments to function âisfexistsâ > 1857 | || !isfexists(makepath("","dvips",".ps")) ) { /*dvips didn't create .ps*/ > | ^~~~~~~~~ >mathtex.c:1572:22: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1860:10: error: too many arguments to function âisnotfoundâ > 1860 | (isnotfound("dvips")?SYPSFAILED: /* dvips program not found */ > | ^~~~~~~~~~ >mathtex.c:1573:9: note: declared here > 1573 | isnotfound(); /* check .err file for "not found" */ > | ^~~~~~~~~~ >mathtex.c:1868:3: error: too many arguments to function âstrreplaceâ > 1868 | strreplace(convertargs,"%%dpi%%",density,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1870:3: error: too many arguments to function âstrreplaceâ > 1870 | strreplace(convertargs,"%%gamma%%",gamma,1,0); > | ^~~~~~~~~~ >mathtex.c:1576:9: note: declared here > 1576 | int strreplace(); /* replace template directives */ > | ^~~~~~~~~~ >mathtex.c:1874:18: error: too many arguments to function âmakepathâ > 1874 | strcpy(command,makepath("",convertpath,NULL)); /*running convert program*/ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1880:20: error: too many arguments to function âmakepathâ > 1880 | strcat(command,makepath("","dvips",".ps")); /* convert from postscript */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:1882:20: error: too many arguments to function âmakepathâ > 1882 | strcat(command,makepath("","latex",".pdf")); /* convert from pdf */ > | ^~~~~~~~ >mathtex.c:1562:10: note: declared here > 1562 | char *makepath(), latexfile[256],giffile[256]="\000";/*path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:1886:3: note: in expansion of macro âshowmsgâ > 1886 | showmsg(5,"convert command executed",command); /*convert command executed*/ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:1889:9: error: too many arguments to function âisfexistsâ > 1889 | || !isfexists(giffile) ) { /* or convert didn't create giffile*/ > | ^~~~~~~~~ >mathtex.c:1572:22: note: declared here > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:1892:8: error: too many arguments to function âisnotfoundâ > 1892 | (isnotfound("convert")?SYCVTFAILED: /* convert program not found */ > | ^~~~~~~~~~ >mathtex.c:1573:9: note: declared here > 1573 | isnotfound(); /* check .err file for "not found" */ > | ^~~~~~~~~~ >mathtex.c:1902:24: error: too many arguments to function ârrmdirâ > 1902 | if ( dir_stat >= 1 ) rrmdir(tempdir/*filename*/);/*rm -r temp working dir*/ > | ^~~~~~ >mathtex.c:1578:9: note: declared here > 1578 | int rrmdir(); /* rm -r */ > | ^~~~~~ >mathtex.c: At top level: >mathtex.c:1928:9: error: conflicting types for âsetpathsâ; have âint(int)â > 1928 | int setpaths ( int method ) > | ^~~~~~~~ >mathtex.c:1561:9: note: previous declaration of âsetpathsâ with type âint(void)â > 1561 | int setpaths(); /* set paths for latex,dvipng,etc */ > | ^~~~~~~~ >mathtex.c: In function âsetpathsâ: >mathtex.c:1949:21: error: too many arguments to function âwhichpathâ > 1949 | if ( (programpath=whichpath("latex",&nlocate)) /* try to find latex path */ > | ^~~~~~~~~ >mathtex.c:1933:29: note: declared here > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c:1959:21: error: too many arguments to function âwhichpathâ > 1959 | if ( (programpath=whichpath("pdflatex",&nlocate)) /*try to find pdflatex*/ > | ^~~~~~~~~ >mathtex.c:1933:29: note: declared here > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c:1971:23: error: too many arguments to function âwhichpathâ > 1971 | if ( (programpath=whichpath("timelimit",&nlocate)) /* try to find path */ > | ^~~~~~~~~ >mathtex.c:1933:29: note: declared here > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c:1981:21: error: too many arguments to function âwhichpathâ > 1981 | if ( (programpath=whichpath("dvipng",&nlocate)) /* try to find dvipng */ > | ^~~~~~~~~ >mathtex.c:1933:29: note: declared here > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c:1991:21: error: too many arguments to function âwhichpathâ > 1991 | if ( (programpath=whichpath("dvips",&nlocate)) /* try to find dvips path */ > | ^~~~~~~~~ >mathtex.c:1933:29: note: declared here > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c:2003:21: error: too many arguments to function âwhichpathâ > 2003 | if ( (programpath=whichpath("ps2epsi",&nlocate))/*try to find ps2epsi path*/ > | ^~~~~~~~~ >mathtex.c:1933:29: note: declared here > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c:2013:21: error: too many arguments to function âwhichpathâ > 2013 | if ( (programpath=whichpath("convert",&nlocate)) /* try to find convert */ > | ^~~~~~~~~ >mathtex.c:1933:29: note: declared here > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:2054:9: error: conflicting types for âisnotfoundâ; have âint(char *)â > 2054 | int isnotfound ( char *filename ) > | ^~~~~~~~~~ >mathtex.c:1573:9: note: previous declaration of âisnotfoundâ with type âint(void)â > 1573 | isnotfound(); /* check .err file for "not found" */ > | ^~~~~~~~~~ >mathtex.c: In function âisnotfoundâ: >mathtex.c:2073:7: error: too many arguments to function âisfexistsâ > 2073 | if ( !isfexists(command) ) { /* filename.err doesn't exist */ > | ^~~~~~~~~ >mathtex.c:2060:9: note: declared here > 2060 | int isfexists(); /* check if filename exists */ > | ^~~~~~~~~ >mathtex.c:2084:8: error: too many arguments to function âstrreplaceâ > 2084 | if ( strreplace(grepline,"not found","",0,0) /* check for "not found" */ > | ^~~~~~~~~~ >mathtex.c:2064:9: note: declared here > 2064 | int strreplace(); /* make sure "not found" was found */ > | ^~~~~~~~~~ >mathtex.c:2086:8: error: too many arguments to function âstrreplaceâ > 2086 | if ( strreplace(grepline,"no such","",0,0) /* check for "no such" */ > | ^~~~~~~~~~ >mathtex.c:2064:9: note: declared here > 2064 | int strreplace(); /* make sure "not found" was found */ > | ^~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:2136:9: error: conflicting types for âvalidateâ; have âint(char *)â > 2136 | int validate ( char *expression ) > | ^~~~~~~~ >mathtex.c:861:9: note: previous declaration of âvalidateâ with type âint(void)â > 861 | int validate(); /* remove \input, etc */ > | ^~~~~~~~ >mathtex.c: In function âvalidateâ: >mathtex.c:2238:23: error: too many arguments to function âgetdirectiveâ > 2238 | while ( (pcommand = getdirective(expression,command,1,0,nargs,argptr)) > | ^~~~~~~~~~~~ >mathtex.c:2194:10: note: declared here > 2194 | char *getdirective(), *pcommand=NULL; /* find and remove invalid command */ > | ^~~~~~~~~~~~ >mathtex.c:2248:25: error: too many arguments to function ânomathâ > 2248 | strcat(optstr,nomath(optionalargs[iopt])); /*optional arg string*/ > | ^~~~~~ >mathtex.c:2201:10: note: declared here > 2201 | char *nomath(); /* change \ to \\, { to \{, etc */ > | ^~~~~~ >mathtex.c:2253:22: error: too many arguments to function ânomathâ > 2253 | strcat(display,nomath(command)); /* command without \ */ > | ^~~~~~ >mathtex.c:2201:10: note: declared here > 2201 | char *nomath(); /* change \ to \\, { to \{, etc */ > | ^~~~~~ >mathtex.c:2260:24: error: too many arguments to function ânomathâ > 2260 | strcat(display,nomath(args[iarg])); /* arg */ > | ^~~~~~ >mathtex.c:2201:10: note: declared here > 2201 | char *nomath(); /* change \ to \\, { to \{, etc */ > | ^~~~~~ >mathtex.c:2266:9: error: too many arguments to function âstrreplaceâ > 2266 | strreplace(display,"[#0]","",0,0); /* so remove tag from template */ > | ^~~~~~~~~~ >mathtex.c:2200:9: note: declared here > 2200 | int strreplace(); /* replace #1 with args[0], etc */ > | ^~~~~~~~~~ >mathtex.c:2269:11: error: too many arguments to function âstrreplaceâ > 2269 | strreplace(display,"[#0]",optstr,0,0); /*insert them before {arg}*/ > | ^~~~~~~~~~ >mathtex.c:2200:9: note: declared here > 2200 | int strreplace(); /* replace #1 with args[0], etc */ > | ^~~~~~~~~~ >mathtex.c:2273:37: error: too many arguments to function ânomathâ > 2273 | strreplace(display,argstr,nomath(args[iarg]),0,0); } /* replace */ > | ^~~~~~ >mathtex.c:2201:10: note: declared here > 2201 | char *nomath(); /* change \ to \\, { to \{, etc */ > | ^~~~~~ >mathtex.c:2273:11: error: too many arguments to function âstrreplaceâ > 2273 | strreplace(display,argstr,nomath(args[iarg]),0,0); } /* replace */ > | ^~~~~~~~~~ >mathtex.c:2200:9: note: declared here > 2200 | int strreplace(); /* replace #1 with args[0], etc */ > | ^~~~~~~~~~ >mathtex.c:2276:5: error: too many arguments to function âstrchangeâ > 2276 | strchange(0,pcommand,display); /* place display where command was */ > | ^~~~~~~~~ >mathtex.c:2199:10: note: declared here > 2199 | char *strchange(); /* place display where command was */ > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:2301:9: error: conflicting types for âadvertisementâ; have âint(char *, char *)â > 2301 | int advertisement ( char *expression, char *message ) > | ^~~~~~~~~~~~~ >mathtex.c:862:9: note: previous declaration of âadvertisementâ with type âint(void)â > 862 | int advertisement(), crc16(); /*wrap expression in advertisement*/ > | ^~~~~~~~~~~~~ >mathtex.c: In function âadvertisementâ: >mathtex.c:2334:3: error: too many arguments to function âstrreplaceâ > 2334 | strreplace(adbuffer,"%%beginmath%%",beginmath[mathmode],1,0); > | ^~~~~~~~~~ >mathtex.c:2323:9: note: declared here > 2323 | int strreplace(); /* replace %%keywords%% with values*/ > | ^~~~~~~~~~ >mathtex.c:2335:3: error: too many arguments to function âstrreplaceâ > 2335 | strreplace(adbuffer,"%%endmath%%",endmath[mathmode],1,0); > | ^~~~~~~~~~ >mathtex.c:2323:9: note: declared here > 2323 | int strreplace(); /* replace %%keywords%% with values*/ > | ^~~~~~~~~~ >mathtex.c:2337:3: error: too many arguments to function âstrreplaceâ > 2337 | strreplace(adbuffer,"%%expression%%",expression,1,0); > | ^~~~~~~~~~ >mathtex.c:2323:9: note: declared here > 2323 | int strreplace(); /* replace %%keywords%% with values*/ > | ^~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:2360:9: error: conflicting types for âmathlogâ; have âint(char *, char *)â > 2360 | int mathlog ( char *expression, char *filename ) > | ^~~~~~~ >mathtex.c:907:9: note: previous declaration of âmathlogâ with type âint(void)â > 907 | int mathlog(); /* log requests */ > | ^~~~~~~ >mathtex.c: In function âmathlogâ: >mathtex.c:2375:22: error: too many arguments to function âmakepathâ > 2375 | if ( (filefp=fopen(makepath(NULL,CACHELOG,NULL),"a")) /*open logfile*/ > | ^~~~~~~~ >mathtex.c:2367:10: note: declared here > 2367 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:2379:5: error: too many arguments to function âtimestampâ > 2379 | timestamp(TZDELTA,0), /* timestamp */ > | ^~~~~~~~~ >mathtex.c:2366:10: note: declared here > 2366 | char *timestamp(); /* time stamp for logged messages */ > | ^~~~~~~~~ >mathtex.c:2380:5: error: too many arguments to function âmakepathâ > 2380 | makepath("",filename,extensions[imagetype])); /* hashed filename */ > | ^~~~~~~~ >mathtex.c:2367:10: note: declared here > 2367 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c: At top level: >mathtex.c:2419:10: error: conflicting types for âmakepathâ; have âchar *(char *, char *, char *)â > 2419 | char *makepath ( char *path, char *name, char *extension ) > | ^~~~~~~~ >mathtex.c:2367:10: note: previous declaration of âmakepathâ with type âchar *(void)â > 2367 | char *makepath(); /* construct full path/filename.ext*/ > | ^~~~~~~~ >mathtex.c:2475:9: error: conflicting types for âisfexistsâ; have âint(char *)â > 2475 | int isfexists ( char *filename ) > | ^~~~~~~~~ >mathtex.c:2060:9: note: previous declaration of âisfexistsâ with type âint(void)â > 2060 | int isfexists(); /* check if filename exists */ > | ^~~~~~~~~ >mathtex.c:2498:9: error: conflicting types for âisdexistsâ; have âint(char *)â > 2498 | int isdexists ( char *dirname ) > | ^~~~~~~~~ >mathtex.c:1572:9: note: previous declaration of âisdexistsâ with type âint(void)â > 1572 | int isdexists(), isfexists(), /* check if dir, .dvi file created */ > | ^~~~~~~~~ >mathtex.c:2532:10: error: conflicting types for âwhichpathâ; have âchar *(char *, int *)â > 2532 | char *whichpath ( char *program, int *nlocate ) > | ^~~~~~~~~ >mathtex.c:1933:29: note: previous declaration of âwhichpathâ with type âchar *(void)â > 1933 | char *programpath=NULL, *whichpath(); /* look for latex,dvipng,etc */ > | ^~~~~~~~~ >mathtex.c: In function âwhichpathâ: >mathtex.c:2571:14: error: too many arguments to function âlocatepathâ > 2571 | path = locatepath(program,nlocate); /* try locate instead */ > | ^~~~~~~~~~ >mathtex.c:2543:10: note: declared here > 2543 | char *locatepath(); /* try locate if which fails */ > | ^~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:2590:10: error: conflicting types for âlocatepathâ; have âchar *(char *, int *)â > 2590 | char *locatepath ( char *program, int *nlocate ) > | ^~~~~~~~~~ >mathtex.c:2543:10: note: previous declaration of âlocatepathâ with type âchar *(void)â > 2543 | char *locatepath(); /* try locate if which fails */ > | ^~~~~~~~~~ >mathtex.c:2642:10: error: conflicting types for âpresentwdâ; have âchar *(int)â > 2642 | char *presentwd ( int nsub ) > | ^~~~~~~~~ >mathtex.c:1574:10: note: previous declaration of âpresentwdâ with type âchar *(void)â > 1574 | char *presentwd(), *pwdpath=NULL; /* pwd for file paths */ > | ^~~~~~~~~ >mathtex.c:2709:9: error: conflicting types for ârrmdirâ; have âint(char *)â > 2709 | int rrmdir ( char *path ) > | ^~~~~~ >mathtex.c:1578:9: note: previous declaration of ârrmdirâ with type âint(void)â > 1578 | int rrmdir(); /* rm -r */ > | ^~~~~~ >mathtex.c: In function ârrmdirâ: >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:2754:5: note: in expansion of macro âshowmsgâ > 2754 | showmsg(29,"rrmdir removing directory",path); /* show directory removed*/ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:2758:3: note: in expansion of macro âshowmsgâ > 2758 | showmsg(29," rrmdir removing file",path); /* show file removed */ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c: At top level: >mathtex.c:2783:9: error: conflicting types for ârewritecacheâ; have âint(char *, int)â > 2783 | int rewritecache ( char *cachefile, int maxage ) > | ^~~~~~~~~~~~ >mathtex.c:901:9: note: previous declaration of ârewritecacheâ with type âint(void)â > 901 | int rewritecache(); /* rewrite cachefile with imageinfo*/ > | ^~~~~~~~~~~~ >mathtex.c: In function ârewritecacheâ: >mathtex.c:2796:16: error: too many arguments to function âreadcachefileâ > 2796 | if ( (nbytes = readcachefile(cachefile,buffer)) /* read the file */ > | ^~~~~~~~~~~~~ >mathtex.c:2788:19: note: declared here > 2788 | int nbytes=0, readcachefile(); /* read cache file */ > | ^~~~~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:2858:9: error: conflicting types for âemitcacheâ; have âint(char *, int, int)â > 2858 | int emitcache ( char *cachefile, int maxage, int isbuffer ) > | ^~~~~~~~~ >mathtex.c:902:9: note: previous declaration of âemitcacheâ with type âint(void)â > 902 | int emitcache(); /* emit cached image if it exists */ > | ^~~~~~~~~ >mathtex.c: In function âemitcacheâ: >mathtex.c:2878:17: error: too many arguments to function âreadcachefileâ > 2878 | if ( (nbytes = readcachefile(cachefile,buffer)) /* read the file */ > | ^~~~~~~~~~~~~ >mathtex.c:2863:19: note: declared here > 2863 | int nbytes=0, readcachefile(); /* read cache file */ > | ^~~~~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:2931:9: error: conflicting types for âreadcachefileâ; have âint(char *, unsigned char *)â > 2931 | int readcachefile ( char *cachefile, unsigned char *buffer ) > | ^~~~~~~~~~~~~ >mathtex.c:2863:19: note: previous declaration of âreadcachefileâ with type âint(void)â > 2863 | int nbytes=0, readcachefile(); /* read cache file */ > | ^~~~~~~~~~~~~ >mathtex.c:2984:9: error: conflicting types for âcrc16â; have âint(char *)â > 2984 | int crc16 ( char *s ) > | ^~~~~ >mathtex.c:862:26: note: previous declaration of âcrc16â with type âint(void)â > 862 | int advertisement(), crc16(); /*wrap expression in advertisement*/ > | ^~~~~ >mathtex.c:3067:7: error: conflicting types for âmd5strâ; have âchar *(char *)â > 3067 | char *md5str( char *instr ) > | ^~~~~~ >mathtex.c:905:10: note: previous declaration of âmd5strâ with type âchar *(void)â > 905 | char *md5str(), *md5hash=NULL; /* md5 has of expression */ > | ^~~~~~ >mathtex.c:3253:5: error: conflicting types for âunescape_urlâ; have âint(char *)â > 3253 | int unescape_url ( char *url ) { > | ^~~~~~~~~~~~ >mathtex.c:856:9: note: previous declaration of âunescape_urlâ with type âint(void)â > 856 | int unescape_url(); /* convert %20 to blank space, etc */ > | ^~~~~~~~~~~~ >mathtex.c: In function âunescape_urlâ: >mathtex.c:3278:22: error: too many arguments to function âx2câ > 3278 | { url[x] = x2c(&url[y+1]); > | ^~~ >mathtex.c:3255:10: note: declared here > 3255 | char x2c(); > | ^~~ >mathtex.c: At top level: >mathtex.c:3284:6: error: conflicting types for âx2câ; have âchar(char *)â > 3284 | char x2c(char *what) { > | ^~~ >mathtex.c:3255:10: note: previous declaration of âx2câ with type âchar(void)â > 3255 | char x2c(); > | ^~~ >mathtex.c:3326:9: error: conflicting types for âtimelimitâ; have âint(char *, int)â > 3326 | int timelimit(char *command, int killtime) > | ^~~~~~~~~ >mathtex.c:1581:9: note: previous declaration of âtimelimitâ with type âint(void)â > 1581 | int timelimit(); /* and using built-in timelimit() */ > | ^~~~~~~~~ >mathtex.c: In function âtimelimitâ: >mathtex.c:3346:6: error: too many arguments to function âsetsignalâ > 3346 | if ( setsignal(SIGALRM, sigalrm) < 0 ) return(-1); > | ^~~~~~~~~ >mathtex.c:3333:9: note: declared here > 3333 | int setsignal(); > | ^~~~~~~~~ >mathtex.c:3347:6: error: too many arguments to function âsetsignalâ > 3347 | if ( setsignal(SIGCHLD, sigchld) < 0 ) return(-1); > | ^~~~~~~~~ >mathtex.c:3333:9: note: declared here > 3333 | int setsignal(); > | ^~~~~~~~~ >mathtex.c:3348:6: error: too many arguments to function âsetsignalâ > 3348 | if ( setsignal(SIGTERM, sighandler) < 0 ) return(-1); > | ^~~~~~~~~ >mathtex.c:3333:9: note: declared here > 3333 | int setsignal(); > | ^~~~~~~~~ >mathtex.c:3349:6: error: too many arguments to function âsetsignalâ > 3349 | if ( setsignal(SIGHUP, sighandler) < 0 ) return(-1); > | ^~~~~~~~~ >mathtex.c:3333:9: note: declared here > 3333 | int setsignal(); > | ^~~~~~~~~ >mathtex.c:3350:6: error: too many arguments to function âsetsignalâ > 3350 | if ( setsignal(SIGINT, sighandler) < 0 ) return(-1); > | ^~~~~~~~~ >mathtex.c:3333:9: note: declared here > 3333 | int setsignal(); > | ^~~~~~~~~ >mathtex.c:3351:6: error: too many arguments to function âsetsignalâ > 3351 | if ( setsignal(SIGQUIT, sighandler) < 0 ) return(-1); > | ^~~~~~~~~ >mathtex.c:3333:9: note: declared here > 3333 | int setsignal(); > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:3387:9: error: conflicting types for âsetsignalâ; have âint(int, void (*)(int))â > 3387 | int setsignal ( int sig, void (*handler)(int) ) > | ^~~~~~~~~ >mathtex.c:3333:9: note: previous declaration of âsetsignalâ with type âint(void)â > 3333 | int setsignal(); > | ^~~~~~~~~ >mathtex.c:3443:10: error: conflicting types for âgetdirectiveâ; have âchar *(char *, char *, int, int, int, void *)â > 3443 | char *getdirective ( char *string, char *directive, > | ^~~~~~~~~~~~ >mathtex.c:2194:10: note: previous declaration of âgetdirectiveâ with type âchar *(void)â > 2194 | char *getdirective(), *pcommand=NULL; /* find and remove invalid command */ > | ^~~~~~~~~~~~ >mathtex.c: In function âgetdirectiveâ: >mathtex.c:3481:7: error: too many arguments to function âstrcasestrâ > 3481 | strcasestr(pfirst,directive)); /* case-insensistive match */ > | ^~~~~~~~~~ >mathtex.c:167:10: note: declared here > 167 | char *strcasestr(); /* non-standard extension */ > | ^~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:3608:10: error: conflicting types for âmathprepâ; have âchar *(char *)â > 3608 | char *mathprep ( char *expression ) > | ^~~~~~~~ >mathtex.c:855:10: note: previous declaration of âmathprepâ with type âchar *(void)â > 855 | char *mathprep(); /* preprocess expression */ > | ^~~~~~~~ >mathtex.c: In function âmathprepâ: >mathtex.c:3789:3: error: too many arguments to function âstrwstrâ > 3789 | strwstr(expptr,htmlsym,wstrwhite,&wstrlen))) /*looks for another htmlsym*/ > | ^~~~~~~ >mathtex.c:3615:10: note: declared here > 3615 | char *strwstr(); /*use strwstr() instead of strstr()*/ > | ^~~~~~~ >mathtex.c:3819:7: error: too many arguments to function âstrreplaceâ > 3819 | strreplace(latexsym,"nnn",anum,1,1); /* place actual &#num in message*/ > | ^~~~~~~~~~ >mathtex.c:3616:9: note: declared here > 3616 | int strreplace(); /* substitute/from/to/ */ > | ^~~~~~~~~~ >mathtex.c:3833:5: error: too many arguments to function âstrchangeâ > 3833 | strchange(toklen,tokptr,latexsym); /* replace html symbol with latex */ > | ^~~~~~~~~ >mathtex.c:3614:10: note: declared here > 3614 | char *strchange(); /* change leading chars of string */ > | ^~~~~~~~~ >mathtex.c:493:19: error: too many arguments to function âstrwrapâ > 493 | (label),strwrap((data),64,-9)); fflush(msgfp); } else > | ^~~~~~~ >mathtex.c:3841:1: note: in expansion of macro âshowmsgâ > 3841 | showmsg(99,"mathprep expression",expression); /*show preprocessed expression*/ > | ^~~~~~~ >mathtex.c:488:10: note: declared here > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c: At top level: >mathtex.c:3895:10: error: conflicting types for âstrwstrâ; have âchar *(char *, char *, char *, int *)â > 3895 | char *strwstr ( char *string, char *substr, char *white, int *sublen ) > | ^~~~~~~ >mathtex.c:3615:10: note: previous declaration of âstrwstrâ with type âchar *(void)â > 3615 | char *strwstr(); /*use strwstr() instead of strstr()*/ > | ^~~~~~~ >mathtex.c:4011:9: error: conflicting types for âstrreplaceâ; have âint(char *, char *, char *, int, int)â > 4011 | int strreplace ( char *string, char *from, char *to, > | ^~~~~~~~~~ >mathtex.c:3616:9: note: previous declaration of âstrreplaceâ with type âint(void)â > 3616 | int strreplace(); /* substitute/from/to/ */ > | ^~~~~~~~~~ >mathtex.c: In function âstrreplaceâ: >mathtex.c:4036:9: error: too many arguments to function âstrcasestrâ > 4036 | strcasestr(pstring,from)); /* case-insensistive match */ > | ^~~~~~~~~~ >mathtex.c:167:10: note: declared here > 167 | char *strcasestr(); /* non-standard extension */ > | ^~~~~~~~~~ >mathtex.c:4044:10: error: too many arguments to function âstrchangeâ > 4044 | if ( strchange(fromlen,pfrom,to) /* leading 'from' changed to 'to' */ > | ^~~~~~~~~ >mathtex.c:4022:10: note: declared here > 4022 | *strchange(); /* change 'from' to 'to' */ > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:4074:10: error: conflicting types for âstrchangeâ; have âchar *(int, char *, char *)â > 4074 | char *strchange ( int nfirst, char *from, char *to ) > | ^~~~~~~~~ >mathtex.c:4022:10: note: previous declaration of âstrchangeâ with type âchar *(void)â > 4022 | *strchange(); /* change 'from' to 'to' */ > | ^~~~~~~~~ >mathtex.c:4121:9: error: conflicting types for âisstrstrâ; have âint(char *, char *, int)â > 4121 | int isstrstr ( char *string, char *snippets, int iscase ) > | ^~~~~~~~ >mathtex.c:885:9: note: previous declaration of âisstrstrâ with type âint(void)â > 885 | int isstrstr(); /* find any snippet in string */ > | ^~~~~~~~ >mathtex.c: In function âisstrstrâ: >mathtex.c:4151:46: error: too many arguments to function âstrcasestrâ > 4151 | strstrptr = (iscase? strstr(string,snip) : strcasestr(string,snip) ); > | ^~~~~~~~~~ >mathtex.c:167:10: note: declared here > 167 | char *strcasestr(); /* non-standard extension */ > | ^~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:4176:10: error: conflicting types for ânomathâ; have âchar *(char *)â > 4176 | char *nomath ( char *s ) > | ^~~~~~ >mathtex.c:2201:10: note: previous declaration of ânomathâ with type âchar *(void)â > 2201 | char *nomath(); /* change \ to \\, { to \{, etc */ > | ^~~~~~ >mathtex.c: In function ânomathâ: >mathtex.c:4182:9: error: conflicting types for âstrreplaceâ; have âint(void)â > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4011:9: note: previous definition of âstrreplaceâ with type âint(char *, char *, char *, int, int)â > 4011 | int strreplace ( char *string, char *from, char *to, > | ^~~~~~~~~~ >mathtex.c:4192:1: error: too many arguments to function âstrreplaceâ > 4192 | strreplace(sbuff,"\\","\\textbackslash ",0,0); /* change all \'s to text */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4193:1: error: too many arguments to function âstrreplaceâ > 4193 | strreplace(sbuff,"_","\\textunderscore ",0,0); /* change all _'s to text */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4194:1: error: too many arguments to function âstrreplaceâ > 4194 | strreplace(sbuff,"<","\\textlangle ",0,0); /* change all <'s to text */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4195:1: error: too many arguments to function âstrreplaceâ > 4195 | strreplace(sbuff,">","\\textrangle ",0,0); /* change all >'s to text */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4196:1: error: too many arguments to function âstrreplaceâ > 4196 | strreplace(sbuff,"$","\\textdollar ",0,0); /* change all $'s to text */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4197:1: error: too many arguments to function âstrreplaceâ > 4197 | strreplace(sbuff,"&","\\&",0,0); /* change every & to \& */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4198:1: error: too many arguments to function âstrreplaceâ > 4198 | strreplace(sbuff,"%","\\%",0,0); /* change every % to \% */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4199:1: error: too many arguments to function âstrreplaceâ > 4199 | strreplace(sbuff,"#","\\#",0,0); /* change every # to \# */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4200:1: error: too many arguments to function âstrreplaceâ > 4200 | strreplace(sbuff,"~","\\~",0,0); /* change every ~ to \~ */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4201:1: error: too many arguments to function âstrreplaceâ > 4201 | strreplace(sbuff,"{","\\{",0,0); /* change every { to \{ */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4202:1: error: too many arguments to function âstrreplaceâ > 4202 | strreplace(sbuff,"}","\\}",0,0); /* change every } to \} */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c:4203:1: error: too many arguments to function âstrreplaceâ > 4203 | strreplace(sbuff,"^","\\ensuremath{\\widehat{~}}",0,0); /* change every ^ */ > | ^~~~~~~~~~ >mathtex.c:4182:9: note: declared here > 4182 | int strreplace(); /* replace _ with -, etc */ > | ^~~~~~~~~~ >mathtex.c: At top level: >mathtex.c:4235:10: error: conflicting types for âstrwrapâ; have âchar *(char *, int, int)â > 4235 | char *strwrap ( char *s, int linelen, int tablen ) > | ^~~~~~~ >mathtex.c:488:10: note: previous declaration of âstrwrapâ with type âchar *(void)â > 488 | char *strwrap(); /* help format debugging messages */ > | ^~~~~~~ >mathtex.c: In function âstrwrapâ: >mathtex.c:4244:10: error: conflicting types for âstrchangeâ; have âchar *(void)â > 4244 | char *strchange(); /* add \n's and indent space */ > | ^~~~~~~~~ >mathtex.c:4074:10: note: previous definition of âstrchangeâ with type âchar *(int, char *, char *)â > 4074 | char *strchange ( int nfirst, char *from, char *to ) > | ^~~~~~~~~ >mathtex.c:4265:1: error: too many arguments to function âstrreplaceâ > 4265 | strreplace(sbuff,"\n"," ",0,0); /* remove any original \n's */ > | ^~~~~~~~~~ >mathtex.c:4243:9: note: declared here > 4243 | int strreplace(); /* remove \n's */ > | ^~~~~~~~~~ >mathtex.c:4266:1: error: too many arguments to function âstrreplaceâ > 4266 | strreplace(sbuff,"\r"," ",0,0); /* remove any original \r's */ > | ^~~~~~~~~~ >mathtex.c:4243:9: note: declared here > 4243 | int strreplace(); /* remove \n's */ > | ^~~~~~~~~~ >mathtex.c:4267:1: error: too many arguments to function âstrreplaceâ > 4267 | strreplace(sbuff,"\t"," ",0,0); /* remove any original \t's */ > | ^~~~~~~~~~ >mathtex.c:4243:9: note: declared here > 4243 | int strreplace(); /* remove \n's */ > | ^~~~~~~~~~ >mathtex.c:4276:5: error: too many arguments to function âstrchangeâ > 4276 | strchange(0,sol,tab); /* insert indent at start of line */ > | ^~~~~~~~~ >mathtex.c:4244:10: note: declared here > 4244 | char *strchange(); /* add \n's and indent space */ > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:4547:9: error: conflicting types for âevaltermâ; have âint(struct store_struct *, char *)â > 4547 | int evalterm ( STORE *store, char *term ) > | ^~~~~~~~ >mathtex.c:863:9: note: previous declaration of âevaltermâ with type âint(void)â > 863 | int evalterm(); /* preprocess \eval{expression} */ > | ^~~~~~~~ >mathtex.c: In function âevaltermâ: >mathtex.c:4557:10: error: conflicting types for âstrpspnâ; have âchar *(void)â > 4557 | char *strpspn(); /* span delims */ > | ^~~~~~~ >mathtex.c:4340:10: note: previous definition of âstrpspnâ with type âchar *(char *, char *, char *)â > 4340 | char *strpspn ( char *s, char *reject, char *segment ) > | ^~~~~~~ >mathtex.c:4559:9: error: conflicting types for âisnumericâ; have âint(void)â > 4559 | int isnumeric(); /* numeric=constant, else variable */ > | ^~~~~~~~~ >mathtex.c:4505:9: note: previous definition of âisnumericâ with type âint(char *)â > 4505 | int isnumeric ( char *s ) > | ^~~~~~~~~ >mathtex.c:4572:9: error: too many arguments to function âstrpspnâ > 4572 | delim = strpspn(term,"?",token); /* chars preceding ? outside () */ > | ^~~~~~~ >mathtex.c:4557:10: note: declared here > 4557 | char *strpspn(); /* span delims */ > | ^~~~~~~ >mathtex.c:4581:13: error: too many arguments to function âstrpspnâ > 4581 | delim = strpspn(delim,":",token); /* chars preceding : outside () */ > | ^~~~~~~ >mathtex.c:4557:10: note: declared here > 4557 | char *strpspn(); /* span delims */ > | ^~~~~~~ >mathtex.c:4592:8: error: too many arguments to function âstrpspnâ > 4592 | term = strpspn(term,"/+-*%",token); /* chars preceding /+-*% outside ()*/ > | ^~~~~~~ >mathtex.c:4557:10: note: declared here > 4557 | char *strpspn(); /* span delims */ > | ^~~~~~~ >mathtex.c:4636:8: error: too many arguments to function âisnumericâ > 4636 | if ( isnumeric(token) ) /* have a constant */ > | ^~~~~~~~~ >mathtex.c:4559:9: note: declared here > 4559 | int isnumeric(); /* numeric=constant, else variable */ > | ^~~~~~~~~ >mathtex.c:4639:15: error: too many arguments to function âgetstoreâ > 4639 | termval = getstore(store,token); } /* look up token */ > | ^~~~~~~~ >mathtex.c:4558:9: note: declared here > 4558 | int getstore(); /* lookup variables */ > | ^~~~~~~~ >mathtex.c: At top level: >mathtex.c:4667:9: error: conflicting types for âgetstoreâ; have âint(struct store_struct *, char *)â > 4667 | int getstore ( STORE *store, char *identifier ) > | ^~~~~~~~ >mathtex.c:4558:9: note: previous declaration of âgetstoreâ with type âint(void)â > 4558 | int getstore(); /* lookup variables */ > | ^~~~~~~~ >mathtex.c:4712:9: error: conflicting types for âtimewaitforâ; have âint(int)â > 4712 | int timewaitfor( int whundredths ) > | ^~~~~~~~~~~ >mathtex.c:893:9: note: previous declaration of âtimewaitforâ with type âint(void)â > 893 | int timewaitfor(); /* impose a delay on query replies */ > | ^~~~~~~~~~~ >mathtex.c:4745:10: error: conflicting types for âtimestampâ; have âchar *(int, int)â > 4745 | char *timestamp( int tzdelta, int ifmt ) > | ^~~~~~~~~ >mathtex.c:2366:10: note: previous declaration of âtimestampâ with type âchar *(void)â > 2366 | char *timestamp(); /* time stamp for logged messages */ > | ^~~~~~~~~ >mathtex.c: In function âtimestampâ: >mathtex.c:4753:41: error: conflicting types for âlocaltimeâ; have âstruct tm *(void)â > 4753 | struct tm *tmstruct=(struct tm *)NULL, *localtime(); /* interpret time_val */ > | ^~~~~~~~~ >In file included from mathtex.c:169: >/usr/include/time.h:136:19: note: previous declaration of âlocaltimeâ with type âstruct tm *(const time_t *)â {aka âstruct tm *(const long int *)â} > 136 | extern struct tm *localtime (const time_t *__timer) __THROW; > | ^~~~~~~~~ >mathtex.c:4771:12: error: too many arguments to function âlocaltimeâ > 4771 | tmstruct = localtime((time_t *)(&time_val)); /* interpret time_val */ > | ^~~~~~~~~ >mathtex.c:4753:41: note: declared here > 4753 | struct tm *tmstruct=(struct tm *)NULL, *localtime(); /* interpret time_val */ > | ^~~~~~~~~ >mathtex.c:4782:1: error: too many arguments to function âtzadjustâ > 4782 | tzadjust(tzdelta,&year,&month,&day,&hour); > | ^~~~~~~~ >mathtex.c:4757:9: note: declared here > 4757 | int tzadjust(); /* time zone adjustment function */ > | ^~~~~~~~ >mathtex.c:4810:14: error: too many arguments to function âdaynumberâ > 4810 | daynames[daynumber(year,month,day)%7],monthnames[month],day,year); > | ^~~~~~~~~ >mathtex.c:4758:9: note: declared here > 4758 | int daynumber(); /* #days since Jan 1, 1973 */ > | ^~~~~~~~~ >mathtex.c:4814:14: error: too many arguments to function âdaynumberâ > 4814 | daynames[daynumber(year,month,day)%7],monthnames[month],day,year, > | ^~~~~~~~~ >mathtex.c:4758:9: note: declared here > 4758 | int daynumber(); /* #days since Jan 1, 1973 */ > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:4852:9: error: conflicting types for âtzadjustâ; have âint(int, int *, int *, int *, int *)â > 4852 | int tzadjust ( int tzdelta, int *year, int *month, int *day, int *hour ) > | ^~~~~~~~ >mathtex.c:4757:9: note: previous declaration of âtzadjustâ with type âint(void)â > 4757 | int tzadjust(); /* time zone adjustment function */ > | ^~~~~~~~ >mathtex.c:4912:9: error: conflicting types for âdaynumberâ; have âint(int, int, int)â > 4912 | int daynumber ( int year, int month, int day ) > | ^~~~~~~~~ >mathtex.c:4758:9: note: previous declaration of âdaynumberâ with type âint(void)â > 4758 | int daynumber(); /* #days since Jan 1, 1973 */ > | ^~~~~~~~~ >mathtex.c:4977:10: error: conflicting types for âcalendarâ; have âchar *(int, int, int)â > 4977 | char *calendar( int year, int month, int day ) > | ^~~~~~~~ >mathtex.c:890:10: note: previous declaration of âcalendarâ with type âchar *(void)â > 890 | *calendar(); /* for \calendar{yyyy,mm,dd} string*/ > | ^~~~~~~~ >mathtex.c: In function âcalendarâ: >mathtex.c:4986:24: error: conflicting types for âdaynumberâ; have âint(void)â > 4986 | int idd=1, iday=0, daynumber(); /* day-of-week for idd=1...31 */ > | ^~~~~~~~~ >mathtex.c:4912:9: note: previous definition of âdaynumberâ with type âint(int, int, int)â > 4912 | int daynumber ( int year, int month, int day ) > | ^~~~~~~~~ >mathtex.c:5001:12: error: too many arguments to function âlocaltimeâ > 5001 | tmstruct = localtime((time_t *)(&time_val)); /* interpret time_val */ > | ^~~~~~~~~ >mathtex.c:4984:41: note: declared here > 4984 | struct tm *tmstruct=(struct tm *)NULL, *localtime(); /* interpret time_val */ > | ^~~~~~~~~ >mathtex.c:5036:15: error: too many arguments to function âdaynumberâ > 5036 | iday = 1 + (daynumber(year,month,idd)%7); /* 1=Monday...7=Sunday */ > | ^~~~~~~~~ >mathtex.c:4986:24: note: declared here > 4986 | int idd=1, iday=0, daynumber(); /* day-of-week for idd=1...31 */ > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:5090:9: error: conflicting types for âemitembeddedâ; have âint(int, int)â > 5090 | int emitembedded ( int imagenum, int isquery ) > | ^~~~~~~~~~~~ >mathtex.c:891:9: note: previous declaration of âemitembeddedâ with type âint(void)â > 891 | int emitembedded(); /* in case latex can't run */ > | ^~~~~~~~~~~~ >mathtex.c: In function âemitembeddedâ: >mathtex.c:5098:9: error: conflicting types for âemitcacheâ; have âint(void)â > 5098 | int emitcache(); /* emit embedded image to stdout */ > | ^~~~~~~~~ >mathtex.c:2858:9: note: previous definition of âemitcacheâ with type âint(char *, int, int)â > 2858 | int emitcache ( char *cachefile, int maxage, int isbuffer ) > | ^~~~~~~~~ >mathtex.c:5105:10: error: too many arguments to function âembeddedimagesâ > 5105 | eimage = embeddedimages(imagenum,&nbytes,&imgtype); /*retrieve image*/ > | ^~~~~~~~~~~~~~ >mathtex.c:5097:30: note: declared here > 5097 | unsigned char *eimage=NULL, *embeddedimages(); /* retrieve embedded image */ > | ^~~~~~~~~~~~~~ >mathtex.c:5110:14: error: too many arguments to function âemitcacheâ > 5110 | nbytes = emitcache((char *)eimage,maxage,nbytes); } /* and emit image */ > | ^~~~~~~~~ >mathtex.c:5098:9: note: declared here > 5098 | int emitcache(); /* emit embedded image to stdout */ > | ^~~~~~~~~ >mathtex.c: At top level: >mathtex.c:5142:16: error: conflicting types for âembeddedimagesâ; have âunsigned char *(int, int *, int *)â > 5142 | unsigned char *embeddedimages ( int imagenum, int *nbytes, int *imgtype ) > | ^~~~~~~~~~~~~~ >mathtex.c:5097:30: note: previous declaration of âembeddedimagesâ with type âunsigned char *(void)â > 5097 | unsigned char *eimage=NULL, *embeddedimages(); /* retrieve embedded image */ > | ^~~~~~~~~~~~~~ >mathtex.c: In function âmathtexâ: >mathtex.c:1688:7: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1688 | system("echo \"q\" > reply.txt"); /* reply q to latex error prompt */ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mathtex.c:1901:24: warning: ignoring return value of âchdirâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1901 | if ( dir_stat >= 2 ) chdir(".."); /* return up to working dir or home*/ > | ^~~~~~~~~~~ >mathtex.c:1904:5: warning: ignoring return value of âchdirâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1904 | chdir((!isempty(homepath)?homepath:"..")); /* best guess at home */ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > * ERROR: app-text/mathtex-1.05::gentoo failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 1298: Called einfo_run_command 'x86_64-pc-linux-gnu-gcc' '-O2' '-pipe' '-march=native' '-fno-diagnostics-color' '-Wl,-O1' '-Wl,--as-needed' '-Wl,-z,pack-relative-relocs' '-Wl,--defsym=__gentoo_check_ldflags__=0' '-DLATEX="/usr/bin/latex"' '-DDVIPNG="/usr/bin/dvipng"' '-DPNG' 'mathtex.c' '-o' 'mathtex' > * environment, line 652: Called die > * The specific snippet of code: > * ${@} || die > * > * If you need support, post the output of `emerge --info '=app-text/mathtex-1.05::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/mathtex-1.05::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:mathtex-1.05:20241119-005920.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/mathtex-1.05/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/mathtex-1.05/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/mathtex-1.05/work/mathtex' > * S: '/var/tmp/portage/app-text/mathtex-1.05/work/mathtex' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 943944
:
909930
| 909931 |
909932
|
909933
|
909934
|
909935
|
909936
|
909937