=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/mowitz", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for Mowitz-0.3.1nb3 --- all-recursive --- Making all in Mowitz --- all-recursive --- Making all in cursor Making all in fonts Making all in pixmaps --- MwCanvas.lo --- --- MwFrame.lo --- --- MwImage.lo --- --- MwListTree.lo --- --- MwRuler.lo --- --- MwCanvas.lo --- /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c MwCanvas.c --- MwFrame.lo --- /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c MwFrame.c --- MwImage.lo --- /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c MwImage.c --- MwListTree.lo --- /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c MwListTree.c --- MwRuler.lo --- /usr/bin/bash ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/opt/pkg/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c MwRuler.c --- MwCanvas.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwCanvas.c -fPIC -DPIC -o .libs/MwCanvas.o --- MwFrame.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwFrame.c -fPIC -DPIC -o .libs/MwFrame.o --- MwRuler.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwRuler.c -fPIC -DPIC -o .libs/MwRuler.o --- MwListTree.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwListTree.c -fPIC -DPIC -o .libs/MwListTree.o --- MwFrame.lo --- MwFrame.c: In function 'MwFrameInit': MwFrame.c:262:1: warning: old-style function definition [-Wold-style-definition] 262 | MwFrameInit(request, new, args, num_args) | ^~~~~~~~~~~ MwFrame.c: In function 'MwFrameRealize': MwFrame.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | MwFrameRealize(w, valueMask, attributes) | ^~~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameDestroy': MwFrame.c:312:1: warning: old-style function definition [-Wold-style-definition] 312 | MwFrameDestroy(w) | ^~~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameResize': MwFrame.c:324:1: warning: old-style function definition [-Wold-style-definition] 324 | MwFrameResize(w) | ^~~~~~~~~~~~~ --- MwCanvas.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwCanvas.c -o MwCanvas.o >/dev/null 2>&1 --- MwFrame.lo --- MwFrame.c: In function 'MwFrameExpose': MwFrame.c:384:1: warning: old-style function definition [-Wold-style-definition] 384 | MwFrameExpose(w, event, region) | ^~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameSetValues': MwFrame.c:442:1: warning: old-style function definition [-Wold-style-definition] 442 | MwFrameSetValues(current, request, new, args, num_args) | ^~~~~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameQueryGeometry': MwFrame.c:490:1: warning: old-style function definition [-Wold-style-definition] 490 | MwFrameQueryGeometry(w, intended, preferred) | ^~~~~~~~~~~~~~~~~~~~ --- MwRuler.lo --- MwRuler.c: In function 'RulerInit': MwRuler.c:419:1: warning: old-style function definition [-Wold-style-definition] 419 | RulerInit(request, new, args, num_args) | ^~~~~~~~~ MwRuler.c: In function 'RulerRealize': MwRuler.c:468:1: warning: old-style function definition [-Wold-style-definition] 468 | RulerRealize(w, valueMask, attributes) | ^~~~~~~~~~~~ MwRuler.c: In function 'RulerDestroy': MwRuler.c:502:1: warning: old-style function definition [-Wold-style-definition] 502 | RulerDestroy(w) | ^~~~~~~~~~~~ MwRuler.c: In function 'RulerResize': MwRuler.c:516:1: warning: old-style function definition [-Wold-style-definition] 516 | RulerResize(w) | ^~~~~~~~~~~ MwRuler.c: In function 'fracStr': MwRuler.c:545:1: warning: old-style function definition [-Wold-style-definition] 545 | fracStr(rw, line, v, numerator,denominator, sign) | ^~~~~~~ MwRuler.c: In function 'fracWid': MwRuler.c:575:1: warning: old-style function definition [-Wold-style-definition] 575 | fracWid(rw, v, divisions) | ^~~~~~~ MwRuler.c: In function 'rulerWid': MwRuler.c:587:1: warning: old-style function definition [-Wold-style-definition] 587 | rulerWid(rw, v, divisions) | ^~~~~~~~ MwRuler.c: In function 'minStep': MwRuler.c:598:1: warning: old-style function definition [-Wold-style-definition] 598 | minStep(step, sm, scale) | ^~~~~~~ MwRuler.c: In function 'maxDiv': MwRuler.c:618:1: warning: old-style function definition [-Wold-style-definition] 618 | maxDiv(rw, divisions, width, func, arg) | ^~~~~~ MwRuler.c:641:17: error: too many arguments to function 'func'; expected 0, have 3 641 | func(rw, arg, divisions/i)*divisions/i <= width ) | ^~~~ ~~ MwRuler.c: In function 'RulerExpose': MwRuler.c:668:1: warning: old-style function definition [-Wold-style-definition] 668 | RulerExpose(w, event, region) | ^~~~~~~~~~~ MwRuler.c: In function 'RulerDraw': MwRuler.c:694:1: warning: old-style function definition [-Wold-style-definition] 694 | RulerDraw(rw, x1,x2) | ^~~~~~~~~ --- MwFrame.lo --- MwFrame.c: In function 'MwFrameGeometryManager': MwFrame.c:573:1: warning: old-style function definition [-Wold-style-definition] 573 | MwFrameGeometryManager(w, req, reply) | ^~~~~~~~~~~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameChangeManaged': MwFrame.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | MwFrameChangeManaged(w) | ^~~~~~~~~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameAllocGCs': MwFrame.c:729:1: warning: old-style function definition [-Wold-style-definition] 729 | MwFrameAllocGCs(fw) | ^~~~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameFreeGCs': MwFrame.c:758:1: warning: old-style function definition [-Wold-style-definition] 758 | MwFrameFreeGCs(fw) | ^~~~~~~~~~~~~~ MwFrame.c: In function 'PreferredSize': MwFrame.c:780:1: warning: old-style function definition [-Wold-style-definition] 780 | PreferredSize(fw, reply_width, reply_height) | ^~~~~~~~~~~~~ MwFrame.c: In function 'PreferredSize3': MwFrame.c:795:1: warning: old-style function definition [-Wold-style-definition] 795 | PreferredSize3(fw, cw,ch, tw,th, reply_width, reply_height) | ^~~~~~~~~~~~~~ MwFrame.c: In function 'MwFrameChild': --- MwRuler.lo --- MwRuler.c: In function 'drawTics': MwRuler.c:798:1: warning: old-style function definition [-Wold-style-definition] 798 | drawTics(rw, x,y,dx,n, tic_len, x1,x2) | ^~~~~~~~ MwRuler.c: In function 'drawTic': MwRuler.c:836:1: warning: old-style function definition [-Wold-style-definition] 836 | drawTic(rw, x,y, tic_len, x1,x2) | ^~~~~~~ MwRuler.c: In function 'drawLabel': MwRuler.c:856:1: warning: old-style function definition [-Wold-style-definition] 856 | drawLabel(rw, x,y, str, gc, font) | ^~~~~~~~~ MwRuler.c: In function 'indexPmPos': MwRuler.c:889:1: warning: old-style function definition [-Wold-style-definition] 889 | indexPmPos(rw, x, y, wid,hgt) | ^~~~~~~~~~ MwRuler.c: In function 'drawPointer': MwRuler.c:922:1: warning: old-style function definition [-Wold-style-definition] 922 | drawPointer(rw) | ^~~~~~~~~~~ MwRuler.c: In function 'undrawPointer': MwRuler.c:983:1: warning: old-style function definition [-Wold-style-definition] 983 | undrawPointer(rw) --- MwFrame.lo --- MwFrame.c:812:1: warning: old-style function definition [-Wold-style-definition] 812 | MwFrameChild(fw) | ^~~~~~~~~~~~ MwFrame.c: In function '_CvtStringToShadowType': MwFrame.c:838:1: warning: old-style function definition [-Wold-style-definition] 838 | _CvtStringToShadowType(args, num_args, fromVal, toVal) | ^~~~~~~~~~~~~~~~~~~~~~ --- MwRuler.lo --- | ^~~~~~~~~~~~~ MwRuler.c: In function 'RulerSetValues': MwRuler.c:1007:1: warning: old-style function definition [-Wold-style-definition] 1007 | RulerSetValues(old, request, new, args, num_args) | ^~~~~~~~~~~~~~ MwRuler.c: In function 'RulerQueryGeometry': MwRuler.c:1103:1: warning: old-style function definition [-Wold-style-definition] 1103 | RulerQueryGeometry(w, intended, preferred) | ^~~~~~~~~~~~~~~~~~ MwRuler.c: In function 'StartScroll': MwRuler.c:1148:1: warning: old-style function definition [-Wold-style-definition] 1148 | StartScroll(w, event, params, num_params) | ^~~~~~~~~~~ MwRuler.c: In function 'Drag': MwRuler.c:1173:1: warning: old-style function definition [-Wold-style-definition] 1173 | Drag(w, event, params, num_params) | ^~~~ MwRuler.c: In function 'EndScroll': MwRuler.c:1209:1: warning: old-style function definition [-Wold-style-definition] 1209 | EndScroll(w, event, params, num_params) | ^~~~~~~~~ MwRuler.c: In function 'Scroll': MwRuler.c:1228:1: warning: old-style function definition [-Wold-style-definition] 1228 | Scroll(w, event, params, num_params) | ^~~~~~ MwRuler.c: In function 'ScrollTo': MwRuler.c:1292:1: warning: old-style function definition [-Wold-style-definition] 1292 | ScrollTo(w, event, params, num_params) | ^~~~~~~~ MwRuler.c: In function 'iScroll': MwRuler.c:1338:1: warning: old-style function definition [-Wold-style-definition] 1338 | iScroll(rw, dp) | ^~~~~~~ MwRuler.c: In function 'ExtractPosition': MwRuler.c:1403:1: warning: old-style function definition [-Wold-style-definition] 1403 | ExtractPosition (event, x, y) | ^~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerSetMinScale': MwRuler.c:1444:1: warning: old-style function definition [-Wold-style-definition] 1444 | MwRulerSetMinScale(w, minValue, scale) | ^~~~~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerSetMin': MwRuler.c:1463:1: warning: old-style function definition [-Wold-style-definition] 1463 | MwRulerSetMin(w, minValue) | ^~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerSetScale': MwRuler.c:1476:1: warning: old-style function definition [-Wold-style-definition] 1476 | MwRulerSetScale(w, scale) | ^~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerSetMinPosition': MwRuler.c:1489:1: warning: old-style function definition [-Wold-style-definition] 1489 | MwRulerSetMinPosition(w, minValue, position) | ^~~~~~~~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerGetMin': MwRuler.c:1506:1: warning: old-style function definition [-Wold-style-definition] 1506 | MwRulerGetMin(w) | ^~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerGetScale': MwRuler.c:1519:1: warning: old-style function definition [-Wold-style-definition] 1519 | MwRulerGetScale(w) | ^~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerSetValue': MwRuler.c:1532:1: warning: old-style function definition [-Wold-style-definition] 1532 | MwRulerSetValue(w, value) | ^~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerSetIValue': MwRuler.c:1547:1: warning: old-style function definition [-Wold-style-definition] 1547 | MwRulerSetIValue(w, value) | ^~~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerShowPointer': MwRuler.c:1564:1: warning: old-style function definition [-Wold-style-definition] 1564 | MwRulerShowPointer(w, show) | ^~~~~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerGetValue': MwRuler.c:1583:1: warning: old-style function definition [-Wold-style-definition] 1583 | MwRulerGetValue(w) | ^~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerGetIValue': MwRuler.c:1594:1: warning: old-style function definition [-Wold-style-definition] 1594 | MwRulerGetIValue(w) | ^~~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerPosition2Value': MwRuler.c:1607:1: warning: old-style function definition [-Wold-style-definition] 1607 | MwRulerPosition2Value(w, position) | ^~~~~~~~~~~~~~~~~~~~~ MwRuler.c: In function 'MwRulerValue2Position': MwRuler.c:1622:1: warning: old-style function definition [-Wold-style-definition] 1622 | MwRulerValue2Position(w, value) | ^~~~~~~~~~~~~~~~~~~~~ MwRuler.c: In function 'RulerAllocGCs': MwRuler.c:1647:1: warning: old-style function definition [-Wold-style-definition] 1647 | RulerAllocGCs(rw) | ^~~~~~~~~~~~~ MwRuler.c: In function 'RulerFreeGCs': MwRuler.c:1656:1: warning: old-style function definition [-Wold-style-definition] 1656 | RulerFreeGCs(rw) | ^~~~~~~~~~~~ MwRuler.c: In function 'RulerStepDiv': MwRuler.c:1680:1: warning: old-style function definition [-Wold-style-definition] 1680 | RulerStepDiv(rw) | ^~~~~~~~~~~~ MwRuler.c:1723:57: error: passing argument 4 of 'maxDiv' from incompatible pointer type [-Wincompatible-pointer-types] 1723 | divisions = maxDiv(rw, divisions, (int)scale, rulerWid, RULER_MIN) ; | ^~~~~~~~ | | | int (*)(struct _MwRulerRec *, int, int) MwRuler.c:622:19: note: expected 'int (*)(void)' but argument is of type 'int (*)(struct _MwRulerRec *, int, int)' 622 | int (*func)() ; /* returns width of one division */ | ^~~~ MwRuler.c:587:1: note: 'rulerWid' declared here 587 | rulerWid(rw, v, divisions) | ^~~~~~~~ MwRuler.c:1783:65: error: passing argument 4 of 'maxDiv' from incompatible pointer type [-Wincompatible-pointer-types] 1783 | divisions = maxDiv(rw, divisions, (int)scale, fracWid, iv1) ; | ^~~~~~~ | | | int (*)(struct _MwRulerRec *, int, int) MwRuler.c:622:19: note: expected 'int (*)(void)' but argument is of type 'int (*)(struct _MwRulerRec *, int, int)' 622 | int (*func)() ; /* returns width of one division */ | ^~~~ MwRuler.c:575:1: note: 'fracWid' declared here 575 | fracWid(rw, v, divisions) | ^~~~~~~ MwRuler.c:1788:63: error: passing argument 4 of 'maxDiv' from incompatible pointer type [-Wincompatible-pointer-types] 1788 | divisions = maxDiv(rw, divisions, (int)scale, rulerWid, wid) ; | ^~~~~~~~ | | | int (*)(struct _MwRulerRec *, int, int) MwRuler.c:622:19: note: expected 'int (*)(void)' but argument is of type 'int (*)(struct _MwRulerRec *, int, int)' 622 | int (*func)() ; /* returns width of one division */ | ^~~~ MwRuler.c:587:1: note: 'rulerWid' declared here 587 | rulerWid(rw, v, divisions) | ^~~~~~~~ MwRuler.c: In function 'PreferredSize': MwRuler.c:1803:1: warning: old-style function definition [-Wold-style-definition] 1803 | PreferredSize(rw, reply_width, reply_height) | ^~~~~~~~~~~~~ MwRuler.c: In function 'ifloor': MwRuler.c:1830:1: warning: old-style function definition [-Wold-style-definition] 1830 | ifloor(a) | ^~~~~~ MwRuler.c: In function 'iceil': MwRuler.c:1841:1: warning: old-style function definition [-Wold-style-definition] 1841 | iceil(a) | ^~~~~ MwRuler.c: In function 'RulerAllocFgGC': MwRuler.c:1895:1: warning: old-style function definition [-Wold-style-definition] 1895 | RulerAllocFgGC(rw) | ^~~~~~~~~~~~~~ MwRuler.c: In function 'RulerAllocPointerGC': MwRuler.c:1918:1: warning: old-style function definition [-Wold-style-definition] 1918 | RulerAllocPointerGC(rw) | ^~~~~~~~~~~~~~~~~~~ MwRuler.c: In function 'CvtStringToLabelStyle': MwRuler.c:1934:1: warning: old-style function definition [-Wold-style-definition] 1934 | CvtStringToLabelStyle(dpy, args, nargs, from, to, data) | ^~~~~~~~~~~~~~~~~~~~~ --- MwListTree.lo --- MwListTree.c:143:14: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 143 | {"Notify", Notify}, | ^~~~~~ MwListTree.c:143:14: note: (near initialization for 'actions[0].proc') MwListTree.c:115:23: note: 'Notify' declared here 115 | static void Select(), Notify(), Unset(), Extend(); | ^~~~~~ MwListTree.c:144:14: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 144 | {"Select", Select}, | ^~~~~~ MwListTree.c:144:14: note: (near initialization for 'actions[1].proc') MwListTree.c:115:13: note: 'Select' declared here 115 | static void Select(), Notify(), Unset(), Extend(); | ^~~~~~ MwListTree.c:145:14: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 145 | {"Extend", Extend}, | ^~~~~~ MwListTree.c:145:14: note: (near initialization for 'actions[2].proc') MwListTree.c:115:42: note: 'Extend' declared here 115 | static void Select(), Notify(), Unset(), Extend(); | ^~~~~~ MwListTree.c:146:13: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 146 | {"Unset", Unset}, | ^~~~~ MwListTree.c:146:13: note: (near initialization for 'actions[3].proc') MwListTree.c:115:33: note: 'Unset' declared here 115 | static void Select(), Notify(), Unset(), Extend(); | ^~~~~ MwListTree.c:163:37: error: initialization of 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 163 | /* initialize */ Initialize, | ^~~~~~~~~~ MwListTree.c:163:37: note: (near initialization for 'listtreeClassRec.core_class.initialize') MwListTree.c:102:13: note: 'Initialize' declared here 102 | static void Initialize(); | ^~~~~~~~~~ MwListTree.c:175:37: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 175 | /* destroy */ Destroy, | ^~~~~~~ MwListTree.c:175:37: note: (near initialization for 'listtreeClassRec.core_class.destroy') MwListTree.c:103:13: note: 'Destroy' declared here 103 | static void Destroy(); | ^~~~~~~ MwListTree.c:176:37: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 176 | /* resize */ Resize, | ^~~~~~ MwListTree.c:176:37: note: (near initialization for 'listtreeClassRec.core_class.resize') MwListTree.c:105:13: note: 'Resize' declared here 105 | static void Resize(); | ^~~~~~ MwListTree.c:177:37: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, struct _XRegion *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, struct _XRegion *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 177 | /* expose */ Redisplay, | ^~~~~~~~~ MwListTree.c:177:37: note: (near initialization for 'listtreeClassRec.core_class.expose') MwListTree.c:104:13: note: 'Redisplay' declared here 104 | static void Redisplay(); | ^~~~~~~~~ MwListTree.c:178:37: error: initialization of 'Boolean (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'char (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'Boolean (*)(void)' {aka 'char (*)(void)'} [-Wincompatible-pointer-types] 178 | /* set_values */ SetValues, | ^~~~~~~~~ MwListTree.c:178:37: note: (near initialization for 'listtreeClassRec.core_class.set_values') MwListTree.c:110:16: note: 'SetValues' declared here 110 | static Boolean SetValues(); | ^~~~~~~~~ MwListTree.c: In function 'MakePixmap': MwListTree.c:198:1: warning: old-style function definition [-Wold-style-definition] 198 | MakePixmap(w, pix) | ^~~~~~~~~~ MwListTree.c: In function 'FreePixmap': MwListTree.c:228:1: warning: old-style function definition [-Wold-style-definition] 228 | FreePixmap(w, pix) | ^~~~~~~~~~ MwListTree.c: In function 'Initialize': MwListTree.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | Initialize(treq, tnew, args, num) | ^~~~~~~~~~ MwListTree.c: In function 'Destroy': MwListTree.c:317:1: warning: old-style function definition [-Wold-style-definition] 317 | Destroy(w) | ^~~~~~~ MwListTree.c:327:7: error: too many arguments to function 'DeleteChildren'; expected 0, have 2 327 | DeleteChildren(w, item->firstchild); | ^~~~~~~~~~~~~~ ~ MwListTree.c:116:13: note: declared here 116 | static void DeleteChildren(); | ^~~~~~~~~~~~~~ MwListTree.c: In function 'Redisplay': MwListTree.c:341:1: warning: old-style function definition [-Wold-style-definition] 341 | Redisplay(w, event, region) | ^~~~~~~~~ MwListTree.c:352:5: error: too many arguments to function 'Draw'; expected 0, have 4 352 | Draw(lw, (Boolean) True, (int) event->y, (int) event->height); | ^~~~ ~~ MwListTree.c:111:13: note: declared here 111 | static void Draw(); | ^~~~ MwListTree.c:355:5: error: too many arguments to function 'DrawAll'; expected 0, have 1 355 | DrawAll(lw); | ^~~~~~~ ~~ MwListTree.c:112:13: note: declared here 112 | static void DrawAll(); | ^~~~~~~ MwListTree.c: In function 'SetValues': MwListTree.c:360:1: warning: old-style function definition [-Wold-style-definition] 360 | SetValues(current, request, new, args, nargs) | ^~~~~~~~~ MwListTree.c: In function 'Resize': MwListTree.c:373:1: warning: old-style function definition [-Wold-style-definition] 373 | Resize(w) | ^~~~~~ MwListTree.c:387:7: error: too many arguments to function 'Layout'; expected 0, have 5 387 | if (Layout(w, FALSE, FALSE, &width, &height)) | ^~~~~~ ~ MwListTree.c:117:16: note: declared here 117 | static Boolean Layout(); | ^~~~~~ MwListTree.c: In function 'PreferredSize': MwListTree.c:400:1: warning: old-style function definition [-Wold-style-definition] 400 | PreferredSize(lw, w, h) | ^~~~~~~~~~~~~ MwListTree.c: In function 'ChangeSize': MwListTree.c:410:1: warning: old-style function definition [-Wold-style-definition] 410 | ChangeSize(w) | ^~~~~~~~~~ MwListTree.c: In function 'Layout': MwListTree.c:508:1: warning: old-style function definition [-Wold-style-definition] 508 | Layout(w, xfree, yfree, width, height) | ^~~~~~ MwListTree.c: In function 'HighlightItem': MwListTree.c:667:9: error: too many arguments to function 'DrawItemHighlightClear'; expected 0, have 2 667 | DrawItemHighlightClear(w, item); | ^~~~~~~~~~~~~~~~~~~~~~ ~ MwListTree.c:113:34: note: declared here 113 | static void DrawItemHighlight(), DrawItemHighlightClear(); | ^~~~~~~~~~~~~~~~~~~~~~ MwListTree.c:673:9: error: too many arguments to function 'DrawItemHighlightClear'; expected 0, have 2 673 | DrawItemHighlightClear(w, item); | ^~~~~~~~~~~~~~~~~~~~~~ ~ MwListTree.c:113:34: note: declared here 113 | static void DrawItemHighlight(), DrawItemHighlightClear(); | ^~~~~~~~~~~~~~~~~~~~~~ MwListTree.c: In function 'MakeV1CallbackStruct': MwListTree.c:806:1: warning: old-style function definition [-Wold-style-definition] 806 | MakeV1CallbackStruct(w, item) | ^~~~~~~~~~~~~~~~~~~~ MwListTree.c: In function 'SelectDouble': MwListTree.c:914:5: error: too many arguments to function 'DrawAll'; expected 0, have 1 914 | DrawAll(w); | ^~~~~~~ ~ MwListTree.c:112:13: note: declared here 112 | static void DrawAll(); | ^~~~~~~ MwListTree.c: In function 'Select': MwListTree.c:947:1: warning: old-style function definition [-Wold-style-definition] 947 | Select(aw, event, params, num_params) | ^~~~~~ MwListTree.c:956:24: error: too many arguments to function 'GetItem'; expected 0, have 2 956 | w->list.timer_item = GetItem(w, event->xbutton.y); | ^~~~~~~ ~ MwListTree.c:114:24: note: declared here 114 | static MwListTreeItem *GetItem(); | ^~~~~~~ MwListTree.c: In function 'Extend': MwListTree.c:984:1: warning: old-style function definition [-Wold-style-definition] 984 | Extend(aw, event, params, num_params) | ^~~~~~ MwListTree.c:1005:10: error: too many arguments to function 'GetItem'; expected 0, have 2 1005 | item = GetItem(w, y); | ^~~~~~~ ~ MwListTree.c:114:24: note: declared here 114 | static MwListTreeItem *GetItem(); | ^~~~~~~ MwListTree.c:1012:14: error: too many arguments to function 'GetItem'; expected 0, have 2 1012 | item = GetItem(w, y); | ^~~~~~~ ~ MwListTree.c:114:24: note: declared here 114 | static MwListTreeItem *GetItem(); | ^~~~~~~ MwListTree.c:1021:14: error: too many arguments to function 'GetItem'; expected 0, have 2 1021 | item = GetItem(w, y); | ^~~~~~~ ~ MwListTree.c:114:24: note: declared here 114 | static MwListTreeItem *GetItem(); | ^~~~~~~ MwListTree.c: In function 'Unset': MwListTree.c:1029:1: warning: old-style function definition [-Wold-style-definition] 1029 | Unset(aw, event, params, num_params) | ^~~~~ MwListTree.c:1038:10: error: too many arguments to function 'GetItem'; expected 0, have 2 1038 | item = GetItem(w, event->xbutton.y); | ^~~~~~~ ~ MwListTree.c:114:24: note: declared here 114 | static MwListTreeItem *GetItem(); | ^~~~~~~ MwListTree.c: In function 'Notify': MwListTree.c:1049:1: warning: old-style function definition [-Wold-style-definition] 1049 | Notify(aw, event, params, num_params) | ^~~~~~ MwListTree.c: In function 'DrawItemHighlight': MwListTree.c:1069:1: warning: old-style function definition [-Wold-style-definition] 1069 | DrawItemHighlight(w, item) | ^~~~~~~~~~~~~~~~~ MwListTree.c: In function 'DrawItemHighlightClear': MwListTree.c:1093:1: warning: old-style function definition [-Wold-style-definition] 1093 | DrawItemHighlightClear(w, item) | ^~~~~~~~~~~~~~~~~~~~~~ --- MwRuler.lo --- *** [MwRuler.lo] Error code 1 bmake[2]: stopped making "all-am" in /tmp/work/x11/mowitz/work/Mowitz-0.3.1/Mowitz --- MwListTree.lo --- MwListTree.c: In function 'DrawItem': MwListTree.c:1121:1: warning: old-style function definition [-Wold-style-definition] 1121 | DrawItem(w, draw, item, x, y, xroot, yroot, retwidth, retheight) | ^~~~~~~~ MwListTree.c:1208:5: error: too many arguments to function 'DrawItemHighlight'; expected 0, have 2 1208 | DrawItemHighlight(w, item); | ^~~~~~~~~~~~~~~~~ ~ MwListTree.c:1069:1: note: declared here 1069 | DrawItemHighlight(w, item) | ^~~~~~~~~~~~~~~~~ MwListTree.c: In function 'DrawChildren': MwListTree.c:1217:1: warning: old-style function definition [-Wold-style-definition] 1217 | DrawChildren(w, draw, item, x, y, xroot, yroot) | ^~~~~~~~~~~~ MwListTree.c: In function 'Draw': MwListTree.c:1248:1: warning: old-style function definition [-Wold-style-definition] 1248 | Draw(w, draw, yevent, hevent) | ^~~~ MwListTree.c:1292:5: error: too many arguments to function 'ChangeSize'; expected 0, have 1 1292 | ChangeSize(w); | ^~~~~~~~~~ ~ MwListTree.c:410:1: note: declared here 410 | ChangeSize(w) | ^~~~~~~~~~ MwListTree.c: In function 'DrawAll': MwListTree.c:1297:1: warning: old-style function definition [-Wold-style-definition] 1297 | DrawAll(w) | ^~~~~~~ MwListTree.c:1301:3: error: too many arguments to function 'Draw'; expected 0, have 4 1301 | Draw(w, (Boolean) True, 0, (int) w->core.height); | ^~~~ ~ MwListTree.c:1248:1: note: declared here 1248 | Draw(w, draw, yevent, hevent) | ^~~~ MwListTree.c: In function 'RemoveReference': MwListTree.c:1311:1: warning: old-style function definition [-Wold-style-definition] 1311 | RemoveReference(w, item) | ^~~~~~~~~~~~~~~ MwListTree.c: In function 'DeleteChildren': MwListTree.c:1334:1: warning: old-style function definition [-Wold-style-definition] 1334 | DeleteChildren(w, item) | ^~~~~~~~~~~~~~ MwListTree.c:1342:7: error: too many arguments to function 'DeleteChildren'; expected 0, have 2 1342 | DeleteChildren(w, item->firstchild); | ^~~~~~~~~~~~~~ ~ MwListTree.c:1334:1: note: declared here 1334 | DeleteChildren(w, item) | ^~~~~~~~~~~~~~ MwListTree.c: In function 'InsertChild': MwListTree.c:1353:1: warning: old-style function definition [-Wold-style-definition] 1353 | InsertChild(w, parent, item) | ^~~~~~~~~~~ MwListTree.c: In function 'InsertChildren': MwListTree.c:1393:1: warning: old-style function definition [-Wold-style-definition] 1393 | InsertChildren(w, parent, item) | ^~~~~~~~~~~~~~ MwListTree.c: In function 'SearchChildren': MwListTree.c:1436:1: warning: old-style function definition [-Wold-style-definition] 1436 | SearchChildren(w, item, y, findy, finditem) | ^~~~~~~~~~~~~~ MwListTree.c: In function 'GetItem': MwListTree.c:1482:1: warning: old-style function definition [-Wold-style-definition] 1482 | GetItem(w, findy) | ^~~~~~~ MwListTree.c: In function 'SearchPosition': MwListTree.c:1529:1: warning: old-style function definition [-Wold-style-definition] 1529 | SearchPosition(w, item, y, finditem, found) | ^~~~~~~~~~~~~~ MwListTree.c: In function 'GetPosition': MwListTree.c:1576:1: warning: old-style function definition [-Wold-style-definition] 1576 | GetPosition(w, finditem) | ^~~~~~~~~~~ MwListTree.c: In function 'MwListTreeRefresh': MwListTree.c:1744:5: error: too many arguments to function 'DrawAll'; expected 0, have 1 1744 | DrawAll(w); | ^~~~~~~ ~ MwListTree.c:1297:1: note: declared here 1297 | DrawAll(w) | ^~~~~~~ MwListTree.c: In function 'MwListTreeDelete': MwListTree.c:1806:5: error: too many arguments to function 'DeleteChildren'; expected 0, have 2 1806 | DeleteChildren(w, item->firstchild); | ^~~~~~~~~~~~~~ ~ MwListTree.c:1334:1: note: declared here 1334 | DeleteChildren(w, item) | ^~~~~~~~~~~~~~ MwListTree.c: In function 'MwListTreeDeleteChildren': MwListTree.c:1823:5: error: too many arguments to function 'DeleteChildren'; expected 0, have 2 1823 | DeleteChildren(w, item->firstchild); | ^~~~~~~~~~~~~~ ~ MwListTree.c:1334:1: note: declared here 1334 | DeleteChildren(w, item) | ^~~~~~~~~~~~~~ --- MwImage.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwImage.c -fPIC -DPIC -o .libs/MwImage.o --- MwListTree.lo --- MwListTree.c: In function 'MwListTreeUserOrderSiblings': MwListTree.c:1901:28: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 1901 | qsort(list, count, size, func); | ^~~~ | | | int (*)(void) In file included from /usr/include/stdlib.h:41, from MwListTree.c:32: /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MwListTree.c: In function 'MwListTreeOrderSiblings': MwListTree.c:1927:47: error: passing argument 3 of 'MwListTreeUserOrderSiblings' from incompatible pointer type [-Wincompatible-pointer-types] 1927 | return MwListTreeUserOrderSiblings(w, item, AlphabetizeItems); | ^~~~~~~~~~~~~~~~ | | | int (*)(const void *, const void *) MwListTree.c:1872:76: note: expected 'int (*)(void)' but argument is of type 'int (*)(const void *, const void *)' 1872 | MwListTreeUserOrderSiblings(MwListTreeWidget w, MwListTreeItem *item,int (*func)()) | ~~~~~~^~~~~~~ MwListTree.c:1865:1: note: 'AlphabetizeItems' declared here 1865 | AlphabetizeItems(const void *item1, const void *item2) | ^~~~~~~~~~~~~~~~ MwListTree.c: In function 'MwListTreeFindSiblingName': MwListTree.c:1971:19: warning: variable 'first' set but not used [-Wunused-but-set-variable] 1971 | MwListTreeItem *first; | ^~~~~ MwListTree.c: In function 'MwListTreeFirstItem': MwListTree.c:2061:1: warning: old-style function definition [-Wold-style-definition] 2061 | MwListTreeFirstItem(w) | ^~~~~~~~~~~~~~~~~~~ *** [MwListTree.lo] Error code 1 bmake[2]: stopped making "all-am" in /tmp/work/x11/mowitz/work/Mowitz-0.3.1/Mowitz --- MwImage.lo --- MwImage.c: In function 'scale_pixmap': MwImage.c:138:39: warning: pointer targets in passing argument 4 of 'XGetGeometry' differ in signedness [-Wpointer-sign] 138 | XGetGeometry(dpy, old, &root, &x, &y, &oldw, &oldh, | ^~ | | | unsigned int * In file included from /tmp/work/x11/mowitz/work/.buildlink/include/X11/Intrinsic.h:53, from /tmp/work/x11/mowitz/work/.buildlink/include/X11/IntrinsicP.h:51, from MwImage.c:25: /tmp/work/x11/mowitz/work/.buildlink/include/X11/Xlib.h:2634:5: note: expected 'int *' but argument is of type 'unsigned int *' 2634 | int* /* x_return */, | ^~~~ MwImage.c:138:43: warning: pointer targets in passing argument 5 of 'XGetGeometry' differ in signedness [-Wpointer-sign] 138 | XGetGeometry(dpy, old, &root, &x, &y, &oldw, &oldh, | ^~ | | | unsigned int * /tmp/work/x11/mowitz/work/.buildlink/include/X11/Xlib.h:2635:5: note: expected 'int *' but argument is of type 'unsigned int *' 2635 | int* /* y_return */, | ^~~~ libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwImage.c -o MwImage.o >/dev/null 2>&1 --- MwFrame.lo --- libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Mowitz\" -DVERSION=\"0.3.1\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_FNMATCH=1 -DHAVE_XCREATEIC=1 -I. -DNeedFunctionPrototypes -I.. -DDEFAULT_PIXPATH=\"\" -DMOWITZ_DATA=\"/opt/pkg/share/Mowitz\" -I/tmp/work/x11/mowitz/work/.buildlink/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c MwFrame.c -o MwFrame.o >/dev/null 2>&1 bmake[2]: 2 errors bmake[2]: stopped making "all-am" in /tmp/work/x11/mowitz/work/Mowitz-0.3.1/Mowitz *** [all-recursive] Error code 1 bmake[1]: stopped making "all" in /tmp/work/x11/mowitz/work/Mowitz-0.3.1/Mowitz bmake[1]: 1 error bmake[1]: stopped making "all" in /tmp/work/x11/mowitz/work/Mowitz-0.3.1/Mowitz *** [all-recursive] Error code 1 bmake: stopped making "all" in /tmp/work/x11/mowitz/work/Mowitz-0.3.1 bmake: 1 error bmake: stopped making "all" in /tmp/work/x11/mowitz/work/Mowitz-0.3.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/mowitz *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/mowitz