>>> Building on exopi-1 under textproc/xpdf3 BDEPENDS = [x11/motif;devel/gmake] DIST = [textproc/xpdf3:xpdf-3.04.tar.gz] FULLPKGNAME = xpdf3-3.04 RDEPENDS = [print/ghostscript/gnu-fonts;x11/motif] (Junk lock obtained for exopi-1 at 1735157885.71) >>> Running depends in textproc/xpdf3 at 1735157885.76 last junk was in mail/mozilla-thunderbird /usr/sbin/pkg_add -aI -Drepair motif-2.3.8p1 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 motif-2.3.8p1 /usr/sbin/pkg_add -aI -Drepair motif-2.3.8p1 >>> Running show-prepare-results in textproc/xpdf3 at 1735157888.96 ===> textproc/xpdf3 ===> Building from scratch xpdf3-3.04 ===> xpdf3-3.04 depends on: gmake-* -> gmake-4.4.1 ===> xpdf3-3.04 depends on: motif-* -> motif-2.3.8p1 ===> Verifying specs: ICE SM X11 Xext Xpm Xt freetype Xm c m pthread c++ c++abi pthread z ===> found ICE.11.0 SM.9.0 X11.18.2 Xext.13.0 Xpm.10.0 Xt.11.1 freetype.30.4 Xm.6.1 c.100.3 m.10.1 pthread.27.1 c++.10.0 c++abi.7.0 z.7.1 gmake-4.4.1 motif-2.3.8p1 (Junk lock released for exopi-1 at 1735157889.64) distfiles size=825519 >>> Running build in textproc/xpdf3 at 1735157889.68 ===> textproc/xpdf3 ===> Checking files for xpdf3-3.04 `/exopi-cvs/ports/distfiles/xpdf-3.04.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xpdf3-3.04 ===> Patching for xpdf3-3.04 ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile.in |--- Makefile.in.orig |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 67. done ===> Applying OpenBSD patch patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add "3" suffix to default user config file | |Index: configure |--- configure.orig |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2453. done ===> Applying OpenBSD patch patch-doc_sample-xpdfrc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- doc/sample-xpdfrc.orig Wed May 28 20:50:50 2014 |+++ doc/sample-xpdfrc Fri May 30 14:26:13 2014 -------------------------- Patching file doc/sample-xpdfrc using Plan A... Hunk #1 succeeded at 56. Hunk #2 succeeded at 87. done ===> Applying OpenBSD patch patch-splash_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- splash/Makefile.in.orig Wed May 28 20:50:50 2014 |+++ splash/Makefile.in Fri May 30 14:29:41 2014 -------------------------- Patching file splash/Makefile.in using Plan A... Hunk #1 succeeded at 16. done ===> Applying OpenBSD patch patch-splash_SplashXPath_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Replace Miod's fix from 2009 by some assert's, because the bug |*should* have been fixed in a different way and I'm too lazy to |verify it. (needs a change to strokeAdjust(), which is private) | |--- splash/SplashXPath.cc.orig Wed May 28 20:50:50 2014 |+++ splash/SplashXPath.cc Fri May 30 15:31:49 2014 -------------------------- Patching file splash/SplashXPath.cc using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 71. Hunk #3 succeeded at 178. Hunk #4 succeeded at 191. done ===> Applying OpenBSD patch patch-splash_SplashXPath_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Replace Miod's fix from 2009 by some assert's, because the bug |*should* have been fixed in a different way and I'm too lazy to |verify it. (needs a change to strokeAdjust(), which is private) | |--- splash/SplashXPath.h.orig Wed May 28 20:50:50 2014 |+++ splash/SplashXPath.h Fri May 30 15:33:45 2014 -------------------------- Patching file splash/SplashXPath.h using Plan A... Hunk #1 succeeded at 99. done ===> Applying OpenBSD patch patch-xpdf_GlobalParams_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xpdf/GlobalParams.cc.orig Wed May 28 20:50:50 2014 |+++ xpdf/GlobalParams.cc Fri May 30 14:27:13 2014 -------------------------- Patching file xpdf/GlobalParams.cc using Plan A... Hunk #1 succeeded at 120. done ===> Applying OpenBSD patch patch-xpdf_JBIG2Stream_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Security fix for CVE-2022-38171. |Extracted from upstream 4.04 | |Index: xpdf/JBIG2Stream.cc |--- xpdf/JBIG2Stream.cc.orig |+++ xpdf/JBIG2Stream.cc -------------------------- Patching file xpdf/JBIG2Stream.cc using Plan A... Hunk #1 succeeded at 1977. done ===> Applying OpenBSD patch patch-xpdf_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xpdf/Makefile.in.orig Wed May 28 20:50:50 2014 |+++ xpdf/Makefile.in Fri May 30 14:28:24 2014 -------------------------- Patching file xpdf/Makefile.in using Plan A... Hunk #1 succeeded at 19. Hunk #2 succeeded at 33. done ===> Applying OpenBSD patch patch-xpdf_TextOutputDev_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |CVE-2019-16927, CVE-2019-9877 from 4.02 | |Index: xpdf/TextOutputDev.cc |--- xpdf/TextOutputDev.cc.orig |+++ xpdf/TextOutputDev.cc -------------------------- Patching file xpdf/TextOutputDev.cc using Plan A... Hunk #1 succeeded at 2472. done ===> Applying OpenBSD patch patch-xpdf_XRef_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xpdf/XRef.cc.orig Wed May 28 20:50:50 2014 |+++ xpdf/XRef.cc Fri May 30 14:26:13 2014 -------------------------- Patching file xpdf/XRef.cc using Plan A... Hunk #1 succeeded at 958. done ===> Applying OpenBSD patch patch-xpdf_config_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add "3" suffix to default user config file | |Index: xpdf/config.h |--- xpdf/config.h.orig |+++ xpdf/config.h -------------------------- Patching file xpdf/config.h using Plan A... Hunk #1 succeeded at 55. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xpdf3-3.04 ===> Configuring for xpdf3-3.04 Using /exopi-obj/pobj/xpdf3-3.04/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /exopi-obj/pobj/xpdf3-3.04/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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for library containing strerror... none required checking for cc option to accept ISO C99... none needed checking for cc option to accept ISO Standard C... (cached) none needed checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking for a BSD-compatible install... /exopi-obj/pobj/xpdf3-3.04/bin/install -c checking for ranlib... (cached) ranlib checking for OS/2 (with EMX)... no checking for DOS (with DJGPP)... no checking how to run the C preprocessor... cc -E checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking whether -R must be followed by a space... neither works checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... none required checking for gethostbyname... (cached) yes checking select() and fd_set in sys/select.h and sys/bsdtypes.h... need sys/select.h checking FD_ZERO and strings.h or bstring.h... not needed checking for rewinddir... (cached) yes checking for popen... (cached) yes checking for mkstemp... yes checking for mkstemps... yes checking whether select takes fd_set arguments... yes checking for std::sort... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseek64... no checking for ftell64... no 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 whether to use Xpm library... maybe checking where to find the Xpm header files... checking for X11/xpm.h... (cached) yes checking for XpmCreatePixmapFromData in -lXpm... yes using Xpm library checking whether to use Xext library... maybe checking where to find the Xext header files... checking for X11/Xlib.h... (cached) yes checking for XextAddDisplay in -lXext... yes using Xext library checking whether to use Xp library... maybe checking where to find the Xp header files... checking X11/extensions/Print.h usability... no checking X11/extensions/Print.h presence... no checking for X11/extensions/Print.h... no not using Xp library checking whether to use Xt library... maybe checking where to find the Xt header files... checking for X11/Intrinsic.h... (cached) yes checking for XtAppInitialize in -lXt... yes using Xt library checking whether to use Xm library... maybe checking where to find the Xm header files... checking Xm/XmAll.h usability... yes checking Xm/XmAll.h presence... yes checking for Xm/XmAll.h... yes checking for XmCreateForm in -lXm... yes using Xm library checking whether to use Sgm library... (cached) no checking for XtAppSetExitFlag in -lXt... yes checking whether to use freetype2 library... maybe checking where to find the freetype2 header files... checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for FT_Get_Name_Index in -lfreetype... yes using freetype2 library checking whether to use libpng library... maybe checking where to find the libpng header files... checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_write_row in -lpng... yes using libpng library checking whether to use libpaper library... (cached) no configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating goo/Makefile config.status: creating fofi/Makefile config.status: creating splash/Makefile config.status: creating xpdf/Makefile config.status: creating aconf.h configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc ===> Building for xpdf3-3.04 cd goo; gmake gmake[1]: Entering directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/goo' c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c GHash.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c GList.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c GString.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c gmem.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c gmempp.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c gfile.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c FixedPoint.cc cc -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I. -c -o parseargs.o parseargs.c rm -f libGoo.a ar rc libGoo.a GHash.o GList.o GString.o gmem.o gmempp.o gfile.o FixedPoint.o parseargs.o ranlib libGoo.a gmake[1]: Leaving directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/goo' cd fofi; gmake gmake[1]: Entering directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/fofi' c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I. -c FoFiBase.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I. -c FoFiEncodings.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I. -c FoFiIdentifier.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I. -c FoFiTrueType.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I. -c FoFiType1.cc c++ -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I. -c FoFiType1C.cc rm -f libfofi.a ar rc libfofi.a FoFiBase.o FoFiEncodings.o FoFiIdentifier.o FoFiTrueType.o FoFiType1.o FoFiType1C.o ranlib libfofi.a gmake[1]: Leaving directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/fofi' cd splash; gmake gmake[1]: Entering directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/splash' c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c Splash.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashBitmap.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashClip.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashFTFont.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashFTFontEngine.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashFTFontFile.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashFont.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashFontEngine.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashFontFile.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashFontFileID.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashPath.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashPattern.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashScreen.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashState.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashXPath.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I. -c SplashXPathScanner.cc rm -f libsplash.a ar rc libsplash.a Splash.o SplashBitmap.o SplashClip.o SplashFTFont.o SplashFTFontEngine.o SplashFTFontFile.o SplashFont.o SplashFontEngine.o SplashFontFile.o SplashFontFileID.o SplashPath.o SplashPattern.o SplashScreen.o SplashState.o SplashXPath.o SplashXPathScanner.o ranlib libsplash.a gmake[1]: Leaving directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/splash' cd xpdf; gmake xpdf gmake[1]: Entering directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/xpdf' c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c AcroForm.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Annot.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Array.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c BuiltinFont.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c BuiltinFontTables.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Catalog.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c CharCodeToUnicode.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c CMap.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c CoreOutputDev.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Decrypt.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Dict.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Error.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c FontEncodingTables.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Form.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Function.cc Function.cc:410:10: warning: destination for this 'memcpy' call is a pointer to dynamic class 'SampledFunction'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(this, func, sizeof(SampledFunction)); ~~~~~~ ^ Function.cc:410:10: note: explicitly cast the pointer to silence this warning memcpy(this, func, sizeof(SampledFunction)); ^ (void*) Function.cc:587:10: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ExponentialFunction'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(this, func, sizeof(ExponentialFunction)); ~~~~~~ ^ Function.cc:587:10: note: explicitly cast the pointer to silence this warning memcpy(this, func, sizeof(ExponentialFunction)); ^ (void*) Function.cc:728:10: warning: destination for this 'memcpy' call is a pointer to dynamic class 'StitchingFunction'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(this, func, sizeof(StitchingFunction)); ~~~~~~ ^ Function.cc:728:10: note: explicitly cast the pointer to silence this warning memcpy(this, func, sizeof(StitchingFunction)); ^ (void*) Function.cc:952:10: warning: destination for this 'memcpy' call is a pointer to dynamic class 'PostScriptFunction'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(this, func, sizeof(PostScriptFunction)); ~~~~~~ ^ Function.cc:952:10: note: explicitly cast the pointer to silence this warning memcpy(this, func, sizeof(PostScriptFunction)); ^ (void*) 4 warnings generated. c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Gfx.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c GfxFont.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c GfxState.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c GlobalParams.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c JArithmeticDecoder.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c JBIG2Stream.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c JPXStream.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Lexer.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Link.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c NameToCharCode.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Object.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c OptionalContent.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Outline.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c OutputDev.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Page.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Parser.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c PDFCore.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c PDFDoc.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c PDFDocEncoding.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c PreScanOutputDev.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c PSOutputDev.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c PSTokenizer.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c SecurityHandler.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c SplashOutputDev.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Stream.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c TextOutputDev.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c TextString.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c UnicodeMap.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c UnicodeTypeTable.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c XFAForm.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c XPDFApp.cc In file included from XPDFApp.cc:18: In file included from ./XPDFViewer.h:19: In file included from /usr/local/include/Xm/XmAll.h:27: /usr/local/include/Xm/Xm.h:1514:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ XPDFApp.cc:38:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.zoomComboBox*fontList: -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1", ^ XPDFApp.cc:39:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*XmTextField.fontList: -*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1", ^ XPDFApp.cc:40:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.fontList: -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1", ^ XPDFApp.cc:41:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*XmTextField.translations: #override\\n" ^ XPDFApp.cc:49:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.toolTipEnable: True", ^ XPDFApp.cc:50:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.toolTipPostDelay: 1500", ^ XPDFApp.cc:51:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.toolTipPostDuration: 0", ^ XPDFApp.cc:52:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.TipLabel.foreground: black", ^ XPDFApp.cc:53:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.TipLabel.background: LightYellow", ^ XPDFApp.cc:54:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.TipShell.borderWidth: 1", ^ XPDFApp.cc:55:3: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "*.TipShell.borderColor: black", ^ XPDFApp.cc:60:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-display", ".display", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:60:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-display", ".display", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:61:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-foreground", "*Foreground", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:61:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-foreground", "*Foreground", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:62:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-fg", "*Foreground", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:62:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-fg", "*Foreground", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:63:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-background", "*Background", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:63:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-background", "*Background", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:64:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-bg", "*Background", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:64:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-bg", "*Background", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:65:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-geometry", ".geometry", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:65:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-geometry", ".geometry", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:66:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-g", ".geometry", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:66:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-g", ".geometry", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:67:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-font", "*.fontList", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:67:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-font", "*.fontList", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:68:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-fn", "*.fontList", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:68:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-fn", "*.fontList", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:69:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-title", ".title", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:69:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-title", ".title", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:70:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-cmap", ".installCmap", XrmoptionNoArg, (XPointer)"on"}, ^ XPDFApp.cc:70:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-cmap", ".installCmap", XrmoptionNoArg, (XPointer)"on"}, ^ XPDFApp.cc:71:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-rgb", ".rgbCubeSize", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:71:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-rgb", ".rgbCubeSize", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:72:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-rv", ".reverseVideo", XrmoptionNoArg, (XPointer)"true"}, ^ XPDFApp.cc:72:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-rv", ".reverseVideo", XrmoptionNoArg, (XPointer)"true"}, ^ XPDFApp.cc:73:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-papercolor", ".paperColor", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:73:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-papercolor", ".paperColor", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:74:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-mattecolor", ".matteColor", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:74:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-mattecolor", ".matteColor", XrmoptionSepArg, NULL}, ^ XPDFApp.cc:75:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-z", ".initialZoom", XrmoptionSepArg, NULL} ^ XPDFApp.cc:75:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-z", ".initialZoom", XrmoptionSepArg, NULL} ^ XPDFApp.cc:97:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "geometry", "Geometry", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, geometry), XtRString, (XtPointer)NULL }, ^ XPDFApp.cc:97:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "geometry", "Geometry", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, geometry), XtRString, (XtPointer)NULL }, ^ XPDFApp.cc:98:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "title", "Title", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, title), XtRString, (XtPointer)NULL }, ^ XPDFApp.cc:98:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "title", "Title", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, title), XtRString, (XtPointer)NULL }, ^ XPDFApp.cc:99:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "installCmap", "InstallCmap", XtRBool, sizeof(Bool), XtOffsetOf(XPDFAppResources, installCmap), XtRBool, (XtPointer)&defInstallCmap }, ^ XPDFApp.cc:99:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "installCmap", "InstallCmap", XtRBool, sizeof(Bool), XtOffsetOf(XPDFAppResources, installCmap), XtRBool, (XtPointer)&defInstallCmap }, ^ XPDFApp.cc:100:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "rgbCubeSize", "RgbCubeSize", XtRInt, sizeof(int), XtOffsetOf(XPDFAppResources, rgbCubeSize), XtRInt, (XtPointer)&defRGBCubeSize }, ^ XPDFApp.cc:100:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "rgbCubeSize", "RgbCubeSize", XtRInt, sizeof(int), XtOffsetOf(XPDFAppResources, rgbCubeSize), XtRInt, (XtPointer)&defRGBCubeSize }, ^ XPDFApp.cc:101:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "reverseVideo", "ReverseVideo", XtRBool, sizeof(Bool), XtOffsetOf(XPDFAppResources, reverseVideo), XtRBool, (XtPointer)&defReverseVideo }, ^ XPDFApp.cc:101:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "reverseVideo", "ReverseVideo", XtRBool, sizeof(Bool), XtOffsetOf(XPDFAppResources, reverseVideo), XtRBool, (XtPointer)&defReverseVideo }, ^ XPDFApp.cc:102:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "paperColor", "PaperColor", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, paperColor), XtRString, (XtPointer)NULL }, ^ XPDFApp.cc:102:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "paperColor", "PaperColor", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, paperColor), XtRString, (XtPointer)NULL }, ^ XPDFApp.cc:103:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "matteColor", "MatteColor", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, matteColor), XtRString, (XtPointer)"gray50" }, ^ XPDFApp.cc:103:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "matteColor", "MatteColor", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, matteColor), XtRString, (XtPointer)"gray50" }, ^ XPDFApp.cc:104:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "fullScreenMatteColor", "FullScreenMatteColor", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, fullScreenMatteColor), XtRString, (XtPointer)"black" }, ^ XPDFApp.cc:104:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "fullScreenMatteColor", "FullScreenMatteColor", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, fullScreenMatteColor), XtRString, (XtPointer)"black" }, ^ XPDFApp.cc:105:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "initialZoom", "InitialZoom", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, initialZoom), XtRString, (XtPointer)NULL } ^ XPDFApp.cc:105:29: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "initialZoom", "InitialZoom", XtRString, sizeof(String), XtOffsetOf(XPDFAppResources, initialZoom), XtRString, (XtPointer)NULL } ^ 72 warnings generated. c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c XPDFCore.cc In file included from XPDFCore.cc:32: In file included from ./XPDFApp.h:19: In file included from /usr/local/include/Xm/XmAll.h:27: /usr/local/include/Xm/Xm.h:1514:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ XPDFCore.cc:911:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] scrolledWin = XmCreateScrolledWindow(parentWidget, "scroll", args, n); ^ XPDFCore.cc:921:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] hScrollBar = XmCreateScrollBar(scrolledWin, "hScrollBar", args, n); ^ XPDFCore.cc:939:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] vScrollBar = XmCreateScrollBar(scrolledWin, "vScrollBar", args, n); ^ XPDFCore.cc:958:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] drawAreaFrame = XmCreateFrame(scrolledWin, "drawAreaFrame", args, n); ^ XPDFCore.cc:964:49: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] drawArea = XmCreateDrawingArea(drawAreaFrame, "drawArea", args, n); ^ XPDFCore.cc:1469:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dialog = XmCreateMessageDialog(drawArea, "questionDialog", args, n); ^ XPDFCore.cc:1479:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] scroll = XmCreateScrolledWindow(dialog, "scroll", args, n); ^ XPDFCore.cc:1486:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text = XmCreateText(scroll, "text", args, n); ^ XPDFCore.cc:1540:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(xpdfAppName ": Password"); ^ ./XPDFApp.h:31:21: note: expanded from macro 'xpdfAppName' #define xpdfAppName "Xpdf" ^ XPDFCore.cc:1543:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] passwordDialog = XmCreateFormDialog(drawArea, "passwordDialog", args, n); ^ XPDFCore.cc:1552:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("This document requires a password."); ^ XPDFCore.cc:1554:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(passwordDialog, "msg", args, n); ^ XPDFCore.cc:1569:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] row = XmCreateRowColumn(passwordDialog, "row", args, n); ^ XPDFCore.cc:1572:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Password: "); ^ XPDFCore.cc:1574:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(row, "label", args, n); ^ XPDFCore.cc:1579:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] passwordText = XmCreateTextField(row, "text", args, n); ^ XPDFCore.cc:1593:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] okBtn = XmCreatePushButton(passwordDialog, "Ok", args, n); ^ XPDFCore.cc:1605:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cancelBtn = XmCreatePushButton(passwordDialog, "Cancel", args, n); ^ XPDFCore.cc:1664:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] XmTextFieldSetString(passwordText, ""); ^ 30 warnings generated. c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c XPDFTree.cc In file included from XPDFTree.cc:12: In file included from ./XPDFTreeP.h:13: In file included from /usr/local/include/Xm/ManagerP.h:30: In file included from /usr/local/include/Xm/XmP.h:40: /usr/local/include/Xm/Xm.h:1514:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ In file included from XPDFTree.cc:12: In file included from ./XPDFTreeP.h:13: In file included from /usr/local/include/Xm/ManagerP.h:30: /usr/local/include/Xm/XmP.h:1181:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register XEvent *event, ^~~~~~~~~ /usr/local/include/Xm/XmP.h:1276:9: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register char *in_str, ^~~~~~~~~ /usr/local/include/Xm/XmP.h:1277:9: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register char *test_str ); ^~~~~~~~~ XPDFTree.cc:90:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { XPDFNselectionCallback, XmCCallback, XmRCallback, ^ ./XPDFTree.h:29:32: note: expanded from macro 'XPDFNselectionCallback' #define XPDFNselectionCallback "selectionCallback" ^ XPDFTree.cc:115:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { XPDFNentryParent, XPDFCentryParent, XmRWidget, ^ ./XPDFTree.h:26:32: note: expanded from macro 'XPDFNentryParent' #define XPDFNentryParent "entryParent" ^ XPDFTree.cc:115:23: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { XPDFNentryParent, XPDFCentryParent, XmRWidget, ^ ./XPDFTree.h:31:32: note: expanded from macro 'XPDFCentryParent' #define XPDFCentryParent "EntryParent" ^ XPDFTree.cc:118:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { XPDFNentryExpanded, XPDFCentryExpanded, XmRBoolean, ^ ./XPDFTree.h:27:32: note: expanded from macro 'XPDFNentryExpanded' #define XPDFNentryExpanded "entryExpanded" ^ XPDFTree.cc:118:25: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { XPDFNentryExpanded, XPDFCentryExpanded, XmRBoolean, ^ ./XPDFTree.h:32:32: note: expanded from macro 'XPDFCentryExpanded' #define XPDFCentryExpanded "EntryExpanded" ^ XPDFTree.cc:121:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { XPDFNentryPosition, XPDFCentryPosition, XmRInt, ^ ./XPDFTree.h:28:32: note: expanded from macro 'XPDFNentryPosition' #define XPDFNentryPosition "entryPosition" ^ XPDFTree.cc:121:25: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { XPDFNentryPosition, XPDFCentryPosition, XmRInt, ^ ./XPDFTree.h:33:32: note: expanded from macro 'XPDFCentryPosition' #define XPDFCentryPosition "EntryPosition" ^ XPDFTree.cc:130:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] { "XPDFTreeClick", click } ^ XPDFTree.cc:136:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] "XPDFTree", // class_name ^ 23 warnings generated. c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c XPDFViewer.cc In file included from XPDFViewer.cc:41: In file included from ./XPDFTree.h:13: /usr/local/include/Xm/Xm.h:1514:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ In file included from XPDFViewer.cc:114: ./xpdfIcon.xpm:4:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 48 48 7 1", ^ ./xpdfIcon.xpm:6:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ". c #000000", ^ ./xpdfIcon.xpm:7:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "# c #a00000", ^ ./xpdfIcon.xpm:8:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "a c #a0a0a0", ^ ./xpdfIcon.xpm:9:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "b c #c0c0c0", ^ ./xpdfIcon.xpm:10:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "c c #e00000", ^ ./xpdfIcon.xpm:11:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "d c #e0e0e0", ^ ./xpdfIcon.xpm:12:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "e c #ffffff", ^ ./xpdfIcon.xpm:14:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................", ^ ./xpdfIcon.xpm:15:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................", ^ ./xpdfIcon.xpm:16:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................", ^ ./xpdfIcon.xpm:17:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................", ^ ./xpdfIcon.xpm:18:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#ccccccc#................................#ccc#..", ^ ./xpdfIcon.xpm:19:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".#ccccccc#..............................#ccc#...", ^ ./xpdfIcon.xpm:20:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "..#ccccccc#............................#ccc#....", ^ ./xpdfIcon.xpm:21:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "...#ccccccc#................bbba.....abbbc#.....", ^ ./xpdfIcon.xpm:22:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "....#ccccccc#...............beea....debbed......", ^ ./xpdfIcon.xpm:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".....#ccccccc#...............ee....bebccee......", ^ ./xpdfIcon.xpm:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "......#ccccccc#..............ee....eecc#bb......", ^ ./xpdfIcon.xpm:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......#ccccccc#............aee...#eec#.........", ^ ./xpdfIcon.xpm:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........#ccccccc#...........bed..#beb#..........", ^ ./xpdfIcon.xpm:27:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".........#ccccccc#..........beb.#cbeb...........", ^ ./xpdfIcon.xpm:28:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "..........#ccccccc#.........beb#ccbeb...........", ^ ./xpdfIcon.xpm:29:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "...........#ccccccc#........bebcccbeb...........", ^ ./xpdfIcon.xpm:30:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "............#ccccccc#.......eebcc#dea...........", ^ ./xpdfIcon.xpm:31:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".............#ccccccc#......eecc#.ee............", ^ ./xpdfIcon.xpm:32:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".........ae...#ccccccc#....#eec#..ee............", ^ ./xpdfIcon.xpm:33:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........aeeaeeeebcccccabeeeaee#.beeeeee.........", ^ ./xpdfIcon.xpm:34:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......aeeeea..debcccaed##ceee....ee............", ^ ./xpdfIcon.xpm:35:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "......addee.....eeccaedccccbed...beb............", ^ ./xpdfIcon.xpm:36:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "......a.bee.....ee#cbeaccccbeb...beb............", ^ ./xpdfIcon.xpm:37:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........beb.....ee.#eecccccbeb...beb............", ^ ./xpdfIcon.xpm:38:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........beb.....ee..eecccccbeb...beb............", ^ ./xpdfIcon.xpm:39:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........beb.....ee..eeccccceeb...dea............", ^ ./xpdfIcon.xpm:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........deb....aeb.#eeccccceec#..ee.............", ^ ./xpdfIcon.xpm:41:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........eea....dea#cee##ccceecc#.ee.............", ^ ./xpdfIcon.xpm:42:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........eee...dea#ccbeda#cdeeccc#ee.............", ^ ./xpdfIcon.xpm:43:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........eeaeeeba#ccc#beeeeaeeecceeee............", ^ ./xpdfIcon.xpm:44:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........ee.....#ccc#......#ccccccc#.............", ^ ./xpdfIcon.xpm:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......bee....#ccc#........#ccccccc#............", ^ ./xpdfIcon.xpm:46:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......beb...#ccc#..........#ccccccc#...........", ^ ./xpdfIcon.xpm:47:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......beb..#ccc#............#ccccccc#..........", ^ ./xpdfIcon.xpm:48:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......beb.#ccc#..............#ccccccc#.........", ^ ./xpdfIcon.xpm:49:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......deb#ccc#................#ccccccc#........", ^ ./xpdfIcon.xpm:50:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......eeaccc#..................#ccccccc#.......", ^ ./xpdfIcon.xpm:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......eeccc#....................#ccccccc#......", ^ ./xpdfIcon.xpm:52:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".......eecc#......................#ccccccc#.....", ^ ./xpdfIcon.xpm:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "......beeb#........................#ccccccc#....", ^ ./xpdfIcon.xpm:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".....#bbbb..........................#ccccccc#...", ^ ./xpdfIcon.xpm:55:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "....#ccc#............................#ccccccc#..", ^ ./xpdfIcon.xpm:56:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "...#ccc#..............................#ccccccc#.", ^ ./xpdfIcon.xpm:57:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "..#ccc#................................#ccccccc.", ^ ./xpdfIcon.xpm:58:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................", ^ ./xpdfIcon.xpm:59:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................", ^ ./xpdfIcon.xpm:60:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................", ^ ./xpdfIcon.xpm:61:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "................................................" ^ XPDFViewer.cc:419:33: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(""); ^ XPDFViewer.cc:422:33: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(" of 0"); ^ XPDFViewer.cc:1541:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] form = XmCreateForm(win, "form", args, n); ^ XPDFViewer.cc:1655:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] toolBar = XmCreateForm(parent, "toolBar", args, n); ^ XPDFViewer.cc:1660:41: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] emptyString = XmStringCreateLocalized(""); ^ XPDFViewer.cc:1670:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] backBtn = XmCreatePushButton(toolBar, "back", args, n); ^ XPDFViewer.cc:1671:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(backBtn, "Back"); ^ XPDFViewer.cc:1683:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] prevTenPageBtn = XmCreatePushButton(toolBar, "prevTenPage", args, n); ^ XPDFViewer.cc:1684:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(prevTenPageBtn, "-10 pages"); ^ XPDFViewer.cc:1696:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] prevPageBtn = XmCreatePushButton(toolBar, "prevPage", args, n); ^ XPDFViewer.cc:1697:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(prevPageBtn, "Previous page"); ^ XPDFViewer.cc:1709:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] nextPageBtn = XmCreatePushButton(toolBar, "nextPage", args, n); ^ XPDFViewer.cc:1710:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(nextPageBtn, "Next page"); ^ XPDFViewer.cc:1722:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] nextTenPageBtn = XmCreatePushButton(toolBar, "nextTenPage", args, n); ^ XPDFViewer.cc:1723:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(nextTenPageBtn, "+10 pages"); ^ XPDFViewer.cc:1735:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] forwardBtn = XmCreatePushButton(toolBar, "forward", args, n); ^ XPDFViewer.cc:1736:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(forwardBtn, "Forward"); ^ XPDFViewer.cc:1747:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Page "); ^ XPDFViewer.cc:1749:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(toolBar, "pageLabel", args, n); ^ XPDFViewer.cc:1760:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pageNumText = XmCreateTextField(toolBar, "pageNum", args, n); ^ XPDFViewer.cc:1769:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(" of 00000"); ^ XPDFViewer.cc:1773:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pageCountLabel = XmCreateLabel(toolBar, "pageCountLabel", args, n); ^ XPDFViewer.cc:1776:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(" of 0"); ^ XPDFViewer.cc:1798:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zoomComboBox = XmCreateComboBox(toolBar, "zoomComboBox", args, n); ^ XPDFViewer.cc:1802:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(zoomComboBox, "Zoom"); ^ XPDFViewer.cc:1847:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] findBtn = XmCreatePushButton(toolBar, "find", args, n); ^ XPDFViewer.cc:1848:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(findBtn, "Find"); ^ XPDFViewer.cc:1859:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printBtn = XmCreatePushButton(toolBar, "print", args, n); ^ XPDFViewer.cc:1860:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(printBtn, "Print"); ^ XPDFViewer.cc:1871:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] aboutBtn = XmCreatePushButton(toolBar, "about", args, n); ^ XPDFViewer.cc:1872:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] addToolTip(aboutBtn, "About / help"); ^ XPDFViewer.cc:1884:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Quit"); ^ XPDFViewer.cc:1886:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] quitBtn = XmCreatePushButton(toolBar, "quit", args, n); ^ XPDFViewer.cc:1900:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(""); ^ XPDFViewer.cc:1904:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] linkLabel = XmCreateLabel(toolBar, "linkLabel", args, n); ^ XPDFViewer.cc:1923:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] panedWin = XmCreatePanedWindow(parent, "panedWin", args, n); ^ XPDFViewer.cc:1937:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outlineScroll = XmCreateScrolledWindow(panedWin, "outlineScroll", args, n); ^ XPDFViewer.cc:1945:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outlineTree = XPDFCreateTree(outlineScroll, "outlineTree", args, n); ^ XPDFViewer.cc:1977:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] popupMenu = XmCreatePopupMenu(core->getDrawAreaWidget(), "popupMenu", ^ XPDFViewer.cc:1980:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Open..."); ^ XPDFViewer.cc:1982:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s2 = XmStringCreateLocalized("O"); ^ XPDFViewer.cc:1984:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "open", args, n); ^ XPDFViewer.cc:1991:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Open in new window..."); ^ XPDFViewer.cc:1993:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "openInNewWindow", args, n); ^ XPDFViewer.cc:1999:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Reload"); ^ XPDFViewer.cc:2001:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s2 = XmStringCreateLocalized("R"); ^ XPDFViewer.cc:2003:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "reload", args, n); ^ XPDFViewer.cc:2010:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Save as..."); ^ XPDFViewer.cc:2012:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "saveAs", args, n); ^ XPDFViewer.cc:2018:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreateSeparator(popupMenu, "sep1", args, n); ^ XPDFViewer.cc:2021:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Continuous view"); ^ XPDFViewer.cc:2026:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreateToggleButton(popupMenu, "continuousMode", args, n); ^ XPDFViewer.cc:2032:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Full screen"); ^ XPDFViewer.cc:2037:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreateToggleButton(popupMenu, "fullScreen", args, n); ^ XPDFViewer.cc:2043:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Rotate counterclockwise"); ^ XPDFViewer.cc:2045:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "rotateCCW", args, n); ^ XPDFViewer.cc:2051:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Rotate clockwise"); ^ XPDFViewer.cc:2053:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "rotateCW", args, n); ^ XPDFViewer.cc:2059:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Zoom to selection"); ^ XPDFViewer.cc:2061:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "zoomToSelection", args, n); ^ XPDFViewer.cc:2067:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreateSeparator(popupMenu, "sep2", args, n); ^ XPDFViewer.cc:2070:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Close"); ^ XPDFViewer.cc:2072:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s2 = XmStringCreateLocalized("Ctrl+W"); ^ XPDFViewer.cc:2074:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "close", args, n); ^ XPDFViewer.cc:2081:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Quit"); ^ XPDFViewer.cc:2083:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s2 = XmStringCreateLocalized("Q"); ^ XPDFViewer.cc:2085:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] btn = XmCreatePushButton(popupMenu, "quit", args, n); ^ XPDFViewer.cc:2670:35: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(""); ^ XPDFViewer.cc:2767:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] XtSetArg(args[n], XPDFNentryPosition, i); ++n; ^ /usr/X11R6/include/X11/Intrinsic.h:1175:27: note: expanded from macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ XPDFViewer.cc:2769:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] XtSetArg(args[n], XPDFNentryParent, parent); ++n; ^ /usr/X11R6/include/X11/Intrinsic.h:1175:27: note: expanded from macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ XPDFViewer.cc:2771:5: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] XtSetArg(args[n], XPDFNentryExpanded, item->isOpen()); ++n; ^ /usr/X11R6/include/X11/Intrinsic.h:1175:27: note: expanded from macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ XPDFViewer.cc:2783:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabelGadget(outlineTree, "label", args, n); ^ XPDFViewer.cc:2829:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(xpdfAppName ": About"); ^ ./XPDFApp.h:31:21: note: expanded from macro 'xpdfAppName' #define xpdfAppName "Xpdf" ^ XPDFViewer.cc:2833:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] aboutDialog = XmCreateFormDialog(win, "aboutDialog", args, n); ^ XPDFViewer.cc:2842:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] closeBtn = XmCreatePushButton(aboutDialog, "Close", args, n); ^ XPDFViewer.cc:2857:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] scrolledWin = XmCreateScrolledWindow(aboutDialog, "scrolledWin", args, n); ^ XPDFViewer.cc:2862:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] col = XmCreateRowColumn(scrolledWin, "col", args, n); ^ XPDFViewer.cc:2867:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] createFontList("-*-times-bold-i-normal--20-*-*-*-*-*-iso8859-1"); ^ XPDFViewer.cc:2869:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] createFontList("-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1"); ^ XPDFViewer.cc:2871:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] createFontList("-*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1"); ^ XPDFViewer.cc:2875:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Xpdf"); ^ XPDFViewer.cc:2878:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(col, "h0", args, n); ^ XPDFViewer.cc:2882:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Version " xpdfVersion); ^ XPDFViewer.cc:2885:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(col, "h1", args, n); ^ XPDFViewer.cc:2889:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(xpdfCopyright); ^ ./config.h:31:23: note: expanded from macro 'xpdfCopyright' #define xpdfCopyright "Copyright 1996-2014 Glyph & Cog, LLC" ^ XPDFViewer.cc:2892:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(col, "h2", args, n); ^ XPDFViewer.cc:2896:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(" "); ^ XPDFViewer.cc:2899:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(col, "h3", args, n); ^ XPDFViewer.cc:2904:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sep = XmCreateSeparator(col, "sep", args, n); ^ XPDFViewer.cc:2907:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(" "); ^ XPDFViewer.cc:2910:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(col, "h4", args, n); ^ XPDFViewer.cc:2939:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s1 = XmStringCreateLocalized("Open"); ^ XPDFViewer.cc:2941:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s2 = XmStringCreateLocalized("*.[Pp][Dd][Ff]"); ^ XPDFViewer.cc:2943:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s3 = XmStringCreateLocalized(xpdfAppName ": Open"); ^ ./XPDFApp.h:31:21: note: expanded from macro 'xpdfAppName' #define xpdfAppName "Xpdf" ^ XPDFViewer.cc:2947:49: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] openDialog = XmCreateFileSelectionDialog(win, "openDialog", args, n); ^ XPDFViewer.cc:3017:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(xpdfAppName ": Find"); ^ ./XPDFApp.h:31:21: note: expanded from macro 'xpdfAppName' #define xpdfAppName "Xpdf" ^ XPDFViewer.cc:3021:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] findDialog = XmCreateFormDialog(win, "findDialog", args, n); ^ XPDFViewer.cc:3031:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] okBtn = XmCreatePushButton(findDialog, "Find", args, n); ^ XPDFViewer.cc:3041:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] closeBtn = XmCreatePushButton(findDialog, "Close", args, n); ^ XPDFViewer.cc:3059:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Search backward"); ^ XPDFViewer.cc:3061:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] findBackwardToggle = XmCreateToggleButton(findDialog, "backward", args, n); ^ XPDFViewer.cc:3077:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Match case"); ^ XPDFViewer.cc:3080:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] XmCreateToggleButton(findDialog, "matchCase", args, n); ^ XPDFViewer.cc:3098:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Whole words only"); ^ XPDFViewer.cc:3100:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] findWholeWordToggle = XmCreateToggleButton(findDialog, "wholeWord", args, n); ^ XPDFViewer.cc:3114:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] form1 = XmCreateForm(findDialog, "form", args, n); ^ XPDFViewer.cc:3120:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Find text: "); ^ XPDFViewer.cc:3122:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = XmCreateLabel(form1, "label", args, n); ^ XPDFViewer.cc:3131:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] findText = XmCreateTextField(form1, "text", args, n); ^ XPDFViewer.cc:3195:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s1 = XmStringCreateLocalized("Save"); ^ XPDFViewer.cc:3197:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s2 = XmStringCreateLocalized("*.[Pp][Dd][Ff]"); ^ XPDFViewer.cc:3199:32: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s3 = XmStringCreateLocalized(xpdfAppName ": Save as"); ^ ./XPDFApp.h:31:21: note: expanded from macro 'xpdfAppName' #define xpdfAppName "Xpdf" ^ XPDFViewer.cc:3203:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] saveAsDialog = XmCreateFileSelectionDialog(win, "saveAsDialog", args, n); ^ XPDFViewer.cc:3266:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized(xpdfAppName ": Print"); ^ ./XPDFApp.h:31:21: note: expanded from macro 'xpdfAppName' #define xpdfAppName "Xpdf" ^ XPDFViewer.cc:3269:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printDialog = XmCreateFormDialog(win, "printDialog", args, n); ^ XPDFViewer.cc:3279:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Print with command:"); ^ XPDFViewer.cc:3281:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printWithCmdBtn = XmCreateToggleButton(printDialog, "printWithCmd", args, n); ^ XPDFViewer.cc:3295:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printCmdText = XmCreateTextField(printDialog, "printCmd", args, n); ^ XPDFViewer.cc:3306:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Print to file:"); ^ XPDFViewer.cc:3308:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printToFileBtn = XmCreateToggleButton(printDialog, "printToFile", args, n); ^ XPDFViewer.cc:3323:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printFileText = XmCreateTextField(printDialog, "printFile", args, n); ^ XPDFViewer.cc:3336:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sep1 = XmCreateSeparator(printDialog, "sep1", args, n); ^ XPDFViewer.cc:3348:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] row = XmCreateRowColumn(printDialog, "row", args, n); ^ XPDFViewer.cc:3351:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("Pages:"); ^ XPDFViewer.cc:3353:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label1 = XmCreateLabel(row, "label1", args, n); ^ XPDFViewer.cc:3358:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printFirstPage = XmCreateTextField(row, "printFirstPage", args, n); ^ XPDFViewer.cc:3361:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] s = XmStringCreateLocalized("to"); ^ XPDFViewer.cc:3363:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label2 = XmCreateLabel(row, "label2", args, n); ^ XPDFViewer.cc:3368:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] printLastPage = XmCreateTextField(row, "printLastPage", args, n); ^ XPDFViewer.cc:3381:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sep2 = XmCreateSeparator(printDialog, "sep2", args, n); ^ XPDFViewer.cc:3393:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] okBtn = XmCreatePushButton(printDialog, "Print", args, n); ^ XPDFViewer.cc:3405:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cancelBtn = XmCreatePushButton(printDialog, "Cancel", args, n); ^ XPDFViewer.cc:3462:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] XmTextFieldSetString(printFirstPage, "1"); ^ 200 warnings generated. c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c XpdfPluginAPI.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c XRef.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c Zoox.cc c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -c xpdf.cc In file included from xpdf.cc:17: In file included from ./XPDFApp.h:19: In file included from /usr/local/include/Xm/XmAll.h:27: /usr/local/include/Xm/Xm.h:1514:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int from_val, ^~~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ 11 warnings generated. c++ -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -DLOCALBASE="\"/usr/local\"" -O2 -pipe -DHAVE_CONFIG_H -I.. -I./.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/X11R6/include -L/usr/X11R6/lib -L/usr/local/lib -lm -lz -o xpdf AcroForm.o Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o CoreOutputDev.o Decrypt.o Dict.o Error.o FontEncodingTables.o Form.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o OptionalContent.o Outline.o OutputDev.o Page.o Parser.o PDFCore.o PDFDoc.o PDFDocEncoding.o PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.o SplashOutputDev.o Stream.o TextOutputDev.o TextString.o UnicodeMap.o UnicodeTypeTable.o XFAForm.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o XpdfPluginAPI.o XRef.o Zoox.o xpdf.o -L../goo -lGoo -L../splash -lsplash -lfreetype -lz -lXm -lXt -lXext -lXpm -lSM -lICE -L/usr/X11R6/lib -lX11 -L../fofi -lfofi -L../goo -lGoo -pthread -lm ld: warning: CMap.cc(CMap.o:(CMap::parse2(CMapCache*, int (*)(void*), void*))): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: FoFiType1.cc(FoFiType1.o:(FoFiType1::writeEncoded(char const**, void (*)(void*, char const*, int), void*)) in archive ../fofi/libfofi.a): warning: sprintf() is often misused, please use snprintf() ld: warning: SplashScreen.cc(SplashScreen.o:(SplashScreen::buildSCDMatrix(int)) in archive ../splash/libsplash.a): warning: rand() may return deterministic values, is that what you want? gmake[1]: Leaving directory '/exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/xpdf' >>> Running package in textproc/xpdf3 at 1735157953.42 ===> textproc/xpdf3 ===> Faking installation for xpdf3-3.04 /exopi-obj/pobj/xpdf3-3.04/bin/install -c -s -m 755 /exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/xpdf/xpdf /exopi-obj/pobj/xpdf3-3.04/fake-amd64/usr/local/bin/xpdf3 /exopi-obj/pobj/xpdf3-3.04/bin/install -c -m 644 /exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/doc/xpdf.1 /exopi-obj/pobj/xpdf3-3.04/fake-amd64/usr/local/man/man1/xpdf3.1 /exopi-obj/pobj/xpdf3-3.04/bin/install -c -m 644 /exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/doc/xpdfrc.5 /exopi-obj/pobj/xpdf3-3.04/fake-amd64/usr/local/man/man5/xpdfrc3.5 /exopi-obj/pobj/xpdf3-3.04/bin/install -d -m 755 /exopi-obj/pobj/xpdf3-3.04/fake-amd64/usr/local/share/examples/xpdf3 /exopi-obj/pobj/xpdf3-3.04/bin/install -c -m 644 /exopi-obj/pobj/xpdf3-3.04/xpdf-3.04/doc/sample-xpdfrc /exopi-obj/pobj/xpdf3-3.04/fake-amd64/usr/local/share/examples/xpdf3/xpdfrc3 # add "3" suffix to words "xpdf" and "xpdfrc" sed -Ei 's/\/&3/' /exopi-obj/pobj/xpdf3-3.04/fake-amd64/usr/local/man/man{1/xpdf3.1,5/xpdfrc3.5} ===> Building package for xpdf3-3.04 Create /exopi-cvs/ports/packages/amd64/all/xpdf3-3.04.tgz Creating package xpdf3-3.04 reading plist| checking dependencies| checking dependencies|print/ghostscript/gnu-fonts checking dependencies|x11/motif checksumming| checksumming| | 0% checksumming|** | 3% checksumming|**** | 7% checksumming|****** | 10% checksumming|******** | 14% checksumming|*********** | 17% checksumming|************* | 21% checksumming|*************** | 24% checksumming|***************** | 28% checksumming|******************* | 31% checksumming|********************* | 34% checksumming|*********************** | 38% checksumming|************************* | 41% checksumming|*************************** | 45% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 55% checksumming|************************************ | 59% checksumming|************************************** | 62% checksumming|**************************************** | 66% checksumming|****************************************** | 69% checksumming|******************************************** | 72% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 83% checksumming|***************************************************** | 86% checksumming|******************************************************* | 90% checksumming|********************************************************* | 93% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************************************************* | 96% archiving|************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/xpdf3-3.04.tgz >>> Running clean in textproc/xpdf3 at 1735157956.40 ===> textproc/xpdf3 ===> Cleaning for xpdf3-3.04 >>> Ended at 1735157956.62 max_stuck=3.14/depends=3.21/show-prepare-results=0.72/build=63.70/package=3.02/clean=0.26