=>> Building print/xmbibtex build started at Thu Jan 22 09:56:13 EST 2026 port directory: /usr/ports/print/xmbibtex package name: xmbibtex-1.7_4 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 388 Aug 27 2024 /usr/ports/print/xmbibtex/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: ff61660db66a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/print/xmbibtex/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/xmbibtex/work XDG_CACHE_HOME=/wrkdirs/usr/ports/print/xmbibtex/work/.cache HOME=/wrkdirs/usr/ports/print/xmbibtex/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/xmbibtex/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/xmbibtex/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" MOTIFLIB="-L/usr/local/lib -lXm" XDG_DATA_HOME=/wrkdirs/usr/ports/print/xmbibtex/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/xmbibtex/work XDG_CACHE_HOME=/wrkdirs/usr/ports/print/xmbibtex/work/.cache HOME=/wrkdirs/usr/ports/print/xmbibtex/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/xmbibtex/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/xmbibtex/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 " CXXSTD=c++14 BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xmbibtex" EXAMPLESDIR="share/examples/xmbibtex" DATADIR="share/xmbibtex" WWWDIR="www/xmbibtex" ETCDIR="etc/xmbibtex" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xmbibtex DOCSDIR=/usr/local/share/doc/xmbibtex EXAMPLESDIR=/usr/local/share/examples/xmbibtex WWWDIR=/usr/local/www/xmbibtex ETCDIR=/usr/local/etc/xmbibtex --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmbibtex port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmbibtex-1.7_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> xmbibtex-1.7_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xmbibtex-1.7_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmbibtex port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xmbibtex-1.7_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmbibtex port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xmbibtex-1.7_4 for building => SHA256 Checksum OK for xmbibtex-1.7.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmbibtex port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xmbibtex-1.7_4 for building ===> Extracting for xmbibtex-1.7_4 => SHA256 Checksum OK for xmbibtex-1.7.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xmbibtex-1.7_4 ===> Applying FreeBSD patches for xmbibtex-1.7_4 from /usr/ports/print/xmbibtex/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmbibtex-1.7_4 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xmbibtex-1.7_4 depends on executable: imake - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> xmbibtex-1.7_4 depends on executable: tradcpp - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found ===> Installing existing package /packages/All/libICE-1.1.2,1.pkg [pkg.DaveG.ca] Installing libICE-1.1.2,1... [pkg.DaveG.ca] Extracting libICE-1.1.2,1: .......... done ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.6,1.pkg [pkg.DaveG.ca] Installing libSM-1.2.6,1... [pkg.DaveG.ca] Extracting libSM-1.2.6,1: ........ done ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg.DaveG.ca] Installing libXext-1.3.6,1... [pkg.DaveG.ca] Extracting libXext-1.3.6,1: .......... done ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [pkg.DaveG.ca] Installing libXmu-1.1.4,1... [pkg.DaveG.ca] `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] Extracting libXmu-1.1.4,1: .......... done ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.17_1.pkg [pkg.DaveG.ca] Installing libXpm-3.5.17_1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting libXpm-3.5.17_1: .......... done ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of xmbibtex-1.7_4 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> xmbibtex-1.7_4 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xmbibtex-1.7_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmbibtex-1.7_4 depends on shared library: libXm.so.4 - not found ===> Installing existing package /packages/All/open-motif-2.3.8_8.pkg [pkg.DaveG.ca] Installing open-motif-2.3.8_8... [pkg.DaveG.ca] `-- Installing fontconfig-2.17.1,1... [pkg.DaveG.ca] | `-- Installing expat-2.7.3... [pkg.DaveG.ca] | `-- Extracting expat-2.7.3: .......... done [pkg.DaveG.ca] | `-- Installing freetype2-2.14.1... [pkg.DaveG.ca] | | `-- Installing brotli-1.2.0,1... [pkg.DaveG.ca] | | `-- Extracting brotli-1.2.0,1: .......... done [pkg.DaveG.ca] | | `-- Installing png-1.6.53... [pkg.DaveG.ca] | | `-- Extracting png-1.6.53: .......... done [pkg.DaveG.ca] | `-- Extracting freetype2-2.14.1: .......... done [pkg.DaveG.ca] `-- Extracting fontconfig-2.17.1,1: .......... done [pkg.DaveG.ca] `-- Installing jpeg-turbo-3.1.3... [pkg.DaveG.ca] `-- Extracting jpeg-turbo-3.1.3: .......... done [pkg.DaveG.ca] `-- Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Extracting libXaw-1.0.16,2: .......... done [pkg.DaveG.ca] `-- Installing libXft-2.3.8... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXft-2.3.8: .......... done [pkg.DaveG.ca] `-- Installing xbitmaps-1.1.3... [pkg.DaveG.ca] `-- Extracting xbitmaps-1.1.3: .......... done [pkg.DaveG.ca] Extracting open-motif-2.3.8_8: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.14.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===> xmbibtex-1.7_4 depends on shared library: libXm.so.4 - found (/usr/local/lib/libXm.so.4) ===> Returning to build of xmbibtex-1.7_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xmbibtex-1.7_4 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- biblio.cc mybiblio.cc refman.cc load_cb.cc save_cb.cc print_cb.cc c_refform.cc mystrstr.cc searchall_cb.cc ovid.cc spirs.cc inspec.cc pubmed.cc > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xmbibtex-1.7_4 --- biblio.o --- --- mybiblio.o --- --- refman.o --- --- load_cb.o --- --- save_cb.o --- --- print_cb.o --- --- c_refform.o --- --- mystrstr.o --- --- searchall_cb.o --- --- ovid.o --- --- spirs.o --- --- inspec.o --- --- pubmed.o --- --- biblio.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c biblio.cc -o biblio.o --- mybiblio.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c mybiblio.cc -o mybiblio.o --- refman.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c refman.cc -o refman.o --- load_cb.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c load_cb.cc -o load_cb.o --- save_cb.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c save_cb.cc -o save_cb.o --- print_cb.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c print_cb.cc -o print_cb.o --- c_refform.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c c_refform.cc -o c_refform.o --- mystrstr.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c mystrstr.cc -o mystrstr.o --- searchall_cb.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c searchall_cb.cc -o searchall_cb.o --- spirs.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c spirs.cc -o spirs.o --- ovid.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c ovid.cc -o ovid.o --- pubmed.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c pubmed.cc -o pubmed.o --- inspec.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -I/usr/local/include -DCSRG_BASED -c inspec.cc -o inspec.o --- c_refform.o --- In file included from c_refform.cc:3: In file included from /usr/local/include/Xm/Form.h:27: In file included from /usr/local/include/Xm/BulletinB.h:26: /usr/local/include/Xm/Xm.h:1514:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1514 | register int from_type, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1515 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1516 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1519 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1520 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1523 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1524 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1527 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1528 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1531 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1532 | register int to_type) ; | ^~~~~~~~ c_refform.cc:107:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 107 | XmNlabelString, XmStringCreateLocalized("Ref. ID:"), | ^ c_refform.cc:111:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 111 | sprintf(refid,"%d",b.d->id); | ~~ ^~~~~~~ | %lu c_refform.cc:121:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 121 | XmNlabelString, XmStringCreateLocalized("Key:"), | ^ c_refform.cc:132:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 132 | XmNlabelString, XmStringCreateLocalized("Crossref:"), | ^ c_refform.cc:142:35: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 142 | XmStringCreateLocalized(""), 0, rt, reftype_cb, | ^ c_refform.cc:143:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 143 | XmVaPUSHBUTTON, XmStringCreateLocalized("article"), NULL, NULL, NULL, | ^ c_refform.cc:144:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 144 | XmVaPUSHBUTTON, XmStringCreateLocalized("book"), NULL, NULL, NULL, | ^ c_refform.cc:145:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 145 | XmVaPUSHBUTTON, XmStringCreateLocalized("booklet"), NULL, NULL, NULL, | ^ c_refform.cc:146:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 146 | XmVaPUSHBUTTON, XmStringCreateLocalized("inbook"), NULL, NULL, NULL, | ^ c_refform.cc:147:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 147 | XmVaPUSHBUTTON, XmStringCreateLocalized("incollection"), NULL, NULL, NULL, | ^ c_refform.cc:148:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 148 | XmVaPUSHBUTTON, XmStringCreateLocalized("inproceedings"), NULL, NULL, NULL, | ^ c_refform.cc:149:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 149 | XmVaPUSHBUTTON, XmStringCreateLocalized("manual"), NULL, NULL, NULL, | ^ c_refform.cc:150:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 150 | XmVaPUSHBUTTON, XmStringCreateLocalized("mastersthesis"), NULL, NULL, NULL, | ^ c_refform.cc:151:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 151 | XmVaPUSHBUTTON, XmStringCreateLocalized("misc"), NULL, NULL, NULL, | ^ c_refform.cc:152:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 152 | XmVaPUSHBUTTON, XmStringCreateLocalized("phdthesis"), NULL, NULL, NULL, | ^ c_refform.cc:153:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 153 | XmVaPUSHBUTTON, XmStringCreateLocalized("proceedings"), NULL, NULL, NULL, | ^ c_refform.cc:154:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 154 | XmVaPUSHBUTTON, XmStringCreateLocalized("techreport"), NULL, NULL, NULL, | ^ c_refform.cc:155:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 155 | XmVaPUSHBUTTON, XmStringCreateLocalized("unpublished"), NULL, NULL, NULL, | ^ c_refform.cc:141:39: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 141 | o=XmVaCreateSimpleOptionMenu(rowcol,"option", | ^ c_refform.cc:159:35: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 159 | XmStringCreateLocalized(""), 0, | ^ c_refform.cc:162:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 162 | XmVaPUSHBUTTON, XmStringCreateLocalized("IN FILE"), NULL, NULL, NULL, | ^ c_refform.cc:163:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 163 | XmVaPUSHBUTTON, XmStringCreateLocalized("NOT IN FILE"), NULL, NULL, NULL, | ^ c_refform.cc:158:39: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 158 | o=XmVaCreateSimpleOptionMenu(rowcol,"option", | ^ c_refform.cc:168:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 168 | XmNlabelString, XmStringCreateLocalized("Ok"), | ^ c_refform.cc:172:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 172 | XmNlabelString, XmStringCreateLocalized("Cancel"), | ^ c_refform.cc:186:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 186 | XmNlabelString, XmStringCreateLocalized("Journal:"), | ^ c_refform.cc:207:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 207 | XmNlabelString, XmStringCreateLocalized("Howpublished:"), | ^ c_refform.cc:228:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 228 | XmNlabelString, XmStringCreateLocalized("Volume:"), | ^ c_refform.cc:249:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 249 | XmNlabelString, XmStringCreateLocalized("Number:"), | ^ c_refform.cc:270:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 270 | XmNlabelString, XmStringCreateLocalized("Edition:"), | ^ c_refform.cc:291:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 291 | XmNlabelString, XmStringCreateLocalized("Month:"), | ^ c_refform.cc:311:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 311 | XmNlabelString, XmStringCreateLocalized("Chapter:"), | ^ c_refform.cc:332:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 332 | XmNlabelString, XmStringCreateLocalized("Pages:"), | ^ c_refform.cc:353:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 353 | XmNlabelString, XmStringCreateLocalized("Year:"), | ^ c_refform.cc:370:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 370 | XmNlabelString, XmStringCreateLocalized("Title:"), | ^ c_refform.cc:393:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 393 | XmNlabelString, XmStringCreateLocalized("Booktitle:"), | ^ c_refform.cc:417:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 417 | XmNlabelString, XmStringCreateLocalized("Series:"), | ^ c_refform.cc:440:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 440 | XmNlabelString, XmStringCreateLocalized("Type:"), | ^ c_refform.cc:463:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 463 | XmNlabelString, XmStringCreateLocalized("Author:"), | ^ c_refform.cc:486:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 486 | XmNlabelString, XmStringCreateLocalized("Institution:"), | ^ c_refform.cc:510:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 510 | XmNlabelString, XmStringCreateLocalized("Organization:"), | ^ c_refform.cc:533:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 533 | XmNlabelString, XmStringCreateLocalized("School:"), | ^ c_refform.cc:556:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 556 | XmNlabelString, XmStringCreateLocalized("Editor:"), | ^ c_refform.cc:580:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 580 | XmNlabelString, XmStringCreateLocalized("Publisher:"), | ^ c_refform.cc:604:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 604 | XmNlabelString, XmStringCreateLocalized("Address:"), | ^ c_refform.cc:627:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 627 | XmNlabelString, XmStringCreateLocalized("Abstract:"), | ^ c_refform.cc:656:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 656 | XmNlabelString, XmStringCreateLocalized("Keyword:"), | ^ c_refform.cc:680:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 680 | XmNlabelString, XmStringCreateLocalized("Note:"), | ^ c_refform.cc:703:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 703 | XmNlabelString, XmStringCreateLocalized("Annote:"), | ^ c_refform.cc:727:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 727 | XmNlabelString, XmStringCreateLocalized("Comment:"), | ^ c_refform.cc:867:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 867 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:867:13: note: place parentheses around the assignment to silence this warning 867 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:867:13: note: use '==' to turn this assignment into an equality comparison 867 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:875:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 875 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:875:11: note: place parentheses around the assignment to silence this warning 875 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:875:11: note: use '==' to turn this assignment into an equality comparison 875 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:883:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 883 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:883:11: note: place parentheses around the assignment to silence this warning 883 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:883:11: note: use '==' to turn this assignment into an equality comparison 883 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:891:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 891 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:891:11: note: place parentheses around the assignment to silence this warning 891 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:891:11: note: use '==' to turn this assignment into an equality comparison 891 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:899:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 899 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:899:11: note: place parentheses around the assignment to silence this warning 899 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:899:11: note: use '==' to turn this assignment into an equality comparison 899 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:907:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 907 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:907:11: note: place parentheses around the assignment to silence this warning 907 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:907:11: note: use '==' to turn this assignment into an equality comparison 907 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 915 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:915:11: note: place parentheses around the assignment to silence this warning 915 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:915:11: note: use '==' to turn this assignment into an equality comparison 915 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:923:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 923 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:923:11: note: place parentheses around the assignment to silence this warning 923 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:923:11: note: use '==' to turn this assignment into an equality comparison 923 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:931:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 931 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:931:11: note: place parentheses around the assignment to silence this warning 931 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:931:11: note: use '==' to turn this assignment into an equality comparison 931 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 939 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:939:11: note: place parentheses around the assignment to silence this warning 939 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:939:11: note: use '==' to turn this assignment into an equality comparison 939 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:947:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 947 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:947:11: note: place parentheses around the assignment to silence this warning 947 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:947:11: note: use '==' to turn this assignment into an equality comparison 947 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:955:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 955 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:955:11: note: place parentheses around the assignment to silence this warning 955 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:955:11: note: use '==' to turn this assignment into an equality comparison 955 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:963:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 963 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:963:11: note: place parentheses around the assignment to silence this warning 963 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:963:11: note: use '==' to turn this assignment into an equality comparison 963 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:971:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 971 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:971:11: note: place parentheses around the assignment to silence this warning 971 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:971:11: note: use '==' to turn this assignment into an equality comparison 971 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:979:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 979 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:979:11: note: place parentheses around the assignment to silence this warning 979 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:979:11: note: use '==' to turn this assignment into an equality comparison 979 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:987:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 987 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:987:11: note: place parentheses around the assignment to silence this warning 987 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:987:11: note: use '==' to turn this assignment into an equality comparison 987 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:995:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 995 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:995:11: note: place parentheses around the assignment to silence this warning 995 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:995:11: note: use '==' to turn this assignment into an equality comparison 995 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1003:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1003 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1003:11: note: place parentheses around the assignment to silence this warning 1003 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1003:11: note: use '==' to turn this assignment into an equality comparison 1003 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1011:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1011 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1011:11: note: place parentheses around the assignment to silence this warning 1011 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1011:11: note: use '==' to turn this assignment into an equality comparison 1011 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1019:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1019 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1019:11: note: place parentheses around the assignment to silence this warning 1019 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1019:11: note: use '==' to turn this assignment into an equality comparison 1019 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1027:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1027 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1027:11: note: place parentheses around the assignment to silence this warning 1027 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1027:11: note: use '==' to turn this assignment into an equality comparison 1027 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1035:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1035 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1035:11: note: place parentheses around the assignment to silence this warning 1035 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1035:11: note: use '==' to turn this assignment into an equality comparison 1035 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1043:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1043 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1043:11: note: place parentheses around the assignment to silence this warning 1043 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1043:11: note: use '==' to turn this assignment into an equality comparison 1043 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1051:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1051 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1051:11: note: place parentheses around the assignment to silence this warning 1051 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1051:11: note: use '==' to turn this assignment into an equality comparison 1051 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1059:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1059 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1059:11: note: place parentheses around the assignment to silence this warning 1059 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1059:11: note: use '==' to turn this assignment into an equality comparison 1059 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1067:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1067 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1067:11: note: place parentheses around the assignment to silence this warning 1067 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1067:11: note: use '==' to turn this assignment into an equality comparison 1067 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1075:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1075 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1075:11: note: place parentheses around the assignment to silence this warning 1075 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1075:11: note: use '==' to turn this assignment into an equality comparison 1075 | if (text=XmTextGetString(w)) { | ^ | == c_refform.cc:1083:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1083 | if (text=XmTextGetString(w)) { | ~~~~^~~~~~~~~~~~~~~~~~~ c_refform.cc:1083:11: note: place parentheses around the assignment to silence this warning 1083 | if (text=XmTextGetString(w)) { | ^ | ( ) c_refform.cc:1083:11: note: use '==' to turn this assignment into an equality comparison 1083 | if (text=XmTextGetString(w)) { | ^ | == 89 warnings generated. --- searchall_cb.o --- In file included from searchall_cb.cc:5: In file included from /usr/local/include/Xm/List.h:26: /usr/local/include/Xm/Xm.h:1514:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1514 | register int from_type, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1515 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1516 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1519 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1520 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1523 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1524 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1527 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1528 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1531 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1532 | register int to_type) ; | ^~~~~~~~ searchall_cb.cc:110:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 109 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 110 | b.c[gefunden[n]]->id, | ^~~~~~~~~~~~~~~~~~~~ searchall_cb.cc:205:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 204 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 205 | b.c[gefunden[n]]->id, | ^~~~~~~~~~~~~~~~~~~~ searchall_cb.cc:294:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 293 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 294 | b.c[gefunden[n]]->id, | ^~~~~~~~~~~~~~~~~~~~ 14 warnings generated. --- refman.o --- In file included from refman.cc:6: In file included from /usr/local/include/Xm/MainW.h:26: /usr/local/include/Xm/Xm.h:1514:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1514 | register int from_type, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1515 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1516 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1519 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1520 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1523 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1524 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1527 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1528 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1531 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1532 | register int to_type) ; | ^~~~~~~~ In file included from refman.cc:20: ./nrutil.c:21:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 21 | if (!v) nrerror("allocation failure in vector()"); | ^ ./nrutil.c:31:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | if (!v) nrerror("allocation failure in ivector()"); | ^ ./nrutil.c:41:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | if (!v) nrerror("allocation failure in cvector()"); | ^ ./nrutil.c:51:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | if (!v) nrerror("allocation failure in lvector()"); | ^ ./nrutil.c:61:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | if (!v) nrerror("allocation failure in dvector()"); | ^ ./nrutil.c:73:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | if (!m) nrerror("allocation failure 1 in matrix()"); | ^ ./nrutil.c:79:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | if (!m[nrl]) nrerror("allocation failure 2 in matrix()"); | ^ ./nrutil.c:97:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | if (!m) nrerror("allocation failure 1 in matrix()"); | ^ ./nrutil.c:103:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 103 | if (!m[nrl]) nrerror("allocation failure 2 in matrix()"); | ^ ./nrutil.c:121:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 121 | if (!m) nrerror("allocation failure 1 in matrix()"); | ^ ./nrutil.c:128:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 128 | if (!m[nrl]) nrerror("allocation failure 2 in matrix()"); | ^ ./nrutil.c:147:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | if (!m) nrerror("allocation failure in submatrix()"); | ^ ./nrutil.c:169:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | if (!m) nrerror("allocation failure in convert_matrix()"); | ^ ./nrutil.c:188:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 188 | if (!t) nrerror("allocation failure 1 in f3tensor()"); | ^ ./nrutil.c:194:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 194 | if (!t[nrl]) nrerror("allocation failure 2 in f3tensor()"); | ^ ./nrutil.c:200:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | if (!t[nrl][ncl]) nrerror("allocation failure 3 in f3tensor()"); | ^ In file included from refman.cc:21: ./sort.c:50:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | if (jstack > NSTACK) nrerror("NSTACK too small in sort."); | ^ refman.cc:110:49: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 110 | XmNlabelString, XmStringCreateLocalized(" "), | ^ refman.cc:116:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | menubar = XmCreateMenuBar(main_w, "menubar", NULL, 0); | ^ refman.cc:118:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | PullDown=XmCreatePulldownMenu(menubar, "FilePullDown", NULL,0); | ^ refman.cc:121:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 121 | XmNlabelString, XmStringCreateLocalized("File"), | ^ refman.cc:153:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | PullDown=XmCreatePulldownMenu(menubar, "EditPullDown", NULL,0); | ^ refman.cc:156:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 156 | XmNlabelString, XmStringCreateLocalized("Edit"), | ^ refman.cc:182:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | PullDown=XmCreatePulldownMenu(menubar, "SearchPullDown", NULL,0); | ^ refman.cc:185:53: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 185 | XmNlabelString, XmStringCreateLocalized("Search"), | ^ refman.cc:289:54: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 289 | fsb_load=XmCreateFileSelectionDialog(toplevel, "filesb", NULL, 0); | ^ refman.cc:293:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 293 | str_list[0]=XmStringCreateLocalized("BibTeX"); | ^ refman.cc:294:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 294 | str_list[1]=XmStringCreateLocalized("Medline Ovid"); | ^ refman.cc:295:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 295 | str_list[2]=XmStringCreateLocalized("Medline Spirs"); | ^ refman.cc:296:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 296 | str_list[3]=XmStringCreateLocalized("Medline PubMed"); | ^ refman.cc:297:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 297 | str_list[4]=XmStringCreateLocalized("Inspec"); | ^ refman.cc:298:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 298 | ftype=XmCreateScrolledList(fsb_load, "filetype", NULL, 0); | ^ refman.cc:315:54: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 315 | fsb_save=XmCreateFileSelectionDialog(toplevel, "filesb", NULL, 0); | ^ refman.cc:326:55: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 326 | fsb_print=XmCreateFileSelectionDialog(toplevel, "filesb", NULL, 0); | ^ refman.cc:393:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 392 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 393 | b.c[key[key[0]]]->id, | ^~~~~~~~~~~~~~~~~~~~ refman.cc:425:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 424 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 425 | b.c[key[listid]]->id, | ^~~~~~~~~~~~~~~~~~~~ refman.cc:513:44: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 513 | sprintf(text,"number of references: %u", nref); | ~~ ^~~~ | %lu refman.cc:549:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 549 | XmStringCreateLocalized("Search in all fields for:")); i++; | ^ refman.cc:550:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 550 | mbox=XmCreateMessageDialog(liste, "mbox", args, i); | ^ refman.cc:552:54: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 552 | XtAddCallback(mbox, XmNokCallback, searchall_cb, (XtPointer)cis); | ^~~~~~~~~~~~~~ refman.cc:584:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 584 | else if (!mystrstr(b.c[key[n]]->doctype,b.d->doctype, cis)) hinzu=0; | ^ refman.cc:587:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 587 | else if (!mystrstr(b.c[key[n]]->keyword,b.d->keyword, cis)) hinzu=0; | ^ refman.cc:590:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 590 | else if (!mystrstr(b.c[key[n]]->abstract,b.d->abstract, cis)) hinzu=0; | ^ refman.cc:593:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 593 | else if (!mystrstr(b.c[key[n]]->address,b.d->address, cis)) hinzu=0; | ^ refman.cc:596:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 596 | else if (!mystrstr(b.c[key[n]]->annote,b.d->annote, cis)) hinzu=0; | ^ refman.cc:599:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 599 | else if (!mystrstr(b.c[key[n]]->author,b.d->author, cis)) hinzu=0; | ^ refman.cc:602:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 602 | else if (!mystrstr(b.c[key[n]]->booktitle,b.d->booktitle, cis)) hinzu=0; | ^ refman.cc:605:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 605 | else if (!mystrstr(b.c[key[n]]->chapter,b.d->chapter, cis)) hinzu=0; | ^ refman.cc:608:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 608 | else if (!mystrstr(b.c[key[n]]->comment,b.d->comment, cis)) hinzu=0; | ^ refman.cc:611:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 611 | else if (!mystrstr(b.c[key[n]]->crossref,b.d->crossref, cis)) hinzu=0; | ^ refman.cc:614:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 614 | else if (!mystrstr(b.c[key[n]]->edition,b.d->edition, cis)) hinzu=0; | ^ refman.cc:617:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 617 | else if (!mystrstr(b.c[key[n]]->editor,b.d->editor, cis)) hinzu=0; | ^ refman.cc:620:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 620 | else if (!mystrstr(b.c[key[n]]->howpublished,b.d->howpublished, cis)) hinzu=0; | ^ refman.cc:623:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 623 | else if (!mystrstr(b.c[key[n]]->institution,b.d->institution, cis)) hinzu=0; | ^ refman.cc:626:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 626 | else if (!mystrstr(b.c[key[n]]->journal,b.d->journal, cis)) hinzu=0; | ^ refman.cc:629:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 629 | else if (!mystrstr(b.c[key[n]]->key,b.d->key, cis)) hinzu=0; | ^ refman.cc:632:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 632 | else if (!mystrstr(b.c[key[n]]->month,b.d->month, cis)) hinzu=0; | ^ refman.cc:635:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 635 | else if (!mystrstr(b.c[key[n]]->note,b.d->note, cis)) hinzu=0; | ^ refman.cc:638:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 638 | else if (!mystrstr(b.c[key[n]]->number,b.d->number, cis)) hinzu=0; | ^ refman.cc:641:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 641 | else if (!mystrstr(b.c[key[n]]->organization,b.d->organization, cis)) hinzu=0; | ^ refman.cc:644:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 644 | else if (!mystrstr(b.c[key[n]]->pages,b.d->pages, cis)) hinzu=0; | ^ refman.cc:647:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 647 | else if (!mystrstr(b.c[key[n]]->publisher,b.d->publisher, cis)) hinzu=0; | ^ refman.cc:650:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 650 | else if (strcmp(b.c[key[n]]->reprint,b.d->reprint)) hinzu=0; | ^ refman.cc:653:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 653 | else if (!mystrstr(b.c[key[n]]->school,b.d->school, cis)) hinzu=0; | ^ refman.cc:656:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 656 | else if (!mystrstr(b.c[key[n]]->series,b.d->series, cis)) hinzu=0; | ^ refman.cc:659:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 659 | else if (!mystrstr(b.c[key[n]]->title,b.d->title, cis)) hinzu=0; | ^ refman.cc:662:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 662 | else if (!mystrstr(b.c[key[n]]->type,b.d->type, cis)) hinzu=0; | ^ refman.cc:665:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 665 | else if (!mystrstr(b.c[key[n]]->volume,b.d->volume, cis)) hinzu=0; | ^ refman.cc:668:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 668 | else if (!mystrstr(b.c[key[n]]->year,b.d->year, cis)) hinzu=0; | ^ refman.cc:681:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 680 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 681 | b.c[gefunden[n]]->id, | ^~~~~~~~~~~~~~~~~~~~ refman.cc:713:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 713 | else if (!mystrstr(b.c[n]->doctype,b.d->doctype, cis)) hinzu=0; | ^ refman.cc:716:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 716 | else if (!mystrstr(b.c[n]->keyword,b.d->keyword, cis)) hinzu=0; | ^ refman.cc:719:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 719 | else if (!mystrstr(b.c[n]->abstract,b.d->abstract, cis)) hinzu=0; | ^ refman.cc:722:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 722 | else if (!mystrstr(b.c[n]->address,b.d->address, cis)) hinzu=0; | ^ refman.cc:725:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 725 | else if (!mystrstr(b.c[n]->annote,b.d->annote, cis)) hinzu=0; | ^ refman.cc:728:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 728 | else if (!mystrstr(b.c[n]->author,b.d->author, cis)) hinzu=0; | ^ refman.cc:731:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 731 | else if (!mystrstr(b.c[n]->booktitle,b.d->booktitle, cis)) hinzu=0; | ^ refman.cc:734:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 734 | else if (!mystrstr(b.c[n]->chapter,b.d->chapter, cis)) hinzu=0; | ^ refman.cc:737:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 737 | else if (!mystrstr(b.c[n]->comment,b.d->comment, cis)) hinzu=0; | ^ refman.cc:740:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 740 | else if (!mystrstr(b.c[n]->crossref,b.d->crossref, cis)) hinzu=0; | ^ refman.cc:743:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 743 | else if (!mystrstr(b.c[n]->edition,b.d->edition, cis)) hinzu=0; | ^ refman.cc:746:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 746 | else if (!mystrstr(b.c[n]->editor,b.d->editor, cis)) hinzu=0; | ^ refman.cc:749:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 749 | else if (!mystrstr(b.c[n]->howpublished,b.d->howpublished, cis)) hinzu=0; | ^ refman.cc:752:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 752 | else if (!mystrstr(b.c[n]->institution,b.d->institution, cis)) hinzu=0; | ^ refman.cc:755:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 755 | else if (!mystrstr(b.c[n]->journal,b.d->journal, cis)) hinzu=0; | ^ refman.cc:758:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 758 | else if (!mystrstr(b.c[n]->key,b.d->key, cis)) hinzu=0; | ^ refman.cc:761:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 761 | else if (!mystrstr(b.c[n]->month,b.d->month, cis)) hinzu=0; | ^ refman.cc:764:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 764 | else if (!mystrstr(b.c[n]->note,b.d->note, cis)) hinzu=0; | ^ refman.cc:767:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 767 | else if (!mystrstr(b.c[n]->number,b.d->number, cis)) hinzu=0; | ^ refman.cc:770:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 770 | else if (!mystrstr(b.c[n]->organization,b.d->organization, cis)) hinzu=0; | ^ refman.cc:773:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 773 | else if (!mystrstr(b.c[n]->pages,b.d->pages, cis)) hinzu=0; | ^ refman.cc:776:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 776 | else if (!mystrstr(b.c[n]->publisher,b.d->publisher, cis)) hinzu=0; | ^ refman.cc:779:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 779 | else if (strcmp(b.c[n]->reprint,b.d->reprint)) hinzu=0; | ^ refman.cc:782:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 782 | else if (!mystrstr(b.c[n]->school,b.d->school, cis)) hinzu=0; | ^ refman.cc:785:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 785 | else if (!mystrstr(b.c[n]->series,b.d->series, cis)) hinzu=0; | ^ refman.cc:788:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 788 | else if (!mystrstr(b.c[n]->title,b.d->title, cis)) hinzu=0; | ^ refman.cc:791:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 791 | else if (!mystrstr(b.c[n]->type,b.d->type, cis)) hinzu=0; | ^ refman.cc:794:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 794 | else if (!mystrstr(b.c[n]->volume,b.d->volume, cis)) hinzu=0; | ^ refman.cc:797:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 797 | else if (!mystrstr(b.c[n]->year,b.d->year, cis)) hinzu=0; | ^ refman.cc:812:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 811 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 812 | b.c[gefunden[n]]->id, | ^~~~~~~~~~~~~~~~~~~~ refman.cc:839:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 839 | else if (mystrstr(b.c[key[n]]->doctype,b.d->doctype, cis)) hinzu=0; | ^ refman.cc:842:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 842 | else if (mystrstr(b.c[key[n]]->keyword,b.d->keyword, cis)) hinzu=0; | ^ refman.cc:845:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 845 | else if (mystrstr(b.c[key[n]]->abstract,b.d->abstract, cis)) hinzu=0; | ^ refman.cc:848:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 848 | else if (mystrstr(b.c[key[n]]->address,b.d->address, cis)) hinzu=0; | ^ refman.cc:851:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 851 | else if (mystrstr(b.c[key[n]]->annote,b.d->annote, cis)) hinzu=0; | ^ refman.cc:854:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 854 | else if (mystrstr(b.c[key[n]]->author,b.d->author, cis)) hinzu=0; | ^ refman.cc:857:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 857 | else if (mystrstr(b.c[key[n]]->booktitle,b.d->booktitle, cis)) hinzu=0; | ^ refman.cc:860:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 860 | else if (mystrstr(b.c[key[n]]->chapter,b.d->chapter, cis)) hinzu=0; | ^ refman.cc:863:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 863 | else if (mystrstr(b.c[key[n]]->comment,b.d->comment, cis)) hinzu=0; | ^ refman.cc:866:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 866 | else if (mystrstr(b.c[key[n]]->crossref,b.d->crossref, cis)) hinzu=0; | ^ refman.cc:869:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 869 | else if (mystrstr(b.c[key[n]]->edition,b.d->edition, cis)) hinzu=0; | ^ refman.cc:872:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 872 | else if (mystrstr(b.c[key[n]]->editor,b.d->editor, cis)) hinzu=0; | ^ refman.cc:875:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 875 | else if (mystrstr(b.c[key[n]]->howpublished,b.d->howpublished, cis)) hinzu=0; | ^ refman.cc:878:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 878 | else if (mystrstr(b.c[key[n]]->institution,b.d->institution, cis)) hinzu=0; | ^ refman.cc:881:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 881 | else if (mystrstr(b.c[key[n]]->journal,b.d->journal, cis)) hinzu=0; | ^ refman.cc:884:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 884 | else if (mystrstr(b.c[key[n]]->key,b.d->key, cis)) hinzu=0; | ^ refman.cc:887:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 887 | else if (mystrstr(b.c[key[n]]->month,b.d->month, cis)) hinzu=0; | ^ refman.cc:890:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 890 | else if (mystrstr(b.c[key[n]]->note,b.d->note, cis)) hinzu=0; | ^ refman.cc:893:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 893 | else if (mystrstr(b.c[key[n]]->number,b.d->number, cis)) hinzu=0; | ^ refman.cc:896:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 896 | else if (mystrstr(b.c[key[n]]->organization,b.d->organization, cis)) hinzu=0; | ^ refman.cc:899:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 899 | else if (mystrstr(b.c[key[n]]->pages,b.d->pages, cis)) hinzu=0; | ^ refman.cc:902:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 902 | else if (mystrstr(b.c[key[n]]->publisher,b.d->publisher, cis)) hinzu=0; | ^ refman.cc:905:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 905 | else if (!strcmp(b.c[key[n]]->reprint,b.d->reprint)) hinzu=0; | ^ refman.cc:908:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 908 | else if (mystrstr(b.c[key[n]]->school,b.d->school, cis)) hinzu=0; | ^ refman.cc:911:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 911 | else if (mystrstr(b.c[key[n]]->series,b.d->series, cis)) hinzu=0; | ^ refman.cc:914:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 914 | else if (mystrstr(b.c[key[n]]->title,b.d->title, cis)) hinzu=0; | ^ refman.cc:917:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 917 | else if (mystrstr(b.c[key[n]]->type,b.d->type, cis)) hinzu=0; | ^ refman.cc:920:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 920 | else if (mystrstr(b.c[key[n]]->volume,b.d->volume, cis)) hinzu=0; | ^ refman.cc:923:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 923 | else if (mystrstr(b.c[key[n]]->year,b.d->year, cis)) hinzu=0; | ^ refman.cc:936:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 935 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 936 | b.c[gefunden[n]]->id, | ^~~~~~~~~~~~~~~~~~~~ refman.cc:961:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 960 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 961 | b.c[n]->id, | ^~~~~~~~~~ refman.cc:987:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 987 | if (text = XmTextGetString(widget)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ refman.cc:987:12: note: place parentheses around the assignment to silence this warning 987 | if (text = XmTextGetString(widget)) { | ^ | ( ) refman.cc:987:12: note: use '==' to turn this assignment into an equality comparison 987 | if (text = XmTextGetString(widget)) { | ^ | == 143 warnings generated. --- spirs.o --- spirs.cc:32:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | put_doctype(last,"article"); | ^ spirs.cc:33:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | put_note(last,"[Abstract]"); | ^ spirs.cc:36:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | put_doctype(last,"article"); | ^ spirs.cc:37:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | put_note(last,"[in press]"); | ^ spirs.cc:111:46: warning: for loop has empty body [-Wempty-body] 111 | for(n=i;(isdigit(ts[n])==0 && n>0);n--); i=n; | ^ spirs.cc:111:46: note: put the semicolon on a separate line to silence this warning spirs.cc:126:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 126 | add_field("comment",last,ts); | ^ spirs.cc:131:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | add_field("annote",last,ts); | ^ 7 warnings generated. --- pubmed.o --- pubmed.cc:34:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | put_doctype(last,"article"); | ^ pubmed.cc:35:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | put_note(last,"[Abstract]"); | ^ pubmed.cc:38:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | put_doctype(last,"article"); | ^ pubmed.cc:39:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | put_note(last,"[in press]"); | ^ 4 warnings generated. --- inspec.o --- inspec.cc:88:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | put_doctype(last,"article"); | ^ inspec.cc:89:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | put_note(last,"[Abstract]"); | ^ inspec.cc:92:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | put_doctype(last,"article"); | ^ inspec.cc:93:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | put_note(last,"[in press]"); | ^ inspec.cc:131:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | add_field("annote",last,s_temp2); | ^ inspec.cc:271:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 271 | if((tk[i_l] == '(')) | ~~~~~~~~^~~~~~ inspec.cc:271:14: note: remove extraneous parentheses around the comparison to silence this warning 271 | if((tk[i_l] == '(')) | ~ ^ ~ inspec.cc:271:14: note: use '=' to turn this equality comparison into an assignment 271 | if((tk[i_l] == '(')) | ^~ | = inspec.cc:318:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 318 | add_field("comment",last,ts); | ^ 7 warnings generated. --- save_cb.o --- In file included from save_cb.cc:6: In file included from /usr/local/include/Xm/MessageB.h:26: /usr/local/include/Xm/Xm.h:1514:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1514 | register int from_type, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1515 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1516 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1519 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1520 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1523 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1524 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1527 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1528 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1531 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1532 | register int to_type) ; | ^~~~~~~~ save_cb.cc:42:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | XtSetArg(args[i], XmNmessageString, XmStringCreateLtoR("File already exists.\n Overwrite?",XmFONTLIST_DEFAULT_TAG)); i++; | ^ save_cb.cc:43:65: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 43 | XtSetArg(args[i], XmNokLabelString, XmStringCreateLocalized(" Yes ")); i++; | ^ save_cb.cc:44:69: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 44 | XtSetArg(args[i], XmNcancelLabelString, XmStringCreateLocalized(" No ")); i++; | ^ save_cb.cc:47:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | fexist=XmCreateQuestionDialog(XtParent(widget), "fexist", args, i); | ^ 15 warnings generated. --- print_cb.o --- In file included from print_cb.cc:9: In file included from ./globals.h:5: /usr/local/include/Xm/Xm.h:1514:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1514 | register int from_type, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1515 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1516 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1519 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1520 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1523 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1524 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1527 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1528 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1531 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1532 | register int to_type) ; | ^~~~~~~~ 11 warnings generated. --- ovid.o --- ovid.cc:33:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | put_doctype(last,"article"); | ^ ovid.cc:34:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | put_note(last,"[Abstract]"); | ^ ovid.cc:37:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | put_doctype(last,"article"); | ^ ovid.cc:38:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | put_note(last,"[in press]"); | ^ 4 warnings generated. --- load_cb.o --- In file included from load_cb.cc:8: In file included from ./globals.h:5: /usr/local/include/Xm/Xm.h:1514:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1514 | register int from_type, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1515:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1515 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1516:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1516 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1519:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1519 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1520:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1520 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1523:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1523 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1524:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1524 | register int from_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1527:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1527 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1528:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1528 | register int to_type) ; | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1531:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1531 | register int from_val, | ^~~~~~~~ /usr/local/include/Xm/Xm.h:1532:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1532 | register int to_type) ; | ^~~~~~~~ load_cb.cc:71:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | b.Read_MedlineOvid(filename, "article"); | ^ load_cb.cc:74:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | b.Read_MedlineSpirs(filename, "article"); | ^ load_cb.cc:77:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | b.Read_MedlinePubmed(filename, "article"); | ^ load_cb.cc:80:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | b.Read_Inspec(filename, "article"); | ^ load_cb.cc:94:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 93 | sprintf(ref,"%u %.15s %.30s %.15s %.4s", | ~~ | %lu 94 | b.c[n]->id, | ^~~~~~~~~~ 16 warnings generated. --- biblio.o --- biblio.cc:29:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 29 | case '': | ^ biblio.cc:34:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 34 | case '<9A>': | ^ biblio.cc:39:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 39 | case '<8E>': | ^ biblio.cc:44:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 44 | case '<84>': | ^ biblio.cc:49:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 49 | case '<94>': | ^ biblio.cc:54:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 54 | case '<81>': | ^ biblio.cc:59:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 59 | case '<82>': | ^ biblio.cc:64:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 64 | case '<8A>': | ^ biblio.cc:146:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 146 | else strcat(s,"Jr."); | ^ biblio.cc:211:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 211 | else strcat(s,"Jr."); | ^ biblio.cc:273:8: warning: 'ostrstream' is deprecated [-Wdeprecated-declarations] 273 | std::ostrstream year; | ^ /usr/include/c++/v1/strstream:267:7: note: 'ostrstream' has been explicitly marked deprecated here 267 | class _LIBCPP_DEPRECATED _LIBCPP_EXPORTED_FROM_ABI ostrstream : public ostream { | ^ /usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED' 713 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ biblio.cc:331:8: warning: 'ostrstream' is deprecated [-Wdeprecated-declarations] 331 | std::ostrstream number; | ^ /usr/include/c++/v1/strstream:267:7: note: 'ostrstream' has been explicitly marked deprecated here 267 | class _LIBCPP_DEPRECATED _LIBCPP_EXPORTED_FROM_ABI ostrstream : public ostream { | ^ /usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED' 713 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ biblio.cc:354:7: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 354 | if(t=="abstract") { | ^ ~~~~~~~~~~ biblio.cc:366:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 366 | else if(t=="address") { | ^ ~~~~~~~~~ biblio.cc:378:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 378 | else if(t=="annote") { | ^ ~~~~~~~~ biblio.cc:390:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 390 | else if(t=="author") { | ^ ~~~~~~~~ biblio.cc:402:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 402 | else if(t=="booktitle") { | ^ ~~~~~~~~~~~ biblio.cc:414:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 414 | else if(t=="chapter") { | ^ ~~~~~~~~~ biblio.cc:426:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 426 | else if(t=="comment") { | ^ ~~~~~~~~~ biblio.cc:438:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 438 | else if(t=="crossref") { | ^ ~~~~~~~~~~ biblio.cc:450:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 450 | else if(t=="edition") { | ^ ~~~~~~~~~ biblio.cc:462:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 462 | else if(t=="editor") { | ^ ~~~~~~~~ biblio.cc:474:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 474 | else if(t=="howpublished") { | ^ ~~~~~~~~~~~~~~ biblio.cc:486:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 486 | else if(t=="institution") { | ^ ~~~~~~~~~~~~~ biblio.cc:498:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 498 | else if(t=="journal") { | ^ ~~~~~~~~~ biblio.cc:510:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 510 | else if(t=="key") { | ^ ~~~~~ biblio.cc:522:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 522 | else if(t=="keyword") { | ^ ~~~~~~~~~ biblio.cc:534:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 534 | else if(t=="month") { | ^ ~~~~~~~ biblio.cc:546:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 546 | else if(t=="note") { | ^ ~~~~~~ biblio.cc:558:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 558 | else if(t=="number") { | ^ ~~~~~~~~ biblio.cc:570:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 570 | else if(t=="organization") { | ^ ~~~~~~~~~~~~~~ biblio.cc:582:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 582 | else if(t=="pages") { | ^ ~~~~~~~ biblio.cc:594:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 594 | else if(t=="publisher") { | ^ ~~~~~~~~~~~ biblio.cc:606:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 606 | else if(t=="reprint") { | ^ ~~~~~~~~~ biblio.cc:618:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 618 | else if(t=="school") { | ^ ~~~~~~~~ biblio.cc:630:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 630 | else if(t=="series") { | ^ ~~~~~~~~ biblio.cc:642:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 642 | else if (t=="title") { | ^ ~~~~~~~ biblio.cc:654:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 654 | else if (t=="type") { | ^ ~~~~~~ biblio.cc:666:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 666 | else if (t=="volume") { | ^ ~~~~~~~~ biblio.cc:678:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 678 | else if (t=="year") { | ^ ~~~~~~ biblio.cc:773:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 773 | add_field("abstract",last,sp); | ^ biblio.cc:798:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 798 | add_field("abstract",last,sp); | ^ biblio.cc:820:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 820 | add_field("address",last,sp); | ^ biblio.cc:845:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 845 | add_field("address",last,sp); | ^ biblio.cc:867:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 867 | add_field("annote",last,sp); | ^ biblio.cc:892:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 892 | add_field("annote",last,sp); | ^ biblio.cc:914:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 914 | add_field("author",last,sp); | ^ biblio.cc:939:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 939 | add_field("author",last,sp); | ^ biblio.cc:961:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 961 | add_field("booktitle",last,sp); | ^ biblio.cc:986:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 986 | add_field("booktitle",last,sp); | ^ biblio.cc:1008:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1008 | add_field("chapter",last,sp); | ^ biblio.cc:1033:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1033 | add_field("chapter",last,sp); | ^ biblio.cc:1055:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1055 | add_field("comment",last,sp); | ^ biblio.cc:1080:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1080 | add_field("comment",last,sp); | ^ biblio.cc:1102:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1102 | add_field("crossref",last,sp); | ^ biblio.cc:1127:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1127 | add_field("crossref",last,sp); | ^ biblio.cc:1149:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1149 | add_field("edition",last,sp); | ^ biblio.cc:1174:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1174 | add_field("edition",last,sp); | ^ biblio.cc:1196:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1196 | add_field("editor",last,sp); | ^ biblio.cc:1221:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1221 | add_field("editor",last,sp); | ^ biblio.cc:1243:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1243 | add_field("howpublished",last,sp); | ^ biblio.cc:1268:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1268 | add_field("howpublished",last,sp); | ^ biblio.cc:1290:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1290 | add_field("institution",last,sp); | ^ biblio.cc:1315:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1315 | add_field("institution",last,sp); | ^ biblio.cc:1337:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1337 | add_field("journal",last,sp); | ^ biblio.cc:1362:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1362 | add_field("journal",last,sp); | ^ biblio.cc:1384:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1384 | add_field("key",last,sp); | ^ biblio.cc:1409:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1409 | add_field("key",last,sp); | ^ biblio.cc:1431:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1431 | add_field("keyword",last,sp); | ^ biblio.cc:1456:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1456 | add_field("keyword",last,sp); | ^ biblio.cc:1478:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1478 | add_field("month",last,sp); | ^ biblio.cc:1503:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1503 | add_field("month",last,sp); | ^ biblio.cc:1525:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1525 | add_field("note",last,sp); | ^ biblio.cc:1550:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1550 | add_field("note",last,sp); | ^ biblio.cc:1572:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1572 | add_field("number",last,sp); | ^ biblio.cc:1597:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1597 | add_field("number",last,sp); | ^ biblio.cc:1619:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1619 | add_field("organization",last,sp); | ^ biblio.cc:1644:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1644 | add_field("organization",last,sp); | ^ biblio.cc:1666:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1666 | add_field("pages",last,sp); | ^ biblio.cc:1691:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1691 | add_field("pages",last,sp); | ^ biblio.cc:1713:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1713 | add_field("publisher",last,sp); | ^ biblio.cc:1738:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1738 | add_field("publisher",last,sp); | ^ biblio.cc:1760:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1760 | add_field("reprint",last,sp); | ^ biblio.cc:1785:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1785 | add_field("reprint",last,sp); | ^ biblio.cc:1807:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1807 | add_field("school",last,sp); | ^ biblio.cc:1832:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1832 | add_field("school",last,sp); | ^ biblio.cc:1854:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1854 | add_field("series",last,sp); | ^ biblio.cc:1879:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1879 | add_field("series",last,sp); | ^ biblio.cc:1901:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1901 | add_field("title",last,sp); | ^ biblio.cc:1926:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1926 | add_field("title",last,sp); | ^ biblio.cc:1948:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1948 | add_field("type",last,sp); | ^ biblio.cc:1973:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1973 | add_field("type",last,sp); | ^ biblio.cc:1995:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1995 | add_field("volume",last,sp); | ^ biblio.cc:2020:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2020 | add_field("volume",last,sp); | ^ biblio.cc:2042:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2042 | add_field("year",last,sp); | ^ biblio.cc:2067:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2067 | add_field("year",last,sp); | ^ 96 warnings generated. --- xmbibtex --- rm -f xmbibtex c++ -o xmbibtex -L/usr/local/lib biblio.o mybiblio.o refman.o load_cb.o save_cb.o print_cb.o c_refform.o mystrstr.o searchall_cb.o ovid.o spirs.o inspec.o pubmed.o -lXm -lXt -lSM -lICE -lX11 -lXpm -lXext -lXmu -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> xmbibtex-1.7_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xmbibtex-1.7_4 ===> Generating temporary packing list /usr/bin/install -c -s xmbibtex /wrkdirs/usr/ports/print/xmbibtex/work/stage/usr/local/bin/xmbibtex /usr/bin/install -c -m 0444 XmBibTeX.ad /wrkdirs/usr/ports/print/xmbibtex/work/stage/usr/local/lib/X11/app-defaults/XmBibTeX install in . done ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-22T14:56:13+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=ff61660db66a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for xmbibtex-1.7_4 ===> Building xmbibtex-1.7_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xmbibtex-1.7_4 build of print/xmbibtex | xmbibtex-1.7_4 ended at Thu Jan 22 09:56:24 EST 2026 build time: 00:00:13