=> Bootstrap dependency digest>=20010302: found digest-20121220 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for xmag-1.0.5 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- xmag.1 --- GEN xmag.1 --- CutPaste.o --- --- RootWin.o --- --- CutPaste.o --- CC CutPaste.o --- RootWin.o --- CC RootWin.o RootWin.c:39:23: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /* class_name */ "RootWindow", ^ --- Scale.o --- CC Scale.o --- xmag.o --- CC xmag.o xmag.c:158:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"geometry", "Geometry", XtRString, sizeof(String), ^ --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:378:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Scale.c:68:2: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ --- xmag.o --- xmag.c:158:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:621:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ Scale.c:68:17: note: in expansion of macro 'XtCForeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ --- xmag.o --- In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:158:28: note: in expansion of macro 'XtRString' {"geometry", "Geometry", XtRString, sizeof(String), ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:858:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((char*)&XtStrings[1754]) ^ Scale.c:68:32: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:159:24: note: in expansion of macro 'XtRString' Offset(geometry), XtRString, (XtPointer)NULL}, ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Scale.c:69:32: note: in expansion of macro 'XtRString' Offset(foreground_pixel), XtRString, (XtPointer) XtDefaultForeground}, ^ --- xmag.o --- xmag.c:160:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"mag", "Mag", XtRString, sizeof(String), ^ --- Scale.o --- Scale.c:69:43: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Offset(foreground_pixel), XtRString, (XtPointer) XtDefaultForeground}, ^ --- xmag.o --- xmag.c:160:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- Scale.o --- Scale.c:70:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNgravity, XtCGravity, XtRGravity, sizeof(XtGravity), ^ --- xmag.o --- In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:160:18: note: in expansion of macro 'XtRString' {"mag", "Mag", XtRString, sizeof(String), ^ --- Scale.o --- Scale.c:70:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:161:19: note: in expansion of macro 'XtRString' Offset(mag), XtRString, (XtPointer)"5.0"}, ^ --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:957:21: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRGravity ((char*)&XtStrings[2042]) ^ Scale.c:70:26: note: in expansion of macro 'XtRGravity' {XtNgravity, XtCGravity, XtRGravity, sizeof(XtGravity), ^ --- xmag.o --- xmag.c:161:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Offset(mag), XtRString, (XtPointer)"5.0"}, ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:71:23: note: in expansion of macro 'XtRImmediate' Offset(gravity), XtRImmediate, (XtPointer) "ForgetGravity"}, ^ --- xmag.o --- xmag.c:162:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"source", "Source", XtRString, sizeof(String), ^ --- Scale.o --- Scale.c:71:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Offset(gravity), XtRImmediate, (XtPointer) "ForgetGravity"}, ^ --- xmag.o --- xmag.c:162:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:414:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNinternalWidth ((char*)&XtStrings[356]) ^ Scale.c:72:2: note: in expansion of macro 'XtNinternalWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ --- xmag.o --- In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:162:24: note: in expansion of macro 'XtRString' {"source", "Source", XtRString, sizeof(String), ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:762:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtCWidth ((char*)&XtStrings[1510]) ^ Scale.c:72:20: note: in expansion of macro 'XtCWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:163:22: note: in expansion of macro 'XtRString' Offset(source), XtRString, (XtPointer)"SRCWIDTHxSRCHEIGHT"}, ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:807:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Scale.c:72:30: note: in expansion of macro 'XtRDimension' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ --- xmag.o --- xmag.c:163:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Offset(source), XtRString, (XtPointer)"SRCWIDTHxSRCHEIGHT"}, ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:73:30: note: in expansion of macro 'XtRImmediate' Offset(internal_width), XtRImmediate, (XtPointer) 2}, ^ --- xmag.o --- xmag.c:164:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"title", XtCString, XtRString, sizeof(char *), ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:411:28: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNinternalHeight ((char*)&XtStrings[341]) ^ Scale.c:74:2: note: in expansion of macro 'XtNinternalHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ --- xmag.o --- In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:732:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtCString ((char*)&XtStrings[1416]) ^ xmag.c:164:13: note: in expansion of macro 'XtCString' {"title", XtCString, XtRString, sizeof(char *), ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:630:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtCHeight ((char*)&XtStrings[1051]) ^ Scale.c:74:21: note: in expansion of macro 'XtCHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:164:24: note: in expansion of macro 'XtRString' {"title", XtCString, XtRString, sizeof(char *), ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:807:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Scale.c:74:32: note: in expansion of macro 'XtRDimension' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xmag.c:165:21: note: in expansion of macro 'XtRString' Offset(title), XtRString, "xmag"}, ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:75:31: note: in expansion of macro 'XtRImmediate' Offset(internal_height), XtRImmediate, (XtPointer) 2}, ^ --- xmag.o --- xmag.c:165:6: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] Offset(title), XtRString, "xmag"}, ^ xmag.c:170:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"-bd", "*borderColor", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:170:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:474:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ Scale.c:76:2: note: in expansion of macro 'XtNresize' {XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), ^ --- xmag.o --- xmag.c:171:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"-bg", "*background", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:171:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] xmag.c:172:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"-bw", "*borderWidth", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:172:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:690:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtCResize ((char*)&XtStrings[1253]) ^ Scale.c:76:13: note: in expansion of macro 'XtCResize' {XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), ^ --- xmag.o --- xmag.c:174:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"-geometry", "*geometry", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:174:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] xmag.c:175:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"-mag", "*mag", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:175:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] xmag.c:176:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"-source", "*source", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:176:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:786:21: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Scale.c:76:24: note: in expansion of macro 'XtRBoolean' {XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), ^ --- xmag.o --- xmag.c:177:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"-title", "*title", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:177:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] xmag.c:185:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"close", CloseAP}, ^ xmag.c:186:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"set-colors", SetCmapPropsAP}, ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:77:22: note: in expansion of macro 'XtRImmediate' Offset(resize), XtRImmediate, (XtPointer) True}, ^ --- xmag.o --- xmag.c:187:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"unset-colors", UnsetCmapPropsAP}, ^ xmag.c:188:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"new", NewAP}, ^ --- Scale.o --- Scale.c:78:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNautoscale, XtCAutoscale, XtRBoolean, sizeof(Boolean), ^ Scale.c:78:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- xmag.c:189:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"replace", ReplaceAP}, ^ xmag.c:190:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"popup-pixel", PopupPixelAP}, ^ xmag.c:191:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"update-pixel", UpdatePixelAP}, ^ xmag.c:192:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"popdown-pixel", PopdownPixelAP}, ^ --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:786:21: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Scale.c:78:30: note: in expansion of macro 'XtRBoolean' {XtNautoscale, XtCAutoscale, XtRBoolean, sizeof(Boolean), ^ --- xmag.o --- xmag.c:193:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"select-region", SelectRegionAP} ^ xmag.c: In function 'Error': xmag.c:203:16: warning: declaration of 'dpy' shadows a global declaration [-Wshadow] Error(Display *dpy, XErrorEvent *err) ^ xmag.c:107:17: warning: shadowed declaration is here [-Wshadow] static Display *dpy; ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:79:25: note: in expansion of macro 'XtRImmediate' Offset(autoscale), XtRImmediate, (XtPointer) True}, ^ Scale.c:80:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^ --- xmag.o --- In file included from xmag.c:34:0: xmag.c: In function 'CloseAP': --- Scale.o --- Scale.c:80:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:221:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:786:21: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Scale.c:80:36: note: in expansion of macro 'XtRBoolean' {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^ --- xmag.o --- xmag.c: In function 'SetCmapPropsAP': --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:81:28: note: in expansion of macro 'XtRImmediate' Offset(proportional), XtRImmediate, (XtPointer) True}, ^ Scale.c:82:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNscaleX, XtCScaleFactor, XtRString, sizeof(String), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:240:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ --- Scale.o --- Scale.c:82:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- xmag.c: In function 'UnsetCmapPropsAP': --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Scale.c:82:29: note: in expansion of macro 'XtRString' {XtNscaleX, XtCScaleFactor, XtRString, sizeof(String), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:260:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:83:27: note: in expansion of macro 'XtRImmediate' Offset(scale_x_str), XtRImmediate, (XtPointer) DefaultScaleFactor}, ^ --- xmag.o --- xmag.c: In function 'ReplaceAP': --- Scale.o --- Scale.c:84:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNscaleY, XtCScaleFactor, XtRString, sizeof(String), ^ Scale.c:84:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:291:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'PopupPixelAP': --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Scale.c:84:29: note: in expansion of macro 'XtRString' {XtNscaleY, XtCScaleFactor, XtRString, sizeof(String), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:313:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:85:27: note: in expansion of macro 'XtRImmediate' Offset(scale_y_str), XtRImmediate, (XtPointer) DefaultScaleFactor}, ^ Scale.c:86:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNaspectRatio, XtCAspectRatio, XtRString, sizeof(String), ^ Scale.c:86:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Scale.c:86:34: note: in expansion of macro 'XtRString' {XtNaspectRatio, XtCAspectRatio, XtRString, sizeof(String), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:384:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:317:24: note: in expansion of macro 'XtNheight' XtSetArg(wargs[n], XtNheight, &scale_height); n++; ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:87:32: note: in expansion of macro 'XtRImmediate' Offset(aspect_ratio_str), XtRImmediate, (XtPointer) "1.0"}, ^ Scale.c:87:46: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Offset(aspect_ratio_str), XtRImmediate, (XtPointer) "1.0"}, ^ Scale.c:88:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNprecision, XtCPrecision, XtRString, sizeof(String), ^ Scale.c:88:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:384:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:324:24: note: in expansion of macro 'XtNheight' XtSetArg(wargs[n], XtNheight, &label_height); n++; ^ --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:876:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Scale.c:88:30: note: in expansion of macro 'XtRString' {XtNprecision, XtCPrecision, XtRString, sizeof(String), ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:89:29: note: in expansion of macro 'XtRImmediate' Offset(precision_str), XtRImmediate, (XtPointer) "0.001"}, ^ Scale.c:89:43: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Offset(precision_str), XtRImmediate, (XtPointer) "0.001"}, ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:570:15: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:337:24: note: in expansion of macro 'XtNx' XtSetArg(wargs[n], XtNx, label_x); n++; ^ --- Scale.o --- Scale.c:90:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNimage, XtCImage, XtRImage, sizeof(XImage*), ^ Scale.c:90:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] Scale.c:90:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:91:21: note: in expansion of macro 'XtRImmediate' Offset(image), XtRImmediate, (XtPointer) NULL}, ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:573:15: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:338:24: note: in expansion of macro 'XtNy' XtSetArg(wargs[n], XtNy, label_y); n++; ^ --- Scale.o --- Scale.c:92:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNpasteBuffer, XtCPasteBuffer, XtRBoolean, sizeof(Boolean), ^ Scale.c:92:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- xmag.c: In function 'UpdatePixelAP': --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:786:21: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Scale.c:92:34: note: in expansion of macro 'XtRBoolean' {XtNpasteBuffer, XtCPasteBuffer, XtRBoolean, sizeof(Boolean), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:361:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:93:28: note: in expansion of macro 'XtRImmediate' Offset(paste_buffer), XtRImmediate, (XtPointer) False}, ^ Scale.c:94:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNbufferSize, XtCBufferSize, XtRCardinal, sizeof(Cardinal), ^ Scale.c:94:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:795:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRCardinal ((char*)&XtStrings[1587]) ^ Scale.c:94:32: note: in expansion of macro 'XtRCardinal' {XtNbufferSize, XtCBufferSize, XtRCardinal, sizeof(Cardinal), ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:435:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:373:21: note: in expansion of macro 'XtNlabel' XtSetArg(wargs[n], XtNlabel, string); n++; ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:95:27: note: in expansion of macro 'XtRImmediate' Offset(buffer_size), XtRImmediate, (XtPointer) DefaultBufferSize}, ^ --- xmag.o --- xmag.c: In function 'PopdownPixelAP': --- Scale.o --- Scale.c:96:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNuserData, XtCuserData, XtRuserData, sizeof(XtPointer), ^ Scale.c:96:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] Scale.c:96:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:392:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ --- Scale.o --- In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:97:24: note: in expansion of macro 'XtRImmediate' Offset(userData), XtRImmediate, (XtPointer) NULL}, ^ Scale.c:98:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] { XtNvisual, XtCvisual, XtRVisual, sizeof(Visual*), ^ Scale.c:98:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] In file included from Scale.c:41:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:891:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRVisual ((char*)&XtStrings[1858]) ^ Scale.c:98:25: note: in expansion of macro 'XtRVisual' { XtNvisual, XtCvisual, XtRVisual, sizeof(Visual*), ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:837:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scale.c:99:22: note: in expansion of macro 'XtRImmediate' Offset(visual), XtRImmediate, CopyFromParent} ^ Scale.c:140:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"unscale", SWUnscale}, ^ Scale.c:141:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"autoscale", SWAutoscale}, ^ Scale.c:142:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"initial-size", SWInitialSize}, ^ Scale.c:143:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"paste", RequestSelection}, ^ Scale.c:144:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"cut", GrabSelection} ^ Scale.c:157:23: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /* class_name */ "Scale", ^ --- xmag.o --- In file included from xmag.c:39:0: xmag.c: In function 'PopupNewScale': /scratch/x11/xmag/work/.x11-buildlink/include/X11/Shell.h:326:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNgeometry ((char*)&XtShellStrings[469]) ^ xmag.c:958:5: note: in expansion of macro 'XtNgeometry' XtNgeometry, (XtArgVal)options.geometry, ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Shell.h:275:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNtitle ((char*)&XtShellStrings[356]) ^ xmag.c:959:5: note: in expansion of macro 'XtNtitle' XtNtitle, (XtArgVal)options.title, ^ --- Scale.o --- Scale.c: In function 'SWGetImagePixel': Scale.c:536:14: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] *img_x = (Position) floor(x / sw->scale.scale_x); ^ Scale.c:537:14: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] *img_y = (Position) floor(y / sw->scale.scale_y); ^ --- xmag.o --- In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:351:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ xmag.c:967:25: note: in expansion of macro 'XtNcallback' XtAddCallback(cclose, XtNcallback, CloseCB, (XtPointer)data->scaleShell); ^ --- Scale.o --- Scale.c: In function 'Redisplay': --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:351:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ xmag.c:970:26: note: in expansion of macro 'XtNcallback' XtAddCallback(replace, XtNcallback, ReplaceCB, (XtPointer)data); ^ --- Scale.o --- Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:351:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ xmag.c:973:22: note: in expansion of macro 'XtNcallback' XtAddCallback(new, XtNcallback, NewCB, (XtPointer)NULL); ^ --- Scale.o --- Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:351:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ xmag.c:976:27: note: in expansion of macro 'XtNcallback' XtAddCallback(select_w, XtNcallback, SelectCB, (XtPointer)data); ^ --- Scale.o --- Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:351:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ xmag.c:979:24: note: in expansion of macro 'XtNcallback' XtAddCallback(paste, XtNcallback, PasteCB, (XtPointer)data); ^ --- Scale.o --- Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ --- xmag.o --- In file included from xmag.c:39:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/Shell.h:221:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNvisual ((char*)&XtShellStrings[104]) ^ xmag.c:987:8: note: in expansion of macro 'XtNvisual' XtNvisual, (XtArgVal)data->win_info.visual, ^ --- Scale.o --- Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ --- xmag.o --- In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:357:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcolormap ((char*)&XtStrings[154]) ^ xmag.c:988:8: note: in expansion of macro 'XtNcolormap' XtNcolormap, (XtArgVal)data->win_info.colormap, ^ --- Scale.o --- Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:360:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNdepth ((char*)&XtStrings[163]) ^ xmag.c:989:8: note: in expansion of macro 'XtNdepth' XtNdepth, (XtArgVal)data->win_info.depth, ^ --- Scale.o --- Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ Scale.c:587:10: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] (Dimension) ceil((float) width ^ Scale.c:589:10: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] (Dimension) ceil((float) height ^ --- xmag.o --- In file included from xmag.c:34:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:997:3: note: in expansion of macro 'XtSetArg' XtSetArg(warg, XtNuserData, data); ^ --- Scale.o --- Scale.c: In function 'TryResize': Scale.c:603:13: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] width = (Dimension) ^ Scale.c:606:14: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] height = (Dimension) ^ --- xmag.o --- In file included from xmag.c:39:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/Shell.h:221:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNvisual ((char*)&XtShellStrings[104]) ^ xmag.c:1002:5: note: in expansion of macro 'XtNvisual' XtNvisual, (XtArgVal)data->win_info.visual, ^ In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:357:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcolormap ((char*)&XtStrings[154]) ^ xmag.c:1003:5: note: in expansion of macro 'XtNcolormap' XtNcolormap, (XtArgVal)data->win_info.colormap, ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:360:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNdepth ((char*)&XtStrings[163]) ^ xmag.c:1004:5: note: in expansion of macro 'XtNdepth' XtNdepth, (XtArgVal)data->win_info.depth, ^ --- Scale.o --- Scale.c: In function 'SetValues': --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:348:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ xmag.c:1005:5: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, (XtPointer)0, ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:378:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ xmag.c:1010:8: note: in expansion of macro 'XtNforeground' XtNforeground, (XtPointer)GetMaxIntensity(data), ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:330:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ Scale.c:54:30: note: in definition of macro 'streq' #define streq(a,b) (strcmp( (a), (b) ) == 0) ^ Scale.c:808:12: note: in expansion of macro 'XtNbackground' if (streq(XtNbackground, args[i].name)) { ^ --- xmag.o --- xmag.c:1010:23: warning: cast from function call of type 'Pixel' to non-matching type 'void *' [-Wbad-function-cast] XtNforeground, (XtPointer)GetMaxIntensity(data), ^ In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:330:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ xmag.c:1011:8: note: in expansion of macro 'XtNbackground' XtNbackground, (XtPointer)GetMinIntensity(data), ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:378:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Scale.c:54:30: note: in definition of macro 'streq' #define streq(a,b) (strcmp( (a), (b) ) == 0) ^ Scale.c:812:12: note: in expansion of macro 'XtNforeground' if (streq(XtNforeground, args[i].name)) { ^ --- xmag.o --- xmag.c:1011:23: warning: cast from function call of type 'Pixel' to non-matching type 'void *' [-Wbad-function-cast] XtNbackground, (XtPointer)GetMinIntensity(data), ^ In file included from xmag.c:35:0: /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:348:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ xmag.c:1012:8: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, (XtPointer)0, ^ In file included from xmag.c:34:0: xmag.c: In function 'RedoOldScale': --- Scale.o --- In file included from /scratch/x11/xmag/work/.x11-buildlink/include/X11/IntrinsicP.h:51:0, from Scale.c:40: Scale.c: In function 'SWSetImage': --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Shell.h:221:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNvisual ((char*)&XtShellStrings[104]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1045:22: note: in expansion of macro 'XtNvisual' XtSetArg(wargs[n], XtNvisual, &oldVis); n++; ^ --- Scale.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Scale.c:991:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNimage, (XtArgVal) image); n++; ^ --- xmag.o --- /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:360:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNdepth ((char*)&XtStrings[163]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1046:22: note: in expansion of macro 'XtNdepth' XtSetArg(wargs[n], XtNdepth, &oldDepth); n++; ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:357:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcolormap ((char*)&XtStrings[154]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1047:22: note: in expansion of macro 'XtNcolormap' XtSetArg(wargs[n], XtNcolormap, &oldCmap); n++; ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:357:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNcolormap ((char*)&XtStrings[154]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1058:22: note: in expansion of macro 'XtNcolormap' XtSetArg(wargs[n], XtNcolormap, data->win_info.colormap); n++; ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:360:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNdepth ((char*)&XtStrings[163]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1059:22: note: in expansion of macro 'XtNdepth' XtSetArg(wargs[n], XtNdepth, data->win_info.depth); n++; ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Shell.h:221:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNvisual ((char*)&XtShellStrings[104]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1060:22: note: in expansion of macro 'XtNvisual' XtSetArg(wargs[n], XtNvisual, data->win_info.visual); n++; ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:378:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1063:22: note: in expansion of macro 'XtNforeground' XtSetArg(wargs[n], XtNforeground, GetMaxIntensity(data)); n++; ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/StringDefs.h:330:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ /scratch/x11/xmag/work/.x11-buildlink/include/X11/Intrinsic.h:1158:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xmag.c:1064:22: note: in expansion of macro 'XtNbackground' XtSetArg(wargs[n], XtNbackground, GetMinIntensity(data)); n++; ^ --- xmag --- CCLD xmag ld: warning: libxcb.so.1, needed by /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so, not found (try using -rpath or -rpath-link) /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_get_file_descriptor' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_connect' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_generate_id' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_connect_to_display_with_auth_info' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_writev' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_wait_for_reply' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_poll_for_event' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_get_maximum_request_length' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_poll_for_reply' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_take_socket' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_wait_for_event' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_disconnect' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_connection_has_error' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_get_setup' /scratch/x11/xmag/work/.x11-buildlink/lib/libX11.so: undefined reference to `xcb_parse_display' *** [xmag] Error code 1 make[2]: stopped in /scratch/x11/xmag/work/xmag-1.0.5 1 error make[2]: stopped in /scratch/x11/xmag/work/xmag-1.0.5 *** [all-recursive] Error code 1 make[1]: stopped in /scratch/x11/xmag/work/xmag-1.0.5 1 error make[1]: stopped in /scratch/x11/xmag/work/xmag-1.0.5 *** [all] Error code 2 make: stopped in /scratch/x11/xmag/work/xmag-1.0.5 1 error make: stopped in /scratch/x11/xmag/work/xmag-1.0.5 *** Error code 2 Stop. make[1]: stopped in /bulk-data/pkgsrc/x11/xmag *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/x11/xmag