------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/png-1.6.37.txz Installing /packages/All/jpeg-turbo-2.0.4.txz Installing /packages/All/gsfonts-8.11_8.txz Installing /packages/All/ghostscript7-base-7.07_32.txz ===== Message from ghostscript7-base-7.07_32: -- Note: dvipdf script requires dvips program installed by print/tex-dvipsk. Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.30.2.txz ===== Message from perl5-5.30.2: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Installing /packages/All/autoconf-2.69_3.txz Installing /packages/All/automake-1.16.2.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9_1,1.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXt-1.2.0,1.txz SUCCEEDED 00:00:28 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ghostscript7-x11-7.07_32 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ghostscript7-x11-7.07_32 for building => SHA256 Checksum OK for ghostscript/ghostscript-7.07.tar.bz2. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ghostscript7-x11-7.07_32 for building ===> Extracting for ghostscript7-x11-7.07_32 => SHA256 Checksum OK for ghostscript/ghostscript-7.07.tar.bz2. Extracted Memory Use: 20.91M SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for ghostscript7-x11-7.07_32 ===> Applying ports patches for ghostscript7-x11-7.07_32 ===> Cleanly applied ports patch(es) patch-src_Makefile.in patch-src_configure.ac patch-src_devs.mak patch-src_gconf.c patch-src_gdevhl12.c patch-src_gdevijs.c patch-src_gdevl256.c patch-src_gdevlbp8.c patch-src_gdevpdff.c patch-src_gdevpdff.h patch-src_gdevpdfs.c patch-src_gdevpdfw.c patch-src_gdevpng.c patch-src_gdevvglb.c patch-src_gdevxalt.c patch-src_genarch.c patch-src_gnudevs.mak patch-src_gp__unix.c patch-src_gs.mak patch-src_gsalloc.c patch-src_gsmalloc.c patch-src_gxclrast.c patch-src_gxfixed.h patch-src_gxobj.h patch-src_ibnum.c patch-src_ibnum.h patch-src_icclib.mak patch-src_idebug.c patch-src_idparam.c patch-src_ijs.mak patch-src_int.mak patch-src_iparam.c patch-src_iref.h patch-src_iscan.c patch-src_iscanbin.c patch-src_iscannum.c patch-src_iutil.c patch-src_lib.mak patch-src_unix-dll.mak patch-src_unixinst.mak patch-src_zarith.c patch-src_zcontrol.c patch-src_zdict.c patch-src_zdps.c patch-src_zfunc4.c patch-src_zgeneric.c patch-src_ziodev.c patch-src_zmath.c patch-src_zmedia2.c patch-src_zstack.c patch-src_ztype.c SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> ghostscript7-x11-7.07_32 depends on package: ghostscript7-base>=7.07_32 - found ===> ghostscript7-x11-7.07_32 depends on package: gmake>=4.3 - found ===> ghostscript7-x11-7.07_32 depends on package: autoconf>=2.69 - found ===> ghostscript7-x11-7.07_32 depends on package: automake>=1.16.1 - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> ghostscript7-x11-7.07_32 depends on package: ghostscript7-base>=7.07_32 - found ===> ghostscript7-x11-7.07_32 depends on package: gmake>=4.3 - found ===> ghostscript7-x11-7.07_32 depends on package: autoconf>=2.69 - found ===> ghostscript7-x11-7.07_32 depends on package: automake>=1.16.1 - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Configuring for ghostscript7-x11-7.07_32 configure: loading site script /xports/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for ranlib... ranlib checking supported compiler flags... -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common ...done. checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/window.h usability... no checking sys/window.h presence... no checking for sys/window.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for struct stat.st_blocks... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for cos in -lm... yes checking for pthread_create in -lpthread... yes checking for local zlib source... no checking for deflate in -lz... (cached) yes checking for local png library source... no checking for png_check_sig in -lpng... no configure: disabling png output devices checking for stp_init in -lgimpprint... no checking for X... libraries /usr/local/lib, headers /usr/local/include checking whether -R must be followed by a space... no checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for XtAppCreateShell in -lXt... yes checking for mkstemp... (cached) yes checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking whether cc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for working memcmp... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... (cached) yes checking whether stat accepts an empty string... no checking for vprintf... (cached) yes checking for _doprnt... no checking for bzero... (cached) yes checking for dup2... (cached) yes checking for floor... yes checking for gettimeofday... (cached) yes checking for memchr... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for mkdir... yes checking for mkfifo... yes checking for modf... yes checking for pow... yes checking for putenv... (cached) yes checking for rint... yes checking for setenv... (cached) yes checking for sqrt... yes checking for strchr... (cached) yes checking for strerror... (cached) yes checking for strrchr... (cached) yes checking for strspn... yes checking for strstr... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting SUCCEEDED 00:00:15 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for ghostscript7-x11-7.07_32 /bin/mkdir -p /construction/print/ghostscript7-x11/ghostscript-7.07/obj gmake[1]: Entering directory '/construction/print/ghostscript7-x11/ghostscript-7.07' cc -I./src -o ./obj/echogs ./src/echogs.c cc -I./src -o ./obj/genarch ./src/genarch.c ./src/echogs.c: In function 'main': ./src/echogs.c:277:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(exit_FAILED); ^~~~ ./src/echogs.c:277:4: warning: incompatible implicit declaration of built-in function 'exit' ./src/echogs.c:277:4: note: include '' or provide a declaration of 'exit' ./src/echogs.c:38:1: +#include #ifdef VMS ./src/echogs.c:277:4: exit(exit_FAILED); ^~~~ ./src/echogs.c:284:4: warning: incompatible implicit declaration of built-in function 'exit' exit(exit_FAILED); ^~~~ ./src/echogs.c:284:4: note: include '' or provide a declaration of 'exit' ./obj/genarch ./obj/arch.h cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -fPIC -shared -I./obj -I./src -I/usr/local/include -o ./obj/gdevxalt.o -c ./src/gdevxalt.c cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -fPIC -shared -I./obj -I./src -I/usr/local/include -o ./obj/gdevx.o -c ./src/gdevx.c cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -fPIC -shared -I./obj -I./src -I/usr/local/include -o ./obj/gdevxcmp.o -c ./src/gdevxcmp.c cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -fPIC -shared -I./obj -I./src -I/usr/local/include -o ./obj/gdevxini.o -c ./src/gdevxini.c cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -fPIC -shared -I./obj -I./src -I/usr/local/include -o ./obj/gdevxres.o -c ./src/gdevxres.c cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -fPIC -shared -I./obj -I./src -I/usr/local/include -o ./obj/gdevxxf.o -c ./src/gdevxxf.c cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -I./obj -I./src -o ./obj/gdevemap.o -c ./src/gdevemap.c cc -DHAVE_MKSTEMP -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -pipe -O2 -fno-strict-aliasing -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/7.07\" -fPIC -shared -I./obj -I./src -o ./obj/gsparamx.o -c ./src/gsparamx.c ./src/gdevx.c: In function 'x_copy_mono': ./src/gdevx.c:419:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] xdev->image.data = (char *)base; ^ ./src/gdevx.c: In function 'x_copy_image': ./src/gdevx.c:575:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] xdev->image.data = (char *)base; ^ /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((String)&XtStrings[52]) ^ ./src/gdevxres.c:42:13: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:57:5: note: in expansion of macro 'rpix' rpix(XtNbackground, XtCBackground, background, "XtDefaultBackground"), ^~~~ ./src/gdevxres.c:57:10: note: in expansion of macro 'XtNbackground' rpix(XtNbackground, XtCBackground, background, "XtDefaultBackground"), ^~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:579:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBackground ((String)&XtStrings[902]) ^ ./src/gdevxres.c:42:26: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:57:5: note: in expansion of macro 'rpix' rpix(XtNbackground, XtCBackground, background, "XtDefaultBackground"), ^~~~ ./src/gdevxres.c:57:25: note: in expansion of macro 'XtCBackground' rpix(XtNbackground, XtCBackground, background, "XtDefaultBackground"), ^~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((String)&XtStrings[1754]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:45:13: note: in expansion of macro 'XtRPixel' RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^~~~~~~~ ./src/gdevxres.c:57:5: note: in expansion of macro 'rpix' rpix(XtNbackground, XtCBackground, background, "XtDefaultBackground"), ^~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:45:30: note: in expansion of macro 'XtRString' RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^~~~~~~~~ ./src/gdevxres.c:57:5: note: in expansion of macro 'rpix' rpix(XtNbackground, XtCBackground, background, "XtDefaultBackground"), ^~~~ ./src/gdevxres.c:45:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:57:5: note: in expansion of macro 'rpix' rpix(XtNbackground, XtCBackground, background, "XtDefaultBackground"), ^~~~ /usr/local/include/X11/StringDefs.h:339:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderColor ((String)&XtStrings[87]) ^ ./src/gdevxres.c:42:13: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:58:5: note: in expansion of macro 'rpix' rpix(XtNborderColor, XtCBorderColor, borderColor, "XtDefaultForeground"), ^~~~ ./src/gdevxres.c:58:10: note: in expansion of macro 'XtNborderColor' rpix(XtNborderColor, XtCBorderColor, borderColor, "XtDefaultForeground"), ^~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:588:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderColor ((String)&XtStrings[928]) ^ ./src/gdevxres.c:42:26: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:58:5: note: in expansion of macro 'rpix' rpix(XtNborderColor, XtCBorderColor, borderColor, "XtDefaultForeground"), ^~~~ ./src/gdevxres.c:58:26: note: in expansion of macro 'XtCBorderColor' rpix(XtNborderColor, XtCBorderColor, borderColor, "XtDefaultForeground"), ^~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((String)&XtStrings[1754]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:45:13: note: in expansion of macro 'XtRPixel' RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^~~~~~~~ ./src/gdevxres.c:58:5: note: in expansion of macro 'rpix' rpix(XtNborderColor, XtCBorderColor, borderColor, "XtDefaultForeground"), ^~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:45:30: note: in expansion of macro 'XtRString' RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^~~~~~~~~ ./src/gdevxres.c:58:5: note: in expansion of macro 'rpix' rpix(XtNborderColor, XtCBorderColor, borderColor, "XtDefaultForeground"), ^~~~ ./src/gdevxres.c:45:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:58:5: note: in expansion of macro 'rpix' rpix(XtNborderColor, XtCBorderColor, borderColor, "XtDefaultForeground"), ^~~~ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((String)&XtStrings[124]) ^ ./src/gdevxres.c:42:13: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:59:5: note: in expansion of macro 'rdim' rdim(XtNborderWidth, XtCBorderWidth, borderWidth, 1), ^~~~ ./src/gdevxres.c:59:10: note: in expansion of macro 'XtNborderWidth' rdim(XtNborderWidth, XtCBorderWidth, borderWidth, 1), ^~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:591:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderWidth ((String)&XtStrings[940]) ^ ./src/gdevxres.c:42:26: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:59:5: note: in expansion of macro 'rdim' rdim(XtNborderWidth, XtCBorderWidth, borderWidth, 1), ^~~~ ./src/gdevxres.c:59:26: note: in expansion of macro 'XtCBorderWidth' rdim(XtNborderWidth, XtCBorderWidth, borderWidth, 1), ^~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((String)&XtStrings[1618]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:47:13: note: in expansion of macro 'XtRDimension' RINIT(a,b,XtRDimension,Dimension,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:59:5: note: in expansion of macro 'rdim' rdim(XtNborderWidth, XtCBorderWidth, borderWidth, 1), ^~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:47:38: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRDimension,Dimension,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:59:5: note: in expansion of macro 'rdim' rdim(XtNborderWidth, XtCBorderWidth, borderWidth, 1), ^~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:60:5: note: in expansion of macro 'rstr' rstr("dingbatFonts", "DingbatFonts", dingbatFonts, ^~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:60:5: note: in expansion of macro 'rstr' rstr("dingbatFonts", "DingbatFonts", dingbatFonts, ^~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:13: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:60:5: note: in expansion of macro 'rstr' rstr("dingbatFonts", "DingbatFonts", dingbatFonts, ^~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:49:32: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:60:5: note: in expansion of macro 'rstr' rstr("dingbatFonts", "DingbatFonts", dingbatFonts, ^~~~ ./src/gdevxres.c:49:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:60:5: note: in expansion of macro 'rstr' rstr("dingbatFonts", "DingbatFonts", dingbatFonts, ^~~~ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((String)&XtStrings[214]) ^ ./src/gdevxres.c:42:13: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:62:5: note: in expansion of macro 'rpix' rpix(XtNforeground, XtCForeground, foreground, "XtDefaultForeground"), ^~~~ ./src/gdevxres.c:62:10: note: in expansion of macro 'XtNforeground' rpix(XtNforeground, XtCForeground, foreground, "XtDefaultForeground"), ^~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((String)&XtStrings[1022]) ^ ./src/gdevxres.c:42:26: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:62:5: note: in expansion of macro 'rpix' rpix(XtNforeground, XtCForeground, foreground, "XtDefaultForeground"), ^~~~ ./src/gdevxres.c:62:25: note: in expansion of macro 'XtCForeground' rpix(XtNforeground, XtCForeground, foreground, "XtDefaultForeground"), ^~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((String)&XtStrings[1754]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:45:13: note: in expansion of macro 'XtRPixel' RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^~~~~~~~ ./src/gdevxres.c:62:5: note: in expansion of macro 'rpix' rpix(XtNforeground, XtCForeground, foreground, "XtDefaultForeground"), ^~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:45:30: note: in expansion of macro 'XtRString' RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^~~~~~~~~ ./src/gdevxres.c:62:5: note: in expansion of macro 'rpix' rpix(XtNforeground, XtCForeground, foreground, "XtDefaultForeground"), ^~~~ ./src/gdevxalt.c:965:1: warning: no previous prototype for 'gs_shared_init' [-Wmissing-prototypes] gs_shared_init(void) ^~~~~~~~~~~~~~ ./src/gdevxres.c:45:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRPixel,Pixel,o,XtRString,(XtPointer)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:62:5: note: in expansion./src/gdevxalt.c: In function 'gs_shared_init': of macro 'rpix' rpix(XtNforeground, XtCForeground, foreground, "XtDefaultForeground"), ^~~~ ./src/gdevxalt.c:967:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11_device); ^~~~~~~~~~~~~~ /usr/local/include/X11/Shell.h:326:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNgeometry ((String)&XtShellStrings[469]) ^ ./src/gdevxres.c:42:13: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:63:5: note: in expansion of macro 'rstr' rstr(XtNgeometry, XtCGeometry, geometry, NULL), ^~~~ ./src/gdevxres.c:63:10: note: in expansion of macro 'XtNgeometry' rstr(XtNgeometry, XtCGeometry, geometry, NULL), ^~~~~~~~~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X *' {aka 'const struct gx_device_X_s *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ /usr/local/include/X11/Shell.h:329:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCGeometry ((String)&XtShellStrings[478]) ^ ./src/gdevxres.c:42:26: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:63:5: note: in expansion of macro 'rstr' rstr(XtNgeometry, XtCGeometry, geometry, NULL), ^~~~ ./src/gdevxres.c:63:23: note: in expansion of macro 'XtCGeometry' rstr(XtNgeometry, XtCGeometry, geometry, NULL), ^~~~~~~~~~~ ./src/gdevxalt.c:968:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11alpha_device); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:13: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:63:5: note: in expansion of macro 'rstr' rstr(XtNgeometry, XtCGeometry, geometry, NULL), ^~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X *' {aka 'const struct gx_device_X_s *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ ./src/gdevxalt.c:969:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11cmyk_device); ^~~~~~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:49:32: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:63:5: note: in expansion of macro 'rstr' rstr(XtNgeometry, XtCGeometry, geometry, NULL), ^~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X_wrapper *' {aka 'const struct *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:64:5: note: in expansion of macro 'rbool' rbool("logExternalFonts", "LogExternalFonts", logXFonts, False), ^~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:64:5: note: in expansion of macro 'rbool' rbool("logExternalFonts", "LogExternalFonts", logXFonts, False), ^~~~~ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((String)&XtStrings[1561]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:13: note: in expansion of macro 'XtRBoolean' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~ ./src/gdevxres.c:64:5: note: in expansion of macro 'rbool' rbool("logExternalFonts", "LogExternalFonts", logXFonts, False), ^~~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:53:34: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:64:5: note: in expansion of macro 'rbool' rbool("logExternalFonts", "LogExternalFonts", logXFonts, False), ^~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:51:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:65:5: note: in expansion of macro 'rint' rint("maxGrayRamp", "MaxGrayRamp", maxGrayRamp, 128), ^~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:51:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:65:5: note: in expansion of macro 'rint' rint("maxGrayRamp", "MaxGrayRamp", maxGrayRamp, 128), ^~~~ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((String)&XtStrings[1718]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:51:13: note: in expansion of macro 'XtRInt' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~~ ./src/gdevxres.c:65:5: note: in expansion of macro 'rint' rint("maxGrayRamp", "MaxGrayRamp", maxGrayRamp, 128), ^~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:51:26: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:65:5: note: in expansion of macro 'rint' rint("maxGrayRamp", "MaxGrayRamp", maxGrayRamp, 128), ^~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:51:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:66:5: note: in expansion of macro 'rint' rint("maxRGBRamp", "MaxRGBRamp", maxRGBRamp, 5), ^~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:51:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:66:5: note: in expansion of macro 'rint' rint("maxRGBRamp", "MaxRGBRamp", maxRGBRamp, 5), ^~~~ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((String)&XtStrings[1718]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:51:13: note: in expansion of macro 'XtRInt' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~~ ./src/gdevxres.c:66:5: note: in expansion of macro 'rint' rint("maxRGBRamp", "MaxRGBRamp", maxRGBRamp, 5), ^~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:51:26: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRInt,int,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:66:5: note: in expansion of macro 'rint' rint("maxRGBRamp", "MaxRGBRamp", maxRGBRamp, 5), ^~~~ ./src/gdevxalt.c:970:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11cmyk2_device); ^~~~~~~~~~~~~~~~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:67:5: note: in expansion of macro 'rstr' rstr("palette", "Palette", palette, "Color"), ^~./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X_wrapper *' {aka 'const struct *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ ~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:67:5: note: in expansion of macro 'rstr' rstr("palette", "Palette", palette, "Color"), ^~~~ ./src/gdevxalt.c:971:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11cmyk4_device); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:13: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:67:5: note: in expansion of macro 'rstr' rstr("palette", "Palette", palette, "Color"), ^~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X_wrapper *' {aka 'const struct *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ ./src/gdevxalt.c:972:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11cmyk8_device); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:49:32: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:67:5: note: in expansion of macro 'rstr' rstr("palette", "Palette", palette, "Color"), ^~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X_wrapper *' {aka 'const struct *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ ./src/gdevxres.c:49:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:67:5: note: in expansion of macro 'rstr' rstr("palette", "Palette", palette, "Color"), ^~~~ ./src/gdevxalt.c:973:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11gray2_device); ^~~~~~~~~~~~~~~~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:73:5: note: in expansion of macro 'rstr' rstr("regularFonts", "RegularFonts", regularFonts, "\ ^~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:73:5: note: in expansion of macro 'rstr' rstr("regularFonts", "RegularFonts", regularFonts, "\ ^~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X_wrapper *' {aka 'const struct *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:13: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:73:5: note: in expansion of macro 'rstr' rstr("regularFonts", "RegularFonts", regularFonts, "\ ^~~~ ./src/gdevxalt.c:974:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11gray4_device); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:49:32: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:73:5: note: in expansion of macro 'rstr' rstr("regularFonts", "RegularFonts", regularFonts, "\ ^~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X_wrapper *' {aka 'const struct *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ ./src/gdevxalt.c:975:26: warning: passing argument 1 of 'gs_lib_register_device' from incompatible pointer type [-Wincompatible-pointer-types] gs_lib_register_device(&gs_x11mono_device); ^~~~~~~~~~~~~~~~~~ ./src/gdevxres.c:49:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:73:5: note: in expansion of macro 'rstr' rstr("regularFonts", "RegularFonts", regularFonts, "\ ^~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:112:5: note: in expansion of macro 'rstr' rstr("symbolFonts", "SymbolFonts", symbolFonts, ^~~~ ./src/gdevxalt.c:963:53: note: expected 'const gx_device *' {aka 'const struct gx_device_s *'} but argument is of type 'const gx_device_X_wrapper *' {aka 'const struct *'} extern void gs_lib_register_device(const gx_device *dev); ~~~~~~~~~~~~~~~~~^~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~ ./src/gdevxres.c:112:5: note: in expansion of macro 'rstr' rstr("symbolFonts", "SymbolFonts", symbolFonts, ^~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:49:13: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:112:5: note: in expansion of macro 'rstr' rstr("symbolFonts", "SymbolFonts", symbolFonts, ^~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:49:32: note: in expansion of macro 'XtRString' RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^~~~~~~~~ ./src/gdevxres.c:112:5: note: in expansion of macro 'rstr' rstr("symbolFonts", "SymbolFonts", symbolFonts, ^~~~ ./src/gdevxres.c:49:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRString,String,o,XtRString,(char*)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:112:5: note: in expansion of macro 'rstr' rstr("symbolFonts", "SymbolFonts", symbolFonts, ^~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:115:5: note: in expansion of macro 'rbool' rbool("useBackingPixmap", "UseBackingPixmap", useBackingPixmap, True), ^~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:115:5: note: in expansion of macro 'rbool' rbool("useBackingPixmap", "UseBackingPixmap", useBackingPixmap, True), ^~~~~ At top level: /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((String)&XtStrings[1561]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:13: note: in expansion of macro 'XtRBoolean' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~ ./src/gdevxres.c:115:5: note: in expansion of macro 'rbool' rbool("useBackingPixmap", "UseBackingPixmap", useBackingPixmap, True), ^~~~~ ./src/gdevxalt.c:771:1: warning: 'x_alpha_map_color_rgb' defined but not used [-Wunused-function] x_alpha_map_color_rgb(gx_device * dev, gx_color_index color, ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:53:34: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:115:5: note: in expansion of macro 'rbool' rbool("useBackingPixmap", "UseBackingPixmap", useBackingPixmap, True), ^~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:116:5: note: in expansion of macro 'rbool' rbool("useExternalFonts", "UseExternalFonts", useXFonts, True), ^~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:116:5: note: in expansion of macro 'rbool' rbool("useExternalFonts", "UseExternalFonts", useXFonts, True), ^~~~~ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((String)&XtStrings[1561]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:13: note: in expansion of macro 'XtRBoolean' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~ ./src/gdevxres.c:116:5: note: in expansion of macro 'rbool' rbool("useExternalFonts", "UseExternalFonts", useXFonts, True), ^~~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:53:34: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:116:5: note: in expansion of macro 'rbool' rbool("useExternalFonts", "UseExternalFonts", useXFonts, True), ^~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:117:5: note: in expansion of macro 'rbool' rbool("useFontExtensions", "UseFontExtensions", useFontExtensions, True), ^~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:117:5: note: in expansion of macro 'rbool' rbool("useFontExtensions", "UseFontExtensions", useFontExtensions, True), ^~~~~ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((String)&XtStrings[1561]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:13: note: in expansion of macro 'XtRBoolean' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~ ./src/gdevxres.c:117:5: note: in expansion of macro 'rbool' rbool("useFontExtensions", "UseFontExtensions", useFontExtensions, True), ^~~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:53:34: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:117:5: note: in expansion of macro 'rbool' rbool("useFontExtensions", "UseFontExtensions", useFontExtensions, True), ^~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:118:5: note: in expansion of macro 'rbool' rbool("useScalableFonts", "UseScalableFonts", useScalableFonts, True), ^~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:118:5: note: in expansion of macro 'rbool' rbool("useScalableFonts", "UseScalableFonts", useScalableFonts, True), ^~~~~ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((String)&XtStrings[1561]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:13: note: in expansion of macro 'XtRBoolean' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~ ./src/gdevxres.c:118:5: note: in expansion of macro 'rbool' rbool("useScalableFonts", "UseScalableFonts", useScalableFonts, True), ^~~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:53:34: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:118:5: note: in expansion of macro 'rbool' rbool("useScalableFonts", "UseScalableFonts", useScalableFonts, True), ^~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:119:5: note: in expansion of macro 'rbool' rbool("useXPutImage", "UseXPutImage", useXPutImage, True), ^~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:119:5: note: in expansion of macro 'rbool' rbool("useXPutImage", "UseXPutImage", useXPutImage, True), ^~~~~ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((String)&XtStrings[1561]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:13: note: in expansion of macro 'XtRBoolean' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~ ./src/gdevxres.c:119:5: note: in expansion of macro 'rbool' rbool("useXPutImage", "UseXPutImage", useXPutImage, True), ^~~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:53:34: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:119:5: note: in expansion of macro 'rbool' rbool("useXPutImage", "UseXPutImage", useXPutImage, True), ^~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:120:5: note: in expansion of macro 'rbool' rbool("useXSetTile", "UseXSetTile", useXSetTile, True), ^~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:120:5: note: in expansion of macro 'rbool' rbool("useXSetTile", "UseXSetTile", useXSetTile, True), ^~~~~ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((String)&XtStrings[1561]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:53:13: note: in expansion of macro 'XtRBoolean' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~ ./src/gdevxres.c:120:5: note: in expansion of macro 'rbool' rbool("useXSetTile", "UseXSetTile", useXSetTile, True), ^~~~~ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((String)&XtStrings[1695]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:53:34: note: in expansion of macro 'XtRImmediate' RINIT(a,b,XtRBoolean,Boolean,o,XtRImmediate,(XtPointer)(n)) ^~~~~~~~~~~~ ./src/gdevxres.c:120:5: note: in expansion of macro 'rbool' rbool("useXSetTile", "UseXSetTile", useXSetTile, True), ^~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:55:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:121:5: note: in expansion of macro 'rfloat' rfloat("xResolution", "Resolution", xResolution, "0.0"), ^~~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:55:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:121:5: note: in expansion of macro 'rfloat' rfloat("xResolution", "Resolution", xResolution, "0.0"), ^~~~~~ /usr/local/include/X11/StringDefs.h:822:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFloat ((String)&XtStrings[1655]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:55:13: note: in expansion of macro 'XtRFloat' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~~~~ ./src/gdevxres.c:121:5: note: in expansion of macro 'rfloat' rfloat("xResolution", "Resolution", xResolution, "0.0"), ^~~~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:55:30: note: in expansion of macro 'XtRString' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~~~~~ ./src/gdevxres.c:121:5: note: in expansion of macro 'rfloat' rfloat("xResolution", "Resolution", xResolution, "0.0"), ^~~~~~ ./src/gdevxres.c:55:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:121:5: note: in expansion of macro 'rfloat' rfloat("xResolution", "Resolution", xResolution, "0.0"), ^~~~~~ ./src/gdevxres.c:42:4: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:55:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:122:5: note: in expansion of macro 'rfloat' rfloat("yResolution", "Resolution", yResolution, "0.0"), ^~~~~~ ./src/gdevxres.c:42:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:55:3: note: in expansion of macro 'RINIT' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~ ./src/gdevxres.c:122:5: note: in expansion of macro 'rfloat' rfloat("yResolution", "Resolution", yResolution, "0.0"), ^~~~~~ /usr/local/include/X11/StringDefs.h:822:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFloat ((String)&XtStrings[1655]) ^ ./src/gdevxres.c:42:38: note: in definition of macro 'RINIT' {(String)(a), (String)(b), (String)t, sizeof(s),\ ^ ./src/gdevxres.c:55:13: note: in expansion of macro 'XtRFloat' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~~~~ ./src/gdevxres.c:122:5: note: in expansion of macro 'rfloat' rfloat("yResolution", "Resolution", yResolution, "0.0"), ^~~~~~ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((String)&XtStrings[1797]) ^ ./src/gdevxres.c:43:40: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^~ ./src/gdevxres.c:55:30: note: in expansion of macro 'XtRString' RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^~~~~~~~~ ./src/gdevxres.c:122:5: note: in expansion of macro 'rfloat' rfloat("yResolution", "Resolution", yResolution, "0.0"), ^~~~~~ ./src/gdevxres.c:55:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] RINIT(a,b,XtRFloat,float,o,XtRString,(XtPointer)(n)) ^ ./src/gdevxres.c:43:45: note: in definition of macro 'RINIT' XtOffsetOf(gx_device_X, o), (String)it, (n)} ^ ./src/gdevxres.c:122:5: note: in expansion of macro 'rfloat' rfloat("yResolution", "Resolution", yResolution, "0.0"), ^~~~~~ ./src/gdevxres.c:136:5: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (String) "Ghostscript*Background: white", ^ ./src/gdevxres.c:137:5: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (String) "Ghostscript*Foreground: black", ^ ./src/gdevxini.c: In function 'gdev_x_open': ./src/gdevxini.c:414:18: warning: 'xid_width' may be used uninitialized in this function [-Wmaybe-uninitialized] xdev->width = xid_width; ~~~~~~~~~~~~^~~~~~~~~~~ ./src/gdevxini.c:415:19: warning: 'xid_height' may be used uninitialized in this function [-Wmaybe-uninitialized] xdev->height = xid_height; ~~~~~~~~~~~~~^~~~~~~~~~~~ cc -L/usr/local/lib -shared -o ./obj/X11.so ./obj/gdevxalt.o ./obj/gdevx.o ./obj/gdevxcmp.o ./obj/gdevxini.o ./obj/gdevxres.o ./obj/gdevxxf.o ./obj/gdevemap.o ./obj/gsparamx.o -L/usr/local/lib -lXt -lSM -lICE -lXext -lX11 -L/usr/local/lib gmake[1]: Leaving directory '/construction/print/ghostscript7-x11/ghostscript-7.07' SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> ghostscript7-x11-7.07_32 depends on package: ghostscript7-base>=7.07_32 - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for ghostscript7-x11-7.07_32 ===> ghostscript7-x11-7.07_32 depends on package: ghostscript7-base>=7.07_32 - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ghostscript7-x11-7.07_32 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Generating temporary packing list gmake[1]: Entering directory '/construction/print/ghostscript7-x11/ghostscript-7.07' mkdir -p /construction/print/ghostscript7-x11/stage/usr/local/lib/ghostscript/7.07 /bin/sh -c 'for obj in ./obj/X11.so; do \ install -s -m 555 $obj /construction/print/ghostscript7-x11/stage/usr/local/lib/ghostscript/7.07/; done' gmake[1]: Leaving directory '/construction/print/ghostscript7-x11/ghostscript-7.07' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/ghostscript/7.07/X11.so is linked to /usr/local/lib/libxcb.so.1 from x11/libxcb but it is not declared as a dependency Warning: you need USE_XORG+=xcb Error: /usr/local/lib/ghostscript/7.07/X11.so is linked to /usr/local/lib/libXau.so.6 from x11/libXau but it is not declared as a dependency Warning: you need USE_XORG+=xau Error: /usr/local/lib/ghostscript/7.07/X11.so is linked to /usr/local/lib/libXdmcp.so.6 from x11/libXdmcp but it is not declared as a dependency Warning: you need USE_XORG+=xdmcp Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for ghostscript7-x11-7.07_32 file sizes/checksums [1]: 0% file sizes/checksums [1]: 100% packing files [1]: 0% packing files [1]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:56