>>> Building on exopi-2 under astro/sunclock BDEPENDS = [graphics/png;graphics/jpeg;devel/imake;devel/imake-cf;archivers/bzip2] DIST = [astro/sunclock,-main:sunclock/sunclock-3.57.tar.bz2;astro/sunclock,-main:sunclock/big_images_270804.tar.bz2;astro/sunclock,-main:sunclock/medium_images_270804.tar.bz2;astro/sunclock,-main:sunclock/huge.jpg;astro/sunclock,-main:sunclock/e43_color1_sh_16k.jpg] FULLPKGNAME = sunclock-3.57 RDEPENDS = [graphics/png;graphics/jpeg] (Junk lock obtained for exopi-2 at 1735138245.04) >>> Running depends in astro/sunclock at 1735138245.09 last junk was in devel/cmocka /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 jpeg-3.1.0v0 png-1.6.44 was: /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 imake-1.0.9 imake-cf-1.0.7p0 jpeg-3.1.0v0 png-1.6.44 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 jpeg-3.1.0v0 png-1.6.44 >>> Running show-prepare-results in astro/sunclock at 1735138248.07 ===> astro/sunclock ===> Building from scratch sunclock-3.57 ===> sunclock-3.57 depends on: imake-* -> imake-1.0.9 ===> sunclock-3.57 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> sunclock-3.57 depends on: bzip2-* -> bzip2-1.0.8p0 ===> sunclock-3.57 depends on: jpeg-* -> jpeg-3.1.0v0 ===> sunclock-3.57 depends on: png-* -> png-1.6.44 ===> Verifying specs: X11 Xpm c m z jpeg png ===> found X11.18.2 Xpm.10.0 c.100.3 m.10.1 z.7.1 jpeg.71.0 png.18.0 bzip2-1.0.8p0 imake-1.0.9 imake-cf-1.0.7p0 jpeg-3.1.0v0 png-1.6.44 (Junk lock released for exopi-2 at 1735138249.40) distfiles size=49405312 >>> Running build in astro/sunclock at 1735138249.46 ===> astro/sunclock ===> Checking files for sunclock-3.57 `/exopi-cvs/ports/distfiles/sunclock/sunclock-3.57.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/sunclock/big_images_270804.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/sunclock/medium_images_270804.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/sunclock/e43_color1_sh_16k.jpg' is up to date. `/exopi-cvs/ports/distfiles/sunclock/huge.jpg' is up to date. >> (SHA256) all files: OK ===> Extracting for sunclock-3.57 mv /exopi-obj/pobj/sunclock-3.57/images/*/* /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/vmf/ cp /exopi-cvs/ports/distfiles/sunclock/e43_color1_sh_16k.jpg /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/vmf/ cp /exopi-cvs/ports/distfiles/sunclock/huge.jpg /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/vmf/ ===> Patching for sunclock-3.57 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Tue Jul 6 23:07:06 2021 |+++ Imakefile Tue Jul 6 23:05:29 2021 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 8. Hunk #3 succeeded at 48. Hunk #4 succeeded at 66. done ===> Applying OpenBSD patch patch-readvmf_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix incorrect type usage, zlib's gzFile is already a pointer type. |Don't use data read from file as a format string (obvious security issue). | |--- readvmf.c.orig Fri Aug 22 22:58:52 2008 |+++ readvmf.c Tue Jul 6 23:10:48 2021 -------------------------- Patching file readvmf.c using Plan A... Hunk #1 succeeded at 340. Hunk #2 succeeded at 433. Hunk #3 succeeded at 505. done ===> Applying OpenBSD patch patch-sunclock_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sunclock.c.orig Thu Aug 7 21:40:24 2008 |+++ sunclock.c Tue Jul 6 23:13:27 2021 -------------------------- Patching file sunclock.c using Plan A... Hunk #1 succeeded at 113. Hunk #2 succeeded at 126. done ===> Applying OpenBSD patch patch-sunclock_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sunclock.h.orig Tue Jun 20 22:23:14 2006 |+++ sunclock.h Sat Jan 13 15:57:52 2007 -------------------------- Patching file sunclock.h using Plan A... Hunk #1 succeeded at 238. done ===> Applying OpenBSD patch patch-tildepath_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tildepath.c.orig Wed Jan 23 13:25:46 2002 |+++ tildepath.c Wed Jan 23 13:26:02 2002 -------------------------- Patching file tildepath.c using Plan A... Hunk #1 succeeded at 38. done ===> Applying OpenBSD patch patch-widgets_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- widgets.c.orig Thu Dec 5 19:23:00 2013 |+++ widgets.c Thu Dec 5 19:23:09 2013 -------------------------- Patching file widgets.c using Plan A... Hunk #1 succeeded at 1. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for sunclock-3.57 ===> Configuring for sunclock-3.57 imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- sunclock.c astro.c widgets.c tildepath.c dirlist.c readvmf.c readxpm.c readgif.c readjpeg.c readpng.c > .depend ===> Building for sunclock-3.57 cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sunclock.c In file included from sunclock.c:122: ./langdef.h:41:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Double click or strike * for ' \"", ^~~~ ./langdef.h:80:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "*,,#,/;&,+,-,1,.;>,<,!,W,K;"; ^~~~ ./langdef.h:83:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "@,%;=,;[,];G,J,';!,W,K;"; ^~~~ ./langdef.h:86:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "U,,,%;C,S;~,(,);!,W,K;"; ^~~~ ~~~~ ./langdef.h:89:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "HFZUOCSDELABGJNYMPTWKIR>#/&+-1.\"@%=[]'~()"; ^~~~ ./langdef.h:89:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "HFZUOCSDELABGJNYMPTWKIR>#/&+-1.\"@%=[]'~()"; ^~~~~~~~ sunclock.c:419:31: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *t = (char *) salloc((strlen(s)+1)*sizeof(char)); ^ sunclock.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(t, s) ^ sunclock.c:529:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ProgName, VERSION, COPYRIGHT, ProgName, Label[L_LISTOPTIONS], ^~~~~~~~~ ./version.h:7:26: note: expanded from macro 'COPYRIGHT' #define COPYRIGHT " J.-P. Demailly" ^~~~ sunclock.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] str2numval(s, val, max) ^ sunclock.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] needMore(argc, argv) ^ sunclock.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getGeom(s, g) ^ sunclock.c:806:38: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DateFormat = (char **) salloc(num_formats*sizeof(char *)); ^ sunclock.c:819:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int setWindowAspect(Context) ^ sunclock.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkRCfile(argc, argv) ^ sunclock.c:893:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] if (index(string, '')) { ^ sunclock.c:894:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] sscanf(string, "%lf%lf'%lf", °, &min, &sec); ^~~~ sunclock.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dms2decim(string) ^ sunclock.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scanPosition(string, city) ^ sunclock.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] searchCityLocation(params) ^ sunclock.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freecity(c) ^ sunclock.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] removeCity(c) ^ sunclock.c:1058:21: warning: passing arguments to 'showUrbanHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showUrbanHint(params); ^ sunclock.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addCity(longparams) ^ sunclock.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseColor(s) ^ sunclock.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseFont(s) ^ sunclock.c:1335:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ProgName, VERSION, COPYRIGHT); ^~~~~~~~~ ./version.h:7:26: note: expanded from macro 'COPYRIGHT' #define COPYRIGHT " J.-P. Demailly" ^~~~ sunclock.c:1359:38: warning: passing arguments to 'readRC' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (readRC(*++argv)) runlevel = FAILEDOPTION; ^ sunclock.c:1482:42: warning: passing arguments to 'checkZoomSettings' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkZoomSettings(&gzoom); ^ sunclock.c:1487:42: warning: passing arguments to 'checkZoomSettings' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkZoomSettings(&gzoom); ^ sunclock.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseArgs(argc, argv) ^ sunclock.c:1714:26: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dup = (char *) salloc((l+2)*sizeof(char)); ^ sunclock.c:1728:28: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv = (char **) salloc((j+2)*sizeof(char *)); ^ sunclock.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseCmdLine(buf) ^ sunclock.c:1771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readRC(fname, verbosity) ^ sunclock.c:1118:1: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] readRC(); ^ sunclock.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getContext(win) ^ sunclock.c:1833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFont(num) ^ sunclock.c:1854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFonts(Context) ^ sunclock.c:1900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getColor(Context, num) ^ sunclock.c:1965:47: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->gdata = (GraphicData *)salloc(sizeof(GraphicData)); ^ sunclock.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] createGData(Context, private) ^ sunclock.c:2014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] createGCs(Context) ^ sunclock.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearStrip(Context) ^ sunclock.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTZ(cptr) ^ sunclock.c:2134:19: warning: passing arguments to 'jtime' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jt = jtime(&ctp); ^ sunclock.c:2135:15: warning: passing arguments to 'sunpos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sunpos(jt, False, &sunra, sundec, &sunrv, &junk); ^ sunclock.c:2136:18: warning: passing arguments to 'gmst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gt = gmst(jt); ^ sunclock.c:2121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sunParams(gtime, sunlong, sundec, city) ^ sunclock.c:2156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dayLength(gtime, lat) ^ sunclock.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setDayParams(Context) ^ sunclock.c:2259:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] sprintf(string, "%s%d%02d'%02d\"", (eps==1)?"":"-", d, m, s); ^~~~ sunclock.c:2240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] num2str(value, string, dms) ^ sunclock.c:2270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showHours(Context) ^ sunclock.c:2303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawTextStrip(Context, s, l) ^ sunclock.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeStrip(Context) ^ sunclock.c:2619:28: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] salloc(Context->geom.width*sizeof(short)); ^ sunclock.c:2626:28: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] salloc(Context->geom.width*sizeof(short)); ^ sunclock.c:2586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initShading(Context) ^ sunclock.c:2650:47: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->spotsizes = (int *) salloc(city_cat * sizeof(int)); ^ sunclock.c:2651:48: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->sizelimits = (int *) salloc(city_cat * sizeof(int)); ^ sunclock.c:2675:25: warning: passing arguments to 'setZoomDimension' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context); ^ sunclock.c:2687:59: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->daypixel = (unsigned char *) salloc(256*sizeof(char)); ^ sunclock.c:2688:61: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->nightpixel = (unsigned char *) salloc(256*sizeof(char)); ^ sunclock.c:2701:45: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->daywave = (double *) salloc( ^ sunclock.c:2635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeContext(Context, build) ^ sunclock.c:2710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DarkenPixel(Context, x, y, t) ^ sunclock.c:2812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] howDark(Context, i, j) ^ sunclock.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPixelLight(Context, i, j, pixel) ^ sunclock.c:2853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XPutStringImage(Context, x, y, s, l, mode) ^ sunclock.c:2914:25: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion] test = (bigendian)? 128 : 1; ~ ^~~ sunclock.c:2928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int_latitude(Context, lat) ^ sunclock.c:2938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int_longitude(Context, lon) ^ sunclock.c:2952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawObject(Context, lon, lat, mode, color, name) ^ sunclock.c:3078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawCities(Context) ^ sunclock.c:3118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawMarks(Context) ^ sunclock.c:3138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawLabels(Context) ^ sunclock.c:3171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getSpacing(Context, mode) ^ sunclock.c:3234:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] sprintf(format, "%%.%df", numdigits); ^~~~ sunclock.c:3202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawParallel(Context, pixel, lat, step, thickness, text, numdigits) ^ sunclock.c:3285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawParallels(Context) ^ sunclock.c:3366:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] sprintf(format, "%%.%df", numdigits); ^~~~ sunclock.c:3343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawMeridian(Context, lon, step, thickness, numdigits) ^ sunclock.c:3414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawMeridians(Context) ^ sunclock.c:3456:61: warning: illegal character encoding in string literal [-Winvalid-source-encoding] XTextWidth(Context->gdata->font[COORDFONT], "-45", 4) + 6; ^~~~ sunclock.c:3452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawLines(Context) ^ sunclock.c:3468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawSunAndMoon(Context) ^ sunclock.c:3485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawBottomline(Context) ^ sunclock.c:3500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawAll(Context) ^ sunclock.c:3516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showMapImage(Context) ^ sunclock.c:3552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pulseMarks(Context) ^ sunclock.c:3627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearNightArea(Context) ^ sunclock.c:3647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveNightArea(Context) ^ sunclock.c:3845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawShadedArea (Context) ^ sunclock.c:3870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] markLocation(Context, name) ^ sunclock.c:3886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkLocation(Context, name) ^ sunclock.c:3930:21: warning: passing arguments to 'phase' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) phase(Context->time + Context->jump, ^ sunclock.c:3907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateImage(Context) ^ sunclock.c:3964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setPosition1(Context, x, y) ^ sunclock.c:3983:19: warning: passing arguments to 'PopUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopUrban(Context); ^ sunclock.c:3989:26: warning: passing arguments to 'updateUrbanEntries' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateUrbanEntries(Context, city); ^ sunclock.c:3990:18: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(0); ^ sunclock.c:3977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateUrban(Context, city) ^ sunclock.c:4002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processPoint(Context, x, y) ^ sunclock.c:4102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] report_failure(path, code) ^ sunclock.c:4144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] quantize(Context) ^ sunclock.c:4376:20: warning: passing arguments to 'readVMF' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] code = readVMF(path, Context); ^ sunclock.c:4400:21: warning: passing arguments to 'readGIF' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] code = readGIF(path, Context); ^ sunclock.c:4403:22: warning: passing arguments to 'readJPEG' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] code = readJPEG(path, Context); ^ sunclock.c:4406:21: warning: passing arguments to 'readPNG' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] code = readPNG(path, Context); ^ sunclock.c:4409:21: warning: passing arguments to 'readVMF' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] code = readVMF(path, Context); ^ sunclock.c:4412:21: warning: passing arguments to 'readXPM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] code = readXPM(path, Context); ^ sunclock.c:4306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] createImage(Context) ^ sunclock.c:4456:42: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->ximdata = (char *)salloc(size); ^ sunclock.c:4443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] createWorkImage(Context) ^ sunclock.c:4462:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window GetVRoot(dpy) ^ sunclock.c:4505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawDottedRectangle(dpy, w, gc, x, y, a, b, pix1, pix2) ^ sunclock.c:4528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawImageToRootWindow(Context, mode) ^ sunclock.c:4648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] warningNew(Context) ^ sunclock.c:4676:44: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewContext = (struct Sundata *)salloc(sizeof(struct Sundata)); ^ sunclock.c:4714:18: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ sunclock.c:4718:18: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, -1); ^ sunclock.c:4720:13: warning: passing arguments to 'checkGeom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkGeom(Context, 0); ^ sunclock.c:4726:20: warning: passing arguments to 'setClassHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setClassHints(Context->win, wintype); ^ sunclock.c:4727:19: warning: passing arguments to 'setSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSizeHints(Context, wintype); ^ sunclock.c:4728:19: warning: passing arguments to 'getPlacement' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPlacement(Context->win, &Context->geom.x, &Context->geom.y, ^ sunclock.c:4737:22: warning: passing arguments to 'setAuxilWins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAuxilWins(Context, REMAP); ^ sunclock.c:4739:22: warning: passing arguments to 'setAuxilWins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAuxilWins(Context, RESET); ^ sunclock.c:4742:19: warning: passing arguments to 'setProtocols' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setProtocols(Context, Context->wintype); ^ sunclock.c:4753:31: warning: passing arguments to 'newWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->win = newWindow(Context, &Context->geom, wintype); ^ sunclock.c:4754:19: warning: passing arguments to 'setSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSizeHints(Context, wintype); ^ sunclock.c:4759:19: warning: passing arguments to 'setAuxilWins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAuxilWins(Context, REATTRIB); ^ sunclock.c:4760:19: warning: passing arguments to 'setProtocols' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setProtocols(Context, wintype); ^ sunclock.c:4660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildMap(Context, wintype, build) ^ sunclock.c:4778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processStringEntry(keysym, entry) ^ sunclock.c:4880:29: warning: passing arguments to 'PopFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopFilesel(Context); ^ sunclock.c:4913:24: warning: passing arguments to 'setupFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupFilesel(1); ^ sunclock.c:4921:26: warning: passing arguments to 'PopZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopZoom(Context); ^ sunclock.c:4933:28: warning: passing arguments to 'PopOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopOption(Context); ^ sunclock.c:4941:27: warning: passing arguments to 'setupOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupOption(0); ^ sunclock.c:4952:27: warning: passing arguments to 'PopUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopUrban(Context); ^ sunclock.c:4961:26: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(0); ^ sunclock.c:4969:34: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (do_menu) PopMenu(Context); ^ sunclock.c:4978:28: warning: passing arguments to 'setupOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupOption(0); ^ sunclock.c:4988:27: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(0); ^ sunclock.c:5007:30: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(0); ^ sunclock.c:5059:16: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(0); ^ sunclock.c:5068:27: warning: passing arguments to 'adjustGeom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustGeom(Context, 0); ^ sunclock.c:5073:25: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ sunclock.c:5100:31: warning: passing arguments to 'getNumCmd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showOptionHint(getNumCmd(key)); ^ sunclock.c:5100:21: warning: passing arguments to 'showOptionHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showOptionHint(getNumCmd(key)); ^ sunclock.c:5108:23: warning: passing arguments to 'setZoomDimension' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context); ^ sunclock.c:5110:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5117:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5124:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5131:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5138:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5160:57: warning: too many arguments in call to 'setWindowAspect' if (setWindowAspect(Context, &Context->zoom)) { ~~~~~~~~~~~~~~~ ^ sunclock.c:5162:30: warning: passing arguments to 'adjustGeom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustGeom(Context, 0); ^ sunclock.c:5171:25: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ sunclock.c:5187:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5194:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, 1); ^ sunclock.c:5202:29: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5221:24: warning: passing arguments to 'adjustGeom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustGeom(Context, 1); ^ sunclock.c:5223:26: warning: passing arguments to 'setSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSizeHints(Context, Context->wintype); ^ sunclock.c:5224:27: warning: passing arguments to 'setClassHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setClassHints(Context->win, Context->wintype); ^ sunclock.c:5231:22: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ sunclock.c:5241:29: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5249:29: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5257:30: warning: passing arguments to 'setZoomDimension' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context); ^ sunclock.c:5259:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5266:30: warning: passing arguments to 'setZoomDimension' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context); ^ sunclock.c:5268:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5282:30: warning: passing arguments to 'setZoomDimension' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context); ^ sunclock.c:5284:26: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5340:27: warning: passing arguments to 'PopFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopFilesel(Context); ^ sunclock.c:5347:30: warning: passing arguments to 'PopFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopFilesel(Context); ^ sunclock.c:5348:30: warning: passing arguments to 'PopFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopFilesel(Context); ^ sunclock.c:5354:23: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopMenu(Context); ^ sunclock.c:5373:24: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopMenu(Context); ^ sunclock.c:5377:27: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopMenu(Context); ^ sunclock.c:5378:27: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopMenu(Context); ^ sunclock.c:5380:18: warning: passing arguments to 'getState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getState(Menu) == IsViewable) { ^ sunclock.c:5389:26: warning: passing arguments to 'setAuxilWins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAuxilWins(Context, ICONIFY); ^ sunclock.c:5401:34: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (do_menu) PopMenu(Context); ^ sunclock.c:5402:40: warning: passing arguments to 'PopFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (do_filesel) PopFilesel(Context); ^ sunclock.c:5404:25: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, -1); ^ sunclock.c:5406:25: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 1); ^ sunclock.c:5457:26: warning: passing arguments to 'PopOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopOption(Context); ^ sunclock.c:5462:29: warning: passing arguments to 'PopOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopOption(Context); ^ sunclock.c:5463:29: warning: passing arguments to 'PopOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopOption(Context); ^ sunclock.c:5484:25: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, -1); ^ sunclock.c:5518:18: warning: passing arguments to 'PopUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopUrban(Context); ^ sunclock.c:5522:22: warning: passing arguments to 'getState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getState(Urban)!=IsViewable) { ^ sunclock.c:5572:24: warning: passing arguments to 'PopZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopZoom(Context); ^ sunclock.c:5577:27: warning: passing arguments to 'PopZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopZoom(Context); ^ sunclock.c:5578:27: warning: passing arguments to 'PopZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopZoom(Context); ^ sunclock.c:5595:18: warning: passing arguments to 'getNumCmd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getNumCmd(toupper(key))>=0) ^ sunclock.c:5602:24: warning: passing arguments to 'showMenuHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showMenuHint(j); ^ sunclock.c:5606:18: warning: passing arguments to 'getNumCmd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getNumCmd(toupper(key))>=0) ^ sunclock.c:5613:24: warning: passing arguments to 'showZoomHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showZoomHint(j); ^ sunclock.c:5617:18: warning: passing arguments to 'getNumCmd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getNumCmd(toupper(key))>=0) ^ sunclock.c:5624:26: warning: passing arguments to 'showOptionHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showOptionHint(j); ^ sunclock.c:4854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processKey(win, keysym) ^ sunclock.c:5652:48: warning: passing arguments to 'RaiseAndFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (evtype!=MotionNotify) RaiseAndFocus(win); ^ sunclock.c:5659:22: warning: passing arguments to 'processMenuAction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processMenuAction(MenuCaller, x, y, button, evtype); ^ sunclock.c:5664:32: warning: passing arguments to 'processFileselAction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processFileselAction(FileselCaller, x, y, evtype); ^ sunclock.c:5669:29: warning: passing arguments to 'processZoomAction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processZoomAction(ZoomCaller, x, y, button, evtype); ^ sunclock.c:5674:31: warning: passing arguments to 'processOptionAction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processOptionAction(OptionCaller, x, y, button, evtype); ^ sunclock.c:5679:30: warning: passing arguments to 'processUrbanAction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processUrbanAction(UrbanCaller, x, y, button, evtype); ^ sunclock.c:5687:31: warning: passing arguments to 'getState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (do_menu && getState(Menu)==IsViewable) ^ sunclock.c:5752:28: warning: passing arguments to 'setZoomAspect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomAspect(Context, 3); ^ sunclock.c:5753:31: warning: passing arguments to 'setZoomDimension' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context); ^ sunclock.c:5756:27: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5789:34: warning: passing arguments to 'setZoomDimension' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context); ^ sunclock.c:5791:30: warning: passing arguments to 'activateZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, zoom_active); ^ sunclock.c:5811:15: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopMenu(Context); ^ sunclock.c:5633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processMouseEvent(win, x, y, button, evtype) ^ sunclock.c:5856:31: warning: passing arguments to 'getPlacement' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getPlacement(win, &x, &y, &w, &h)) return; ^ sunclock.c:5866:27: warning: passing arguments to 'setSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSizeHints(NULL, num); ^ sunclock.c:5867:27: warning: passing arguments to 'setProtocols' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setProtocols(NULL, num); ^ sunclock.c:5869:30: warning: passing arguments to 'setupFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupFilesel(-1); ^ sunclock.c:5875:27: warning: passing arguments to 'setupZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupZoom(-1); ^ sunclock.c:5880:21: warning: passing arguments to 'resetStringLength' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetStringLength(w, &option_entry); ^ sunclock.c:5881:29: warning: passing arguments to 'setupOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupOption(-1); ^ sunclock.c:5885:14: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(-2); ^ sunclock.c:5889:31: warning: passing arguments to 'resetStringLength' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetStringLength(w, &urban_entry[i]); ^ sunclock.c:5892:14: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(-1); ^ sunclock.c:5902:28: warning: passing arguments to 'getPlacement' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getPlacement(win, &x, &y, &w, &h)) return; ^ sunclock.c:5922:22: warning: passing arguments to 'adjustGeom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustGeom(Context, 0); ^ sunclock.c:5924:20: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ sunclock.c:5925:25: warning: passing arguments to 'setZoomAspect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomAspect(Context, 3); ^ sunclock.c:5825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processResize(win) ^ sunclock.c:5937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doTimeout(Context) ^ sunclock.c:201:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void doTimeout(); ^ sunclock.c:5978:35: warning: passing arguments to 'setupMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w == Menu) { setupMenu(-1); return; } ^ sunclock.c:5979:41: warning: passing arguments to 'setupFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w == Filesel) { setupFilesel(-1); return; } ^ sunclock.c:5980:35: warning: passing arguments to 'setupZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w == Zoom) { setupZoom(-1); return; } ^ sunclock.c:5981:39: warning: passing arguments to 'setupOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w == Option) { setupOption(-1); return; } ^ sunclock.c:5982:37: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w == Urban) { setupUrban(-1); return; } ^ sunclock.c:5970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doExpose(w) ^ sunclock.c:6010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] evpred(d, e, a) ^ sunclock.c:6051:16: warning: passing arguments to 'setupOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupOption(0); ^ sunclock.c:6056:15: warning: passing arguments to 'setupUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(0); ^ sunclock.c:6068:35: warning: passing arguments to 'setAuxilWins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAuxilWins(Context, DEICONIFY); ^ sunclock.c:6080:35: warning: passing arguments to 'setAuxilWins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAuxilWins(Context, ICONIFY); ^ sunclock.c:6093:67: warning: passing arguments to 'PopMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ev.xexpose.window == Menu) PopMenu(MenuCaller); ^ sunclock.c:6096:45: warning: passing arguments to 'PopFilesel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopFilesel(FileselCaller); ^ sunclock.c:6098:67: warning: passing arguments to 'PopZoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ev.xexpose.window == Zoom) PopZoom(ZoomCaller); ^ sunclock.c:6101:54: warning: passing arguments to 'PopOption' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopOption(OptionCaller); ^ sunclock.c:6104:53: warning: passing arguments to 'PopUrban' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopUrban(UrbanCaller); ^ sunclock.c:6109:45: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 1); ^ sunclock.c:6202:27: warning: passing arguments to 'tildepath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((p = tildepath("~/.sunclockrc")) == NULL) { ^ sunclock.c:6248:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ProgName, VERSION, COPYRIGHT, ^~~~~~~~~ ./version.h:7:26: note: expanded from macro 'COPYRIGHT' #define COPYRIGHT " J.-P. Demailly" ^~~~ sunclock.c:6255:40: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] city_spotsizes = (int *) salloc(city_cat * sizeof(int)); ^ sunclock.c:6256:41: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] city_sizelimits = (int *) salloc(city_cat * sizeof(int)); ^ sunclock.c:6163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 257 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c astro.c astro.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jdate(t) ^ astro.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jtime(t) ^ astro.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gmst(jd) ^ astro.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kepler(m, ecc) ^ astro.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sunpos(jd, apparent, ra, dec, rv, slong) ^ astro.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void jyear(td, yy, mm, dd) ^ astro.c:235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void jhms(j, h, m, s) ^ astro.c:260:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double meanphase(sdate, phase, usek) ^ astro.c:290:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double truephase(k, phase) ^ astro.c:373:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void phasehunt(sdate, phases) ^ astro.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] phase(gtime, lat, lon, pphase, mage, dist, angdia, sudist, suangdia) ^ 11 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c widgets.c widgets.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getState(w) ^ widgets.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPlacement(win, x, y, w, h) ^ widgets.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkGeom(Context, bool) ^ widgets.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjustGeom(Context, which) ^ widgets.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSizeHints(Context, num) ^ widgets.c:426:27: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!Title) StringReAlloc(&Title, ProgName); ^ widgets.c:429:18: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&ClassName, ProgName); ^ widgets.c:434:25: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&ClockClassName, ClassName); ^ widgets.c:437:25: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&MapClassName, ClassName); ^ widgets.c:440:25: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&AuxilClassName, ClassName); ^ widgets.c:455:18: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] salloc((strlen(Title)+strlen(VERSION)+10)*sizeof(char)); ^ widgets.c:461:18: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] salloc((strlen(Title)+20)*sizeof(char)); ^ widgets.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setClassHints(win, num) ^ widgets.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setProtocols(Context, num) ^ widgets.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newWindow(Context, Geom, num) ^ widgets.c:557:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void getWinParams(win, Context, keys, nkeys, y, width) ^ widgets.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getButton(win, x, y) ^ widgets.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawBox(win, gc, pix, x1, y1, x2, y2, clicked) ^ widgets.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawButton(win, n, clicked) ^ widgets.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getNumCmd(key) ^ widgets.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BasicSettings(Context) ^ widgets.c:805:65: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ProgName, VERSION, i, Month_name[j-1], k, COPYRIGHT); ^~~~~~~~~ ./version.h:7:26: note: expanded from macro 'COPYRIGHT' #define COPYRIGHT " J.-P. Demailly" ^~~~ widgets.c:820:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(more+2, Label[L_ONCE]); ^~~~~~~~~~~~~ widgets.c:820:22: note: treat the string as an argument to avoid this sprintf(more+2, Label[L_ONCE]); ^ "%s", widgets.c:824:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(more+2, Label[L_BLANKSCREEN]); ^~~~~~~~~~~~~~~~~~~~ widgets.c:824:22: note: treat the string as an argument to avoid this sprintf(more+2, Label[L_BLANKSCREEN]); ^ "%s", widgets.c:826:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(more+2, Label[L_STARRYSKY]); ^~~~~~~~~~~~~~~~~~ widgets.c:826:22: note: treat the string as an argument to avoid this sprintf(more+2, Label[L_STARRYSKY]); ^ "%s", widgets.c:760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpHint(Context, key, hint) ^ widgets.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showMenuHint(but_pos) ^ widgets.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupMenu(mode) ^ widgets.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopMenu(Context) ^ widgets.c:987:22: warning: passing arguments to 'processKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processKey(Menu, (KeySym)key); ^ widgets.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processMenuAction(Context, x, y, button, evtype) ^ widgets.c:1061:28: warning: passing arguments to 'get_dir_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dirtable = get_dir_list(image_dir, &num_table_entries); ^ widgets.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupFilesel(mode) ^ widgets.c:1154:30: warning: passing arguments to 'free_dirlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (dirtable) free_dirlist(dirtable); ^ widgets.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopFilesel(Context) ^ widgets.c:1240:20: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&image_dir, share_maps_dir); ^ widgets.c:1242:20: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&image_dir, "/"); ^ widgets.c:1245:20: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&image_dir, newdir); ^ widgets.c:1256:25: warning: passing arguments to 'processKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processKey(Context->win, XK_w); ^ widgets.c:1260:25: warning: passing arguments to 'processKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processKey(Context->win, XK_exclam); ^ widgets.c:1313:24: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f = (char *) salloc(strlen(image_dir)+y+2); ^ widgets.c:1331:34: warning: passing arguments to 'free_dirlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (dirtable) free_dirlist(dirtable); ^ widgets.c:1335:21: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&image_dir, f); ^ widgets.c:1343:23: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] salloc((strlen(image_dir)+strlen(s)+2)*sizeof(char)); ^ widgets.c:1347:34: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&Context->map_img_file, f); ^ widgets.c:1349:20: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&Context->clock_img_file, f); ^ widgets.c:1352:19: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ widgets.c:1353:19: warning: passing arguments to 'buildMap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildMap(Context, Context->wintype, 0); ^ widgets.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processFileselAction(Context, x, y, evtype) ^ widgets.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkZoomSettings(zoom) ^ widgets.c:1377:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int setZoomAspect(Context, mode) ^ widgets.c:1457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setZoomDimension(Context) ^ widgets.c:1511:55: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "magx = %.3f, magy = %.3f, lon = %.3f, lat = %.3f", ^~~~ ~~~~ widgets.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showZoomHint(but_pos) ^ widgets.c:1602:22: warning: passing arguments to 'readVMF' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] code = readVMF(Zoom_img_file, ZoomCaller); ^ widgets.c:1610:38: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZoomCaller->bits = (char *) salloc(num); ^ widgets.c:1696:26: warning: passing arguments to 'drawDottedRectangle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawDottedRectangle(dpy, Zoom, ZoomCaller->gdata->wingc, ^ widgets.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupZoom(mode) ^ widgets.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopZoom(Context) ^ widgets.c:1528:1: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PopZoom(); ^ widgets.c:1818:19: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ widgets.c:1819:19: warning: passing arguments to 'buildMap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildMap(Context, Context->wintype, 0); ^ widgets.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] activateZoom(Context, rebuild) ^ widgets.c:1866:14: warning: passing arguments to 'processKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processKey(Context->win, tolower(zoom_newhint)); ^ widgets.c:1829:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void processZoomAction(Context, x, y, button, evtype) ^ widgets.c:1941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showOptionHint(but_pos) ^ widgets.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showCaret(Context, win, entry, x, y, mode) ^ widgets.c:2009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupOption(mode) ^ widgets.c:2061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetStringLength(max, entry) ^ widgets.c:2083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopOption(Context) ^ widgets.c:2158:18: warning: passing arguments to 'parseCmdLine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = parseCmdLine(option_entry.string); ^ widgets.c:2174:29: warning: passing arguments to 'clearNightArea' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearNightArea(Context); ^ widgets.c:2176:21: warning: passing arguments to 'drawCities' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawCities(Context); ^ widgets.c:2177:25: warning: passing arguments to 'drawSunAndMoon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawSunAndMoon(Context); ^ widgets.c:2184:10: warning: passing arguments to 'shutDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, 0); ^ widgets.c:2209:26: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&Context->clock_img_file, Clock_img_file); ^ widgets.c:2211:26: warning: passing arguments to 'StringReAlloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReAlloc(&Context->map_img_file, Map_img_file); ^ widgets.c:2212:10: warning: passing arguments to 'buildMap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildMap(Context, Context->wintype, 0); ^ widgets.c:2269:21: warning: passing arguments to 'processKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processKey(Option, key); ^ widgets.c:2216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processOptionAction(Context, x, y, button, evtype) ^ widgets.c:2278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showUrbanHint(str) ^ widgets.c:2348:18: warning: passing arguments to 'num2str' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr = num2str(city->lat, urban_entry[2].string, Context->flags.dms); ^ widgets.c:2350:18: warning: passing arguments to 'num2str' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr = num2str(city->lon, urban_entry[3].string, Context->flags.dms); ^ widgets.c:2320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateUrbanEntries(Context, city) ^ widgets.c:2357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setupUrban(mode) ^ widgets.c:2442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopUrban(Context) ^ widgets.c:2567:21: warning: passing arguments to 'processKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processKey(Urban, key); ^ widgets.c:2500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processUrbanAction(Context, x, y, button, evtype) ^ widgets.c:2580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parentContext(Context) ^ widgets.c:2592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAuxilWins(Context, mode) ^ widgets.c:2679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void RaiseAndFocus(win) ^ widgets.c:2692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroyGCs(Context) ^ widgets.c:2720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shutDown(Context, all) ^ widgets.c:125:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void shutDown(); ^ 94 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c tildepath.c tildepath.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tildepath(path) ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dirlist.c cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c readvmf.c readvmf.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] salloc(nbytes) ^ readvmf.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotdata(u, v, s) ^ readvmf.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int check(i, j, which) ^ readvmf.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getdata(fd) ^ readvmf.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPixel(cmap, str) ^ readvmf.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readVMF(path, Context) ^ 6 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c readxpm.c readxpm.c:51:42: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->xim->data = (char *) salloc(Context->xim->bytes_per_line ^ readxpm.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readXPM(path, Context) ^ 2 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c readgif.c readgif.c:188:41: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->xim->data = (char *) salloc(size); ^ readgif.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readGIF(path, Context) ^ readgif.c:470:35: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = (unsigned char *)salloc(3*width); ^ readgif.c:473:23: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ys = (int *)salloc((height+1)*sizeof(int)); ^ 4 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c readjpeg.c readjpeg.c:126:41: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->xim->data = (char *) salloc(size); ^ readjpeg.c:127:27: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = (char *) salloc(3 * cinfo.output_width * sizeof(char)); ^ readjpeg.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readJPEG(path, Context) ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c readpng.c readpng.c:184:41: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Context->xim->data = (char *) salloc(size); ^ readpng.c:201:34: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] png_data = (png_bytep) salloc(height*rowbytes); ^ readpng.c:202:39: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] row_pointers = (png_bytep *)salloc(height * sizeof(png_bytep)); ^ readpng.c:203:26: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = (char *)salloc(3*width); ^ readpng.c:204:23: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ys = (int *)salloc((height+1)*sizeof(int)); ^ readpng.c:307:17: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memcpy(Context->xim->data+i*Context->xim->bytes_per_line, out, ^ readpng.c:307:17: note: include the header or explicitly provide a declaration for 'memcpy' readpng.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readPNG(path, Context) ^ 7 warnings generated. rm -f sunclock cc -o sunclock -O2 -I/usr/local/include -I/usr/X11R6/include/X11 -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -DEMXBINDIR=\"/share/sunclock/bin\" -L/usr/X11R6/lib -L/usr/local/lib sunclock.o astro.o widgets.o tildepath.o dirlist.o readvmf.o readxpm.o readgif.o readjpeg.o readpng.o -lX11 -L/usr/X11R6/lib -lXpm -lz -L/usr/local/lib -ljpeg -lpng -lm -Wl,-rpath,/usr/local/lib ld: warning: sunclock.c(sunclock.o:(StringReAlloc)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: sunclock.c(sunclock.o:(addCity)): warning: sprintf() is often misused, please use snprintf() ld: warning: sunclock.c(sunclock.o:(writeStrip)): warning: strcat() is almost always misused, please use strlcat() ld: warning: sunclock.c(sunclock.o:(drawImageToRootWindow)): warning: random() may return deterministic values, is that what you want? rm -f sunclock._man if test -z "" ; then cd `dirname sunclock` && ln -s `basename sunclock.man` `basename sunclock._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/lib/sunclock/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/lib/sunclock -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < sunclock.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >sunclock._man; fi >>> Running package in astro/sunclock at 1735138259.88 ===> astro/sunclock ===> Faking installation for sunclock-3.57 /exopi-obj/pobj/sunclock-3.57/bin/install -c -s -m 755 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/sunclock /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/bin /exopi-obj/pobj/sunclock-3.57/bin/install -c -m 644 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/sunclock.man /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/man/man1/sunclock.1 /exopi-obj/pobj/sunclock-3.57/bin/install -d -m 755 /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock /exopi-obj/pobj/sunclock-3.57/bin/install -c -m 644 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/Sunclockrc /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/ /exopi-obj/pobj/sunclock-3.57/bin/install -d -m 755 /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/earthmaps /exopi-obj/pobj/sunclock-3.57/bin/install -d -m 755 /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/earthmaps/vmf /exopi-obj/pobj/sunclock-3.57/bin/install -d -m 755 /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/i18n /exopi-obj/pobj/sunclock-3.57/bin/install -d -m 755 /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/wm_icons/ /exopi-obj/pobj/sunclock-3.57/bin/install -c -m 644 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/wm_icons/* /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/wm_icons/ /exopi-obj/pobj/sunclock-3.57/bin/install -c -m 644 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/vmf/*jpg /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/earthmaps/ /exopi-obj/pobj/sunclock-3.57/bin/install -c -m 644 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/vmf/*png /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/earthmaps/ /exopi-obj/pobj/sunclock-3.57/bin/install -c -m 644 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/vmf/*vmf /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/earthmaps/vmf/ /exopi-obj/pobj/sunclock-3.57/bin/install -c -m 644 /exopi-obj/pobj/sunclock-3.57/sunclock-3.57/i18n/Sunclock.* /exopi-obj/pobj/sunclock-3.57/fake-amd64/usr/local/share/sunclock/i18n/ ===> Building package for sunclock-3.57 Create /exopi-cvs/ports/packages/amd64/all/sunclock-3.57.tgz Creating package sunclock-3.57 reading plist| checking dependencies| checking dependencies|graphics/jpeg checking dependencies|graphics/png checksumming| checksumming| | 0% checksumming|* | 2% checksumming|*** | 5% checksumming|**** | 7% checksumming|****** | 10% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 17% checksumming|************ | 19% checksumming|************* | 21% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 29% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************* | 40% checksumming|************************** | 43% checksumming|**************************** | 45% checksumming|***************************** | 48% checksumming|******************************* | 50% checksumming|******************************** | 52% checksumming|********************************* | 55% checksumming|*********************************** | 57% checksumming|************************************ | 60% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************** | 71% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|*************************************************** | 83% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 90% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*** | 5% archiving|**** | 6% archiving|**** | 7% archiving|*********************************** | 55% archiving|****************************************** | 65% archiving|*********************************************** | 73% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/sunclock-3.57.tgz `/exopi-obj/pobj/sunclock-3.57/fake-amd64/.fake_done' is up to date. ===> Building package for sunclock-maps-3.57 Create /exopi-cvs/ports/packages/amd64/no-arch/sunclock-maps-3.57.tgz Creating package sunclock-maps-3.57 reading plist| checking dependencies| checking dependencies|astro/sunclock,-main checksumming| checksumming| | 0% checksumming|** | 3% checksumming|**** | 7% checksumming|****** | 10% checksumming|******** | 14% checksumming|*********** | 17% checksumming|************* | 21% checksumming|*************** | 24% checksumming|***************** | 28% checksumming|******************* | 31% checksumming|********************* | 34% checksumming|*********************** | 38% checksumming|************************* | 41% checksumming|*************************** | 45% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 55% checksumming|************************************ | 59% checksumming|************************************** | 62% checksumming|**************************************** | 66% checksumming|****************************************** | 69% checksumming|******************************************** | 72% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 83% checksumming|***************************************************** | 86% checksumming|******************************************************* | 90% checksumming|********************************************************* | 93% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*** | 5% archiving|**** | 7% archiving|****** | 9% archiving|******* | 11% archiving|******** | 12% archiving|********** | 16% archiving|************* | 21% archiving|**************** | 25% archiving|******************* | 29% archiving|********************** | 34% archiving|************************ | 38% archiving|*************************** | 42% archiving|****************************** | 47% archiving|********************************* | 51% archiving|*********************************** | 54% archiving|*********************************** | 55% archiving|************************************ | 56% archiving|*************************************** | 61% archiving|****************************************** | 65% archiving|******************************************** | 69% archiving|*********************************************** | 74% archiving|************************************************** | 78% archiving|**************************************************** | 81% archiving|***************************************************** | 83% archiving|******************************************************** | 87% archiving|********************************************************* | 89% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************* | 95% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/all/sunclock-maps-3.57.tgz >>> Running clean in astro/sunclock at 1735138272.10 ===> astro/sunclock ===> Cleaning for sunclock-3.57 >>> Ended at 1735138272.45 max_stuck=1.17/depends=2.99/show-prepare-results=1.37/build=10.43/package=12.23/clean=0.38