=>> Building graphics/grads build started at Mon Nov 10 15:12:42 EST 2025 port directory: /usr/ports/graphics/grads package name: grads-1.9b4_18 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: glewis@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2091 Oct 16 2024 /usr/ports/graphics/grads/Makefile Ports top last git commit: ec159283c191 Ports top unclean checkout: no Port dir last git commit: 82ef2377db54 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500064 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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_15_c_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_15_c_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_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--- ===> The following configuration options are available for grads-1.9b4_18: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples HDF=off: Build hdf-support (only hdf OR netcdf is supported) NETCDF=on: Build netcdf-support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- glewis@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-dyn-supplibs --with-readline --with-printim --with-gui --with-x --with-nc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SUPPLIBS="/usr/local" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/grads/work/.cache HOME=/wrkdirs/usr/ports/graphics/grads/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/grads/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/grads/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/grads/work/.cache HOME=/wrkdirs/usr/ports/graphics/grads/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/grads/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/grads/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 " 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-- PORTDOCS="" PORTEXAMPLES="" NETCDF="" HDF="@comment " OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/grads" EXAMPLESDIR="share/examples/grads" DATADIR="share/grads" WWWDIR="www/grads" ETCDIR="etc/grads" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/grads DOCSDIR=/usr/local/share/doc/grads EXAMPLESDIR=/usr/local/share/examples/grads WWWDIR=/usr/local/www/grads ETCDIR=/usr/local/etc/grads --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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> grads-1.9b4_18 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> grads-1.9b4_18 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of grads-1.9b4_18 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by grads-1.9b4_18 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by grads-1.9b4_18 for building => SHA256 Checksum OK for grads-src-1.9b4.tar.gz. => SHA256 Checksum OK for example.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by grads-1.9b4_18 for building ===> Extracting for grads-1.9b4_18 => SHA256 Checksum OK for grads-src-1.9b4.tar.gz. => SHA256 Checksum OK for example.tar.gz. /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/examples" cd "/wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/examples" && /usr/bin/tar -xzf "/portdistfiles/example.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 grads-1.9b4_18 ===> Applying FreeBSD patches for grads-1.9b4_18 from /usr/ports/graphics/grads/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> grads-1.9b4_18 depends on file: /usr/local/lib/libudunits2.a - not found ===> Installing existing package /packages/All/udunits-2.2.28.pkg [pkg.DaveG.ca] Installing udunits-2.2.28... [pkg.DaveG.ca] `-- Installing expat-2.7.3... [pkg.DaveG.ca] `-- Extracting expat-2.7.3: .......... done [pkg.DaveG.ca] `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] Extracting udunits-2.2.28: .......... done ===> grads-1.9b4_18 depends on file: /usr/local/lib/libudunits2.a - found ===> Returning to build of grads-1.9b4_18 ===> grads-1.9b4_18 depends on file: /usr/local/lib/libsx.a - not found ===> Installing existing package /packages/All/libsx-1.1_4.pkg [pkg.DaveG.ca] Installing libsx-1.1_4... [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 [pkg.DaveG.ca] `-- Installing libXaw-1.0.16,2... [pkg.DaveG.ca] | `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] | `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] | `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] | | `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] | | `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] | `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] | `-- Installing libXpm-3.5.17_1... [pkg.DaveG.ca] | | `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | | `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] `-- Extracting libXaw-1.0.16,2: .......... done [pkg.DaveG.ca] `-- Installing libXaw3d-1.6.6... [pkg.DaveG.ca] `-- Extracting libXaw3d-1.6.6: .......... done [pkg.DaveG.ca] Extracting libsx-1.1_4: .......... done ===== Message from libXaw3d-1.6.6: -- If you want Xaw3d to replace the default Athena Widget Set so most X applications will get a 3-D look, do this (as root): cd /usr/local/lib mv libXaw.so.8 libXaw2d.so.8 ln -s libXaw3d.so.8 libXaw.so.8 ===> grads-1.9b4_18 depends on file: /usr/local/lib/libsx.a - found ===> Returning to build of grads-1.9b4_18 ===> grads-1.9b4_18 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. ===> grads-1.9b4_18 depends on file: /usr/local/bin/ccache - found ===> Returning to build of grads-1.9b4_18 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> grads-1.9b4_18 depends on shared library: libgd.so - not found ===> Installing existing package /packages/All/libgd-2.3.3_13,1.pkg [pkg.DaveG.ca] Installing libgd-2.3.3_13,1... [pkg.DaveG.ca] `-- Installing fontconfig-2.15.0_3,1... [pkg.DaveG.ca] | `-- Installing freetype2-2.14.1... [pkg.DaveG.ca] | | `-- Installing brotli-1.1.0,1... [pkg.DaveG.ca] | | `-- Extracting brotli-1.1.0,1: .......... done [pkg.DaveG.ca] | | `-- Installing png-1.6.50... [pkg.DaveG.ca] | | `-- Extracting png-1.6.50: .......... done [pkg.DaveG.ca] | `-- Extracting freetype2-2.14.1: .......... done [pkg.DaveG.ca] `-- Extracting fontconfig-2.15.0_3,1: .......... done [pkg.DaveG.ca] `-- Installing jpeg-turbo-3.1.2... [pkg.DaveG.ca] `-- Extracting jpeg-turbo-3.1.2: .......... done [pkg.DaveG.ca] `-- Installing tiff-4.7.1... [pkg.DaveG.ca] | `-- Installing jbigkit-2.1_3... [pkg.DaveG.ca] | `-- Extracting jbigkit-2.1_3: .......... done [pkg.DaveG.ca] | `-- Installing lerc-4.0.0... [pkg.DaveG.ca] | `-- Extracting lerc-4.0.0: ..... done [pkg.DaveG.ca] | `-- Installing libdeflate-1.24... [pkg.DaveG.ca] | `-- Extracting libdeflate-1.24: .......... done [pkg.DaveG.ca] | `-- Installing zstd-1.5.7... [pkg.DaveG.ca] | | `-- Installing liblz4-1.10.0_2,1... [pkg.DaveG.ca] | | `-- Extracting liblz4-1.10.0_2,1: .......... done [pkg.DaveG.ca] | `-- Extracting zstd-1.5.7: .......... done [pkg.DaveG.ca] `-- Extracting tiff-4.7.1: .......... done [pkg.DaveG.ca] `-- Installing webp-1.6.0... [pkg.DaveG.ca] | `-- Installing giflib-5.2.2... [pkg.DaveG.ca] | `-- Extracting giflib-5.2.2: .......... done [pkg.DaveG.ca] `-- Extracting webp-1.6.0: .......... done [pkg.DaveG.ca] Extracting libgd-2.3.3_13,1: .......... 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). ===> grads-1.9b4_18 depends on shared library: libgd.so - found (/usr/local/lib/libgd.so) ===> Returning to build of grads-1.9b4_18 ===> grads-1.9b4_18 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> grads-1.9b4_18 depends on shared library: libnetcdf.so - not found ===> Installing existing package /packages/All/netcdf-4.9.3.pkg [pkg.DaveG.ca] Installing netcdf-4.9.3... [pkg.DaveG.ca] `-- Installing curl-8.16.0... [pkg.DaveG.ca] | `-- Installing libidn2-2.3.8... [pkg.DaveG.ca] | | `-- Installing libunistring-1.4.1... [pkg.DaveG.ca] | | `-- Extracting libunistring-1.4.1: .......... done [pkg.DaveG.ca] | `-- Extracting libidn2-2.3.8: .......... done [pkg.DaveG.ca] | `-- Installing libnghttp2-1.68.0... [pkg.DaveG.ca] | `-- Extracting libnghttp2-1.68.0: ....... done [pkg.DaveG.ca] | `-- Installing libpsl-0.21.5_2... [pkg.DaveG.ca] | `-- Extracting libpsl-0.21.5_2: ........ done [pkg.DaveG.ca] | `-- Installing libssh2-1.11.1,3... [pkg.DaveG.ca] | `-- Extracting libssh2-1.11.1,3: .......... done [pkg.DaveG.ca] `-- Extracting curl-8.16.0: .......... done [pkg.DaveG.ca] `-- Installing hdf5-1.12.2_2,1... [pkg.DaveG.ca] | `-- Installing gcc13-13.3.0_3... [pkg.DaveG.ca] | | `-- Installing binutils-2.44,1... [pkg.DaveG.ca] | | `-- Extracting binutils-2.44,1: .......... done [pkg.DaveG.ca] | | `-- Installing gmp-6.3.0... [pkg.DaveG.ca] | | `-- Extracting gmp-6.3.0: .......... done [pkg.DaveG.ca] | | `-- Installing mpc-1.3.1_1... [pkg.DaveG.ca] | | `-- Installing mpfr-4.2.2,1... [pkg.DaveG.ca] | | `-- Extracting mpfr-4.2.2,1: .......... done [pkg.DaveG.ca] | | `-- Extracting mpc-1.3.1_1: ...... done [pkg.DaveG.ca] | `-- Extracting gcc13-13.3.0_3: .......... done create symlink for gcc13 create symlink for gcc13 (world) create symlink for g++13 create symlink for g++13 (world) create symlink for cpp13 create symlink for cpp13 (world) [pkg.DaveG.ca] | `-- Installing libaec-1.1.4... [pkg.DaveG.ca] | `-- Extracting libaec-1.1.4: .......... done [pkg.DaveG.ca] `-- Extracting hdf5-1.12.2_2,1: .......... done [pkg.DaveG.ca] `-- Installing pkgconf-2.4.3,1... [pkg.DaveG.ca] `-- Extracting pkgconf-2.4.3,1: .......... done [pkg.DaveG.ca] Extracting netcdf-4.9.3: .......... done ===== Message from gcc13-13.3.0_3: -- To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc13 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===> grads-1.9b4_18 depends on shared library: libnetcdf.so - found (/usr/local/lib/libnetcdf.so) ===> Returning to build of grads-1.9b4_18 ===> grads-1.9b4_18 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for grads-1.9b4_18 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no Checking for programs ------------------ checking for gawk... (cached) /usr/bin/awk checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes Setting host specific options ------------------------- checking build system type... amd64-portbld-freebsd15.0 checking host system type... amd64-portbld-freebsd15.0 checking for supplibs directory... /usr/local Checking system libraries, headers, and compiler features ----------------------------------------- checking for cos in -lm... yes checking how to run the C preprocessor... cpp checking for X... libraries /usr/local/lib, headers /usr/local/include checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for sys/file.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for strtod... (cached) yes checking for off_t... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes Checking for optional feature support ------------------------------------ checking whether to use dynamic linking... yes (Warning: binaries may not be suitable for distribution) Check GrADS command line editing support... checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no - Command line editing disabled Check GrADS GUI support... checking freq.h usability... yes checking freq.h presence... no configure: WARNING: freq.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: freq.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for freq.h... no - GUI disabled Check GrADS printim support... checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for library containing tgetstr... -ltermcap checking for compress in -lz... yes checking for main in -lpng... yes checking for gdImageCreate in -lgd... yes + printim enabled checking if wi command has been enabled... no - wi disabled + LATS enabled Checking which GrADS binaries can be built ------------------------------------ checking udunits.h usability... yes checking udunits.h presence... yes checking for udunits.h... yes checking netcdf.h usability... yes checking netcdf.h presence... yes checking for netcdf.h... yes checking for utInit in -ludunits2... yes checking for main in -lnetcdf... yes + gradsnc (plain netCDF) build enabled checking for udunits.h... (cached) yes checking for netcdf.h... (cached) yes checking for compress in -lz... (cached) yes checking for utInit in -ludunits2... (cached) yes checking for main in -ljpeg... yes checking for main in -ldf... no - gradshdf (HDF-SDS/netCDF) build disabled checking for udunits.h... (cached) yes checking for netcdf.h... (cached) yes checking for compress in -lz... (cached) yes checking for utInit in -ludunits2... (cached) yes checking for main in -lrx... no - gradsdods (OPeNDAP/netCDF) build disabled +=========================================================================+ GrADS 1.9b4 : Built Mon Nov 10 20:13:08 -00 2025 for amd64-portbld-freebsd15.0 +=========================================================================+ +----------------------------------+ | | | Configuration Summary | | | | - readline disabled | | + printim enabled | | - GUI disabled | | + LATS enabled | | - wi disabled (default) | | | | Build Summary | | | | + gradsc (classic) enabled | | + gradsnc (netCDF) enabled | | - gradshdf (HDF-SDS) disabled | | - gradsdods (OPeNDAP) disabled | | | | + Dynamic linking enabled | | | +----------------------------------+ configure: creating src/VERSION configure: creating src/buildinfo.h configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h Run 'make && make install' to build GrADS. Executables will be installed to bin/ in current dir, unless prefix was specified. /usr/bin/sed -i.bak -e "s:%%DATADIR%%:/usr/local/share/grads:" /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/src/gx.h /usr/bin/sed -i.bak -e "s:ludunits:ludunits2:" /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/src/Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for grads-1.9b4_18 --- all-recursive --- Making all in src --- all --- /usr/bin/make all-am --- gaddes-nc.o --- --- gacfg-nc.o --- --- gaio-nc.o --- --- gauser-nc.o --- --- gaddes.sa.o --- --- grads.o --- --- gxsubs.o --- --- gxmeta.o --- --- gxchpl.o --- --- gxcntr.o --- --- gxstrm.o --- --- gxwmap.o --- --- gxshad.o --- --- gaexpr.o --- --- gafunc.o --- --- gautil.o --- --- gagx.o --- --- gscrpt.o --- --- gamach.o --- --- bufrstn.o --- --- gabufr.o --- --- gabufrtbl.o --- --- gxX.o --- --- gxdxwd.o --- --- gd13gif.o --- --- latsnc.o --- --- galats.o --- --- lats.o --- --- latsint.o --- --- latsgrib.o --- --- latstime.o --- --- latsstat.o --- --- fgbds.o --- --- fgutil.o --- --- latsgribmap.o --- --- gagmap.o --- --- gaddes-c.o --- --- gacfg-c.o --- --- gaio-c.o --- --- gauser-c.o --- --- latsnc-nc.o --- --- gasdf-nc.o --- --- gribmap.o --- --- gautil.sa.o --- --- gxeps.o --- --- gxps.o --- --- stnmap.o --- --- wgrib.o --- --- gribscan.o --- --- bufrscan.o --- --- gxtran.o --- --- gxmeta.sa.o --- --- gaddes-nc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gaddes-nc.o -c ./gaddes.c --- gacfg-nc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gacfg-nc.o -c ./gacfg.c --- gaio-nc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gaio-nc.o -c ./gaio.c --- gauser-nc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gauser-nc.o -c ./gauser.c --- gaddes.sa.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DSTNDALN -o gaddes.sa.o -c ./gaddes.c --- grads.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'grads.c' || echo './'`grads.c --- gxsubs.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxsubs.c' || echo './'`gxsubs.c --- gxmeta.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxmeta.c' || echo './'`gxmeta.c --- gxchpl.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxchpl.c' || echo './'`gxchpl.c --- gxcntr.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxcntr.c' || echo './'`gxcntr.c --- gxstrm.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxstrm.c' || echo './'`gxstrm.c --- gxwmap.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxwmap.c' || echo './'`gxwmap.c --- gxshad.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxshad.c' || echo './'`gxshad.c --- gaexpr.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gaexpr.c' || echo './'`gaexpr.c --- gafunc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gafunc.c' || echo './'`gafunc.c --- gautil.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gautil.c' || echo './'`gautil.c --- gagx.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gagx.c' || echo './'`gagx.c --- gscrpt.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gscrpt.c' || echo './'`gscrpt.c --- gamach.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gamach.c' || echo './'`gamach.c --- bufrstn.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bufrstn.c' || echo './'`bufrstn.c --- gabufr.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gabufr.c' || echo './'`gabufr.c --- gabufrtbl.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gabufrtbl.c' || echo './'`gabufrtbl.c --- gxX.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxX.c' || echo './'`gxX.c --- gxdxwd.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxdxwd.c' || echo './'`gxdxwd.c --- gd13gif.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gd13gif.c' || echo './'`gd13gif.c --- latsnc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsnc.c' || echo './'`latsnc.c --- galats.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'galats.c' || echo './'`galats.c --- lats.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'lats.c' || echo './'`lats.c --- latsint.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsint.c' || echo './'`latsint.c --- latsgrib.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsgrib.c' || echo './'`latsgrib.c --- latstime.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latstime.c' || echo './'`latstime.c --- latsstat.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsstat.c' || echo './'`latsstat.c --- fgbds.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'fgbds.c' || echo './'`fgbds.c --- fgutil.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'fgutil.c' || echo './'`fgutil.c --- latsgribmap.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsgribmap.c' || echo './'`latsgribmap.c --- gagmap.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gagmap.c' || echo './'`gagmap.c --- gaddes-c.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gaddes-c.o -c ./gaddes.c --- gacfg-c.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gacfg-c.o -c ./gacfg.c --- gaio-c.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gaio-c.o -c ./gaio.c --- gauser-c.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gauser-c.o -c ./gauser.c --- latsnc-nc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o latsnc-nc.o -c ./latsnc.c --- gasdf-nc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gasdf-nc.o -c ./gasdf.c --- gribmap.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gribmap.c' || echo './'`gribmap.c --- gautil.sa.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DSTNDALN -o gautil.sa.o -c ./gautil.c --- gxeps.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxeps.c' || echo './'`gxeps.c --- gxps.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxps.c' || echo './'`gxps.c --- stnmap.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'stnmap.c' || echo './'`stnmap.c --- wgrib.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'wgrib.c' || echo './'`wgrib.c --- gribscan.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gribscan.c' || echo './'`gribscan.c --- bufrscan.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bufrscan.c' || echo './'`bufrscan.c --- gxtran.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxtran.c' || echo './'`gxtran.c --- gxmeta.sa.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DSTNDALN -o gxmeta.sa.o -c ./gxmeta.c --- latsstat.o --- latsstat.c:234:36: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 234 | sprintf(simtime, "%4d%2d%2d%2d", ctime.year, ctime.month, ctime.day, (ihour = ctime.hour)); | ~~~ ^~~~~~~~~~ | %4ld 1 warning generated. --- fgbds.o --- fgbds.c:67:5: warning: call to undeclared function 'latsError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | latsError("\nMalloc error for int mask to make BMS"); | ^ fgbds.c:73:5: warning: call to undeclared function 'latsError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | latsError("\nMalloc error for int out for BDS"); | ^ fgbds.c:205:5: warning: call to undeclared function 'latsError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | latsError("\nMalloc error or BDS char"); | ^ fgbds.c:225:3: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | strncpy(&bds->bds[6],ibmfloat,4); | ^ fgbds.c:225:3: note: include the header or explicitly provide a declaration for 'strncpy' fgbds.c:225:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | strncpy(&bds->bds[6],ibmfloat,4); | ^~~~~~~~~~~~ fgbds.c:225:24: warning: passing 'unsigned char[4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | strncpy(&bds->bds[6],ibmfloat,4); | ^~~~~~~~ fgbds.c:272:7: warning: call to undeclared function 'latsError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | latsError("\nMalloc error for char mask to make BMS"); | ^ 7 warnings generated. --- gacfg-c.o --- ./gacfg.c:55:17: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if(GRADS_CRAY) strcat(cmd," 64-bit,cray"); | ^ ./gacfg.c:55:17: note: include the header or explicitly provide a declaration for 'strcat' 1 warning generated. --- gribmap.o --- gribmap.c:35:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | main (int argc, char *argv[]) { | ^ | int 1 warning generated. --- gxchpl.o --- gxchpl.c:200:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 200 | } | ^ 1 warning generated. --- galats.o --- galats.c:338:10: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 338 | if(!plats->id_user_var<0) { | ^ ~ galats.c:338:10: note: add parentheses after the '!' to evaluate the comparison first 338 | if(!plats->id_user_var<0) { | ^ | ( ) galats.c:338:10: note: add parentheses around left hand side expression to silence this warning 338 | if(!plats->id_user_var<0) { | ^ | ( ) galats.c:275:43: warning: array index 3 is past the end of the array (that has type 'float[3]') [-Warray-bounds] 275 | if( (pcm->dmin[2] !=pcm->dmax[2]) && (pcm->dmin[3]!=pcm->dmax[3]) ) { | ^ ~ ./grads.h:173:3: note: array 'dmin' declared here 173 | float dmin[3],dmax[3]; /* Current absolute coordinate limits */ | ^ galats.c:275:57: warning: array index 3 is past the end of the array (that has type 'float[3]') [-Warray-bounds] 275 | if( (pcm->dmin[2] !=pcm->dmax[2]) && (pcm->dmin[3]!=pcm->dmax[3]) ) { | ^ ~ ./grads.h:173:3: note: array 'dmax' declared here 173 | float dmin[3],dmax[3]; /* Current absolute coordinate limits */ | ^ galats.c:338:29: warning: result of comparison of constant 0 with boolean expression is always false [-Wtautological-constant-compare] 338 | if(!plats->id_user_var<0) { | ~~~~~~~~~~~~~~~~~~~^~ galats.c:464:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 464 | } | ^ 5 warnings generated. --- gacfg-nc.o --- ./gacfg.c:55:17: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if(GRADS_CRAY) strcat(cmd," 64-bit,cray"); | ^ ./gacfg.c:55:17: note: include the header or explicitly provide a declaration for 'strcat' 1 warning generated. --- gd13gif.o --- gd13gif.c:755:1: warning: '/*' within block comment [-Wcomment] 755 | /*----------------------------------------------------------------------- | ^ gd13gif.c:758:1: warning: '/*' within block comment [-Wcomment] 758 | /****************************************************************************** | ^ 2 warnings generated. --- fgutil.o --- fgutil.c:45:2: warning: call to undeclared function 'latsError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | latsError("nbits < 0! nbits = %d\n", nbits); | ^ 1 warning generated. --- bufrscan.o --- bufrscan.c:18:1: warning: non-void function does not return a value [-Wreturn-type] 18 | } | ^ 1 warning generated. --- gxdxwd.o --- gxdxwd.c:25:7: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 25 | char *calloc(); | ^ gxdxwd.c:25:7: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' gxdxwd.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void set_display_screen(d,s) | ^ gxdxwd.c:70:19: warning: call to undeclared function 'Image_Size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | buffer_size = Image_Size(image); | ^ gxdxwd.c:61:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | void Pixmap_Dump(window, out,x, y, width, height) | ^ gxdxwd.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | Window_Dump(window, out) | ^ | int gxdxwd.c:102:64: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | { fprintf(stderr,"Can't get target window attributes."); exit(1); } | ^ gxdxwd.c:102:64: note: include the header or explicitly provide a declaration for 'exit' gxdxwd.c:169:19: warning: call to undeclared function 'Image_Size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | buffer_size = Image_Size(image); | ^ gxdxwd.c:171:16: warning: call to undeclared function 'outl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | if (debug) outl("xwd: Getting Colors.\n"); | ^ gxdxwd.c:173:15: warning: call to undeclared function 'Get_XColors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | ncolors = Get_XColors(&win_info, &colors); | ^ gxdxwd.c:187:73: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 187 | if (debug) fprintf(stderr,"header_size= %d win_name_size= %d \n",sizeof(header),win_name_size); | ~~ ^~~~~~~~~~~~~~ | %lu gxdxwd.c:221:2: warning: call to undeclared function '_swaplong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | _swaplong((char *) &header, sizeof(header)); | ^ gxdxwd.c:224:6: warning: call to undeclared function '_swapshort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | _swapshort((char *) &colors[i].red, 3 * sizeof(short)); | ^ gxdxwd.c:245:57: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 245 | if (debug) fprintf(stderr,"sizeof XColor=%d \n",My_XColor_size); | ~~ ^~~~~~~~~~~~~~ | %lu gxdxwd.c:39:24: note: expanded from macro 'My_XColor_size' 39 | #define My_XColor_size sizeof(XColor) | ^~~~~~~~~~~~~~ gxdxwd.c:276:21: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | if(ncolors > 0) free(colors); | ^ gxdxwd.c:276:21: note: include the header or explicitly provide a declaration for 'free' gxdxwd.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | Window_Dump(window, out) | ^ gxdxwd.c:288:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 288 | } | ^ gxdxwd.c:293:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 293 | Usage() /*ams changed from usage() to Usage() to avoid PC/X11e conflict ams*/ | ^ | int gxdxwd.c:305:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 305 | Error(string) | ^ | int gxdxwd.c:308:2: warning: call to undeclared function 'outl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | outl("\nxwd: Error => %s\n", string); | ^ gxdxwd.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | Error(string) | ^ gxdxwd.c:322:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | int Image_Size(image) | ^ gxdxwd.c:357:32: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | if (!(*colors = (XColor *) malloc (sizeof(XColor) * ncolors))) | ^ gxdxwd.c:357:32: note: include the header or explicitly provide a declaration for 'malloc' gxdxwd.c:336:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | int Get_XColors(win_info, colors) | ^ gxdxwd.c:393:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 393 | _swapshort (bp, n) | ^ | int gxdxwd.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gxdxwd.c:406:1: warning: non-void function does not return a value [-Wreturn-type] 406 | } | ^ gxdxwd.c:408:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 408 | _swaplong (bp, n) | ^ | int gxdxwd.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gxdxwd.c:427:1: warning: non-void function does not return a value [-Wreturn-type] 427 | } | ^ gxdxwd.c:436:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 436 | outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) | ^ | int gxdxwd.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gxdxwd.c:444:1: warning: non-void function does not return a value [-Wreturn-type] 444 | } | ^ 32 warnings generated. --- lats.o --- lats.c:228:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 223 | sprintf(file->latstimeunits,"%s since %d-%d-%d %d", | ~~ | %ld 224 | (file->frequency == LATS_YEARLY ? "years" : 225 | file->frequency == LATS_MONTHLY ? "months" : 226 | file->frequency == LATS_WEEKLY ? "days" : 227 | file->frequency == LATS_DAILY ? "days" : "hours"), 228 | time.year, time.month, time.day, hour); | ^~~~~~~~~ lats.c:238:2: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | strncpy(file->timeunits, file->latstimeunits, LATS_MAX_RELUNITS); file->timeunits[LATS_MAX_RELUNITS-1]='\0'; | ^ lats.c:238:2: note: include the header or explicitly provide a declaration for 'strncpy' lats.c:241:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 240 | sprintf(file->timeunits, "days since %d-%d-%d %d", | ~~ | %ld 241 | time.year, time.month, time.day, hour); | ^~~~~~~~~ lats.c:366:2: warning: call to undeclared function 'latsCpyTrim'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | latsCpyTrim(tmppath, path, LATS_MAX_PATH-4); | ^ lats.c:368:5: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | if(strcmp(extension, tmppath + MAX(0,strlen(tmppath)-strlen(extension))) != 0) | ^ lats.c:368:5: note: include the header or explicitly provide a declaration for 'strcmp' lats.c:368:39: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | if(strcmp(extension, tmppath + MAX(0,strlen(tmppath)-strlen(extension))) != 0) | ^ lats.c:368:39: note: include the header or explicitly provide a declaration for 'strlen' lats.c:369:3: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | strcat(tmppath,extension); | ^ lats.c:369:3: note: include the header or explicitly provide a declaration for 'strcat' lats.c:391:3: warning: call to undeclared function 'latsCpyLower'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 391 | latsCpyLower(tempname, center, LATS_MAX_COMMENTS); | ^ lats.c:471:2: warning: call to undeclared function 'latsCpyTrim'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | latsCpyTrim(grid->name, name, LATS_MAX_NAME); | ^ lats.c:478:2: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | memcpy(grid->lats, lats, nlat*sizeof(double)); | ^ lats.c:478:2: note: include the header or explicitly provide a declaration for 'memcpy' lats.c:539:17: warning: parameter 'qcopt' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 539 | void lats_qcopt(qcopt){ | ^ lats.c:539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | void lats_qcopt(qcopt){ | ^ lats.c:916:2: warning: call to undeclared function 'latsCpyTrim'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 916 | latsCpyTrim(vertdim->name, name, LATS_MAX_NAME); | ^ lats.c:958:9: warning: enumeration value 'LATS_MONTHLY_TABLE_COMP' not handled in switch [-Wswitch] 958 | switch(file->frequency){ | ^~~~~~~~~~~~~~~ lats.c:1071:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1071 | } else { | ^ 15 warnings generated. --- bufrstn.o --- bufrstn.c:212:34: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | for (k=0; k<8; k++) *(ch1+k) = tolower(*(rfhdr.stid+k)); | ^ bufrstn.c:212:34: note: include the header or explicitly provide a declaration for 'tolower' 1 warning generated. --- gabufr.o --- gabufr.c:137:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 137 | static delrep = 0; | ~~~~~~ ^ | int gabufr.c:722:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 721 | if (GABUFR_DEBUG) printf("lengths: %d / %d / %d / %d (total %d)\n", | ~~ | %ld 722 | msg->section1 - msg->section0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:723:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 721 | if (GABUFR_DEBUG) printf("lengths: %d / %d / %d / %d (total %d)\n", | ~~ | %ld 722 | msg->section1 - msg->section0, 723 | msg->section3 - msg->section1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:724:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 721 | if (GABUFR_DEBUG) printf("lengths: %d / %d / %d / %d (total %d)\n", | ~~ | %ld 722 | msg->section1 - msg->section0, 723 | msg->section3 - msg->section1, 724 | msg->section4 - msg->section3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:725:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 721 | if (GABUFR_DEBUG) printf("lengths: %d / %d / %d / %d (total %d)\n", | ~~ | %ld 722 | msg->section1 - msg->section0, 723 | msg->section3 - msg->section1, 724 | msg->section4 - msg->section3, 725 | msg->end - msg->section4, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:726:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 721 | if (GABUFR_DEBUG) printf("lengths: %d / %d / %d / %d (total %d)\n", | ~~ | %ld 722 | msg->section1 - msg->section0, 723 | msg->section3 - msg->section1, 724 | msg->section4 - msg->section3, 725 | msg->end - msg->section4, 726 | msg->end - msg->section0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. --- stnmap.o --- stnmap.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | main (int argc, char *argv[]) { | ^ | int stnmap.c:408:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 407 | printf (" Max reports per time: %li reports at t = %li\n", | ~~~ | %i 408 | mxcnt,mxtim); | ^~~~~ stnmap.c:408:12: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 407 | printf (" Max reports per time: %li reports at t = %li\n", | ~~~ | %i 408 | mxcnt,mxtim); | ^~~~~ stnmap.c:409:60: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 409 | printf (" Max data elements in largest report: %li\n",mxsiz); | ~~~ ^~~~~ | %i stnmap.c:439:2: warning: call to undeclared function 'gapby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | gapby(idum,map,offset,4); | ^ stnmap.c:440:2: warning: call to undeclared function 'gapbb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 440 | gapbb(1,map,offset*8,1); | ^ stnmap.c:442:2: warning: call to undeclared function 'gapby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 442 | gapby(idum,map,offset,4); | ^ 7 warnings generated. --- bufrscan --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o bufrscan bufrscan.o gabufr.o gabufrtbl.o gamach.o -L/usr/local/lib -ltermcap -lm --- gxcntr.o --- gxcntr.c:29:18: warning: implicit conversion from 'double' to 'int' changes value from 2.5 to 2 [-Wliteral-conversion] 29 | static int ldmin=2.5; /* Minimum distance between labels */ | ~~~~~ ^~~ 1 warning generated. --- latsnc-nc.o --- ./latsnc.c:262:3: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | sprintf(name, "longitude_%s", grid->name); | ^ ./latsnc.c:262:3: note: include the header or explicitly provide a declaration for 'sprintf' 1 warning generated. --- grads.o --- grads.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | main (int argc, char *argv[]) { | ^ | int grads.c:168:7: warning: call to undeclared function 'gxdgeo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | gxdgeo(argv[i]); | ^ grads.c:217:1: warning: call to undeclared function 'gacfg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | gacfg(0); | ^ grads.c:334:8: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | strcpy(cmd,"quit"); /* on EOF, just quit */ | ^ grads.c:334:8: note: include the header or explicitly provide a declaration for 'strcpy' grads.c:344:1: warning: call to undeclared function 'gxend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | gxend(); | ^ grads.c:110:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | void gasigcpu() ; | ^ grads.c:648:6: note: conflicting prototype is here 648 | void gasigcpu(int i) { /* For CPU time limit signal -hoop */ | ^ 6 warnings generated. --- gxsubs.o --- gxsubs.c:150:7: warning: call to undeclared function 'gxddbl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | gxddbl (); | ^ 1 warning generated. --- gaexpr.o --- gaexpr.c:67:12: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | cmdlen = strlen(expr); | ^ gaexpr.c:67:12: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. --- latstime.o --- latstime.c:582:11: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | *nDel = abs(range)/delMonths; | ^ latstime.c:582:11: note: include the header or explicitly provide a declaration for 'abs' latstime.c:582:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 582 | *nDel = abs(range)/delMonths; | ^ latstime.c:582:11: note: use function 'labs' instead 582 | *nDel = abs(range)/delMonths; | ^~~ | labs latstime.c:582:11: note: include the header or explicitly provide a declaration for 'labs' latstime.c:692:6: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 692 | if(!strncmp(charunits,"sec",3) || !strcmp(charunits,"s")){ | ^ latstime.c:692:6: note: include the header or explicitly provide a declaration for 'strncmp' latstime.c:692:37: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 692 | if(!strncmp(charunits,"sec",3) || !strcmp(charunits,"s")){ | ^ latstime.c:692:37: note: include the header or explicitly provide a declaration for 'strcmp' latstime.c:729:4: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 729 | strcpy(basetime,CD_DEFAULT_BASEYEAR); | ^ latstime.c:729:4: note: include the header or explicitly provide a declaration for 'strcpy' 5 warnings generated. --- latsgrib.o --- In file included from latsgrib.c:161: ./fgrib_init.h:369:9: warning: '/*' within block comment [-Wcomment] 369 | 0, /* unsigned int len; length of GDS (32) */ | ^ latsgrib.c:321:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 321 | if( !(file->calendar & cdHasLeap) == 0) mfcmn.cal365=0; | ^ ~~ latsgrib.c:321:9: note: add parentheses after the '!' to evaluate the comparison first 321 | if( !(file->calendar & cdHasLeap) == 0) mfcmn.cal365=0; | ^ | ( ) latsgrib.c:321:9: note: add parentheses around left hand side expression to silence this warning 321 | if( !(file->calendar & cdHasLeap) == 0) mfcmn.cal365=0; | ^ | ( ) latsgrib.c:602:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 598 | fprintf(cfi,"tdef %d linear %dZ%d%s%04d ",file->ndelta, | ~~~~ | %04ld 599 | (int)gbfile->time.hour, 600 | gbfile->time.day, 601 | mons[gbfile->time.month-1], 602 | gbfile->time.year ); | ^~~~~~~~~~~~~~~~~ latsgrib.c:699:5: warning: call to undeclared function 'latsgribmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 699 | latsgribmap(gbfile->ctlname,notaucheck); | ^ latsgrib.c:459:12: warning: array index 3 is past the end of the array (that has type 'char[3][50]') [-Warray-bounds] 459 | strcpy(grads_options[3]," "); | ^ ~ latsgrib.c:277:3: note: array 'grads_options' declared here 277 | char grads_options [3][50]; | ^ latsgrib.c:459:5: warning: 'strcpy' will always overflow; destination buffer has size 0, but the source string has length 2 (including NUL byte) [-Wfortify-source] 459 | strcpy(grads_options[3]," "); | ^ latsgrib.c:475:42: warning: array index 3 is past the end of the array (that has type 'char[3][50]') [-Warray-bounds] 475 | grads_options[1],grads_options[2],grads_options[3]); | ^ ~ latsgrib.c:277:3: note: array 'grads_options' declared here 277 | char grads_options [3][50]; | ^ latsgrib.c:963:54: warning: data argument not used by format string [-Wformat-extra-args] 962 | if(VERB) printf("vvv glen %d %d %d %d %d %d\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 963 | glen,is->len,pds->len,gds->len,bms->len,bds->len,es->len); | ^ latsgrib.c:1088:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1088 | printf("ttt %d %d %d %f\n",time.year,time.month,time.day,time.hour); | ~~ ^~~~~~~~~ | %ld latsgrib.c:1250:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1250 | if( (pds->tri == 10) ) { | ~~~~~~~~~^~~~~ latsgrib.c:1250:17: note: remove extraneous parentheses around the comparison to silence this warning 1250 | if( (pds->tri == 10) ) { | ~ ^ ~ latsgrib.c:1250:17: note: use '=' to turn this equality comparison into an assignment 1250 | if( (pds->tri == 10) ) { | ^~ | = latsgrib.c:1461:42: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] 1461 | set_int2(&gds->gds[23],(unsigned int)abs(gds->dx)); | ^ latsgrib.c:1461:42: note: remove the call to 'abs' since unsigned values cannot be negative 1461 | set_int2(&gds->gds[23],(unsigned int)abs(gds->dx)); | ^~~ latsgrib.c:1463:42: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] 1463 | set_int2(&gds->gds[25],(unsigned int)abs(gds->dy)); | ^ latsgrib.c:1463:42: note: remove the call to 'abs' since unsigned values cannot be negative 1463 | set_int2(&gds->gds[25],(unsigned int)abs(gds->dy)); | ^~~ 12 warnings generated. --- gxtran.o --- gxtran.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | main (int argc, char *argv[]) { | ^ | int gxtran.c:80:52: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 80 | else printf ("Unknown flag %c; ignored.\n",argv[i]+j); | ~~ ^~~~~~~~~ | %s gxtran.c:85:25: warning: call to undeclared function 'gxdgeo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | else if (gflag) { gxdgeo(argv[i]); wflag = 1; gflag = 0; } | ^ 3 warnings generated. --- latsint.o --- latsint.c:160:30: warning: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | for(s=src; *s && s or explicitly provide a declaration for 'isspace' latsint.c:189:9: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | *cp = tolower(*cp); | ^ latsint.c:189:9: note: include the header or explicitly provide a declaration for 'tolower' latsint.c:369:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 369 | if(vert = latsVertLookup(vertid)){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ latsint.c:369:10: note: place parentheses around the assignment to silence this warning 369 | if(vert = latsVertLookup(vertid)){ | ^ | ( ) latsint.c:369:10: note: use '==' to turn this assignment into an equality comparison 369 | if(vert = latsVertLookup(vertid)){ | ^ | == latsint.c:742:7: warning: call to undeclared function 'latsParmFillVarTable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | if(latsParmFillVarTable(parmEntry, nvar) == 0) goto error; | ^ latsint.c:746:7: warning: call to undeclared function 'latsParmFillVertTable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 746 | if(latsParmFillVertTable(parmEntry, nvert) == 0) goto error; | ^ latsint.c:750:7: warning: call to undeclared function 'latsParmFillCenterTable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 750 | if(latsParmFillCenterTable(parmEntry, ncenter) == 0) goto error; | ^ latsint.c:754:7: warning: call to undeclared function 'latsParmFillQCTable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 754 | if(latsParmFillQCTable(parmEntry, nqc) == 0) goto error; | ^ 7 warnings generated. --- gxwmap.o --- gxwmap.c:80:9: warning: call to undeclared function 'gagby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | i = gagby (hdr,0,1); | ^ 1 warning generated. --- gagmap.o --- gagmap.c:1222:10: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] 1221 | printf ("% 4i % 10i % 3i % 1i % 1i % 3i % 3i %-5i % 10i % 10i % 2i ", | ~~~~~ | % 10li 1222 | irec,fpos,ghdr->id,ghdr->gdsflg,ghdr->bmsflg,ghdr->parm,ghdr->ltyp, | ^~~~ gagmap.c:1289:1: warning: call to undeclared function 'gapby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1289 | gapby(0,map,bcnt,1); bcnt++ ; /* set the first byte to 0 */ | ^ gagmap.c:1383:5: warning: call to undeclared function 'gapby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1383 | gapby(dum,buf,offset,4); | ^ gagmap.c:1384:5: warning: call to undeclared function 'gapbb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1384 | gapbb(1,buf,offset*8,1); | ^ gagmap.c:1386:5: warning: call to undeclared function 'gapby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1386 | gapby(dum,buf,offset,4); | ^ 5 warnings generated. --- gxmeta.sa.o --- In file included from ./gxmeta.c:694: ./gxhpng.c:100:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 100 | if(bgfile=fopen(bgImage,"rb")) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:100:14: note: place parentheses around the assignment to silence this warning 100 | if(bgfile=fopen(bgImage,"rb")) { | ^ | ( ) ./gxhpng.c:100:14: note: use '==' to turn this assignment into an equality comparison 100 | if(bgfile=fopen(bgImage,"rb")) { | ^ | == ./gxhpng.c:149:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | gaprnt(0,"Logic Error 4 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:155:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | gaprnt(0,"Logic Error 8 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:161:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | gaprnt(0,"Logic Error 12 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:225:11: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | gaprnt(0,"Memory allocation error: gxhpng\n"); | ^ ./gxhpng.c:303:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | gaprnt(0,"Logic Error 20 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:327:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 327 | if(fgfile=fopen(fgImage,"rb")) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:327:14: note: place parentheses around the assignment to silence this warning 327 | if(fgfile=fopen(fgImage,"rb")) { | ^ | ( ) ./gxhpng.c:327:14: note: use '==' to turn this assignment into an equality comparison 327 | if(fgfile=fopen(fgImage,"rb")) { | ^ | == ./gxhpng.c:349:7: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | gaprnt(2,pout); | ^ ./gxhpng.c:353:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 353 | if(bgfile=fopen(bgImage,"rb")) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:353:14: note: place parentheses around the assignment to silence this warning 353 | if(bgfile=fopen(bgImage,"rb")) { | ^ | ( ) ./gxhpng.c:353:14: note: use '==' to turn this assignment into an equality comparison 353 | if(bgfile=fopen(bgImage,"rb")) { | ^ | == ./gxhpng.c:366:5: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | gaprnt(0,pout); | ^ 10 warnings generated. --- gribscan.o --- gribscan.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | main (int argc, char *argv[]) { | ^ | int gribscan.c:393:54: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] 393 | if(verb) printf("the header is %d bytes long\n",fpos); | ~~ ^~~~ | %ld gribscan.c:486:5: warning: call to undeclared function 'gapby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | gapby(gds->len,gds->gds,0,3); | ^ gribscan.c:523:7: warning: call to undeclared function 'gapbb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | gapbb(1,gds->gds,bstrt,1); | ^ gribscan.c:526:7: warning: call to undeclared function 'gapbb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 526 | gapbb(0,gds->gds,bstrt,1); | ^ gribscan.c:529:5: warning: call to undeclared function 'gapbb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 529 | gapbb(gds->lat1,gds->gds,bstrt,23); | ^ gribscan.c:910:25: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 910 | if(gvout) printf(" % 6s % 38s % 16s", | ~^~~ gribscan.c:910:30: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 910 | if(gvout) printf(" % 6s % 38s % 16s", | ~^~~~ gribscan.c:910:36: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 910 | if(gvout) printf(" % 6s % 38s % 16s", | ~^~~~ gribscan.c:1102:59: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] 1102 | printf(",BDS,%d,%10g,%d,%d,%d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); | ~~ ^~~~~~ | %ld gribscan.c:1104:70: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] 1104 | printf(" BDS % 3d %10g % 10d % 10d % 10d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); | ~~~~~ ^~~~~~ | % 10ld gribscan.c:1107:63: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] 1107 | printf(", B ,%2d,%g,%d,%d,%d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); | ~~ ^~~~~~ | %ld gribscan.c:1184:4: warning: call to undeclared function 'gapbb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1184 | gapbb(*(gri+i),gd.bds,bstrt,ghdr->bnum); | ^ gribscan.c:1190:9: warning: call to undeclared function 'gapby'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1190 | gapby(20,gd.pds,24,1); | ^ gribscan.c:1198:2: warning: call to undeclared function 'gapbb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1198 | gapbb(1,gd.pds,7*8,1); | ^ 15 warnings generated. --- gxeps.o --- gxeps.c:437:26: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 437 | pnts=(struct point *) malloc(pnmax*sizeof(struct point)); /* initial maximal polygon size */ | ^ gxeps.c:437:26: note: include the header or explicitly provide a declaration for 'malloc' gxeps.c:515:4: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 515 | free(pnts); | ^ gxeps.c:515:4: note: include the header or explicitly provide a declaration for 'free' gxeps.c:924:10: warning: call to undeclared function 'getenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 924 | if(getenv("USER")) | ^ gxeps.c:925:34: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 925 | fprintf(outfile,"%%%%For: %s\n",getenv("USER")); | ~~ ^~~~~~~~~~~~~~ | %d gxeps.c:947:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 947 | fprintf(outfile,"%%Host: %s\n",getenv("HOST")); | ~~ ^~~~~~~~~~~~~~ | %d gxeps.c:949:32: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 949 | fprintf(outfile,"%%PWD: %s\n",getenv("PWD")); | ~~ ^~~~~~~~~~~~~ | %d gxeps.c:1066:55: warning: data argument not used by format string [-Wformat-extra-args] 1066 | fprintf(outfile,"/s0 {[] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1067:55: warning: data argument not used by format string [-Wformat-extra-args] 1067 | fprintf(outfile,"/s1 {[] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1068:61: warning: data argument not used by format string [-Wformat-extra-args] 1068 | fprintf(outfile,"/s2 {[125 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1069:60: warning: data argument not used by format string [-Wformat-extra-args] 1069 | fprintf(outfile,"/s3 {[60 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1070:67: warning: data argument not used by format string [-Wformat-extra-args] 1070 | fprintf(outfile,"/s4 {[125 60 60 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1071:60: warning: data argument not used by format string [-Wformat-extra-args] 1071 | fprintf(outfile,"/s5 {[10 40] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1072:60: warning: data argument not used by format string [-Wformat-extra-args] 1072 | fprintf(outfile,"/s6 {[75 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1073:73: warning: data argument not used by format string [-Wformat-extra-args] 1073 | fprintf(outfile,"/s7 {[125 40 15 15 15 40] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1074:60: warning: data argument not used by format string [-Wformat-extra-args] 1074 | fprintf(outfile,"/s8 {[15 80] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1251:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1251 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li gxeps.c:1251:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1251 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li gxeps.c:1261:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1261 | fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li gxeps.c:1261:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1261 | fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li gxeps.c:1362:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1362 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li gxeps.c:1362:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1362 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li gxeps.c:1374:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1374 | fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li gxeps.c:1374:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1374 | fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li gxeps.c:1376:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1376 | fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li gxeps.c:1376:56: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1376 | fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li 25 warnings generated. --- gxeps --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o gxeps gxeps.o -L/usr/local/lib -ltermcap -lm --- gxps.o --- gxps.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | main (int argc, char *argv[]) { | ^ | int gxps.c:116:52: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 116 | else printf ("Unknown flag %c; ignored.\n",argv[i]+j); | ~~ ^~~~~~~~~ | %s 2 warnings generated. --- gxps --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o gxps gxps.o -L/usr/local/lib -ltermcap -lm --- gautil.sa.o --- ./gautil.c:434:23: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | if (*ch == ':' || tolower(*ch) == 'z') { | ^ ./gautil.c:434:23: note: include the header or explicitly provide a declaration for 'tolower' ./gautil.c:620:10: warning: expression result unused [-Wunused-value] 620 | else *cc++; | ^~~~~ ./gautil.c:1222:26: warning: floating-point comparison is always false; constant cannot be represented exactly in type 'float' [-Wliteral-range] 1222 | if (cnt==0 || pgr->rmin==9.99e35 || pgr->rmax==-9.99e35) { | ~~~~~~~~~^ ~~~~~~~ ./gautil.c:1533:24: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1533 | sprintf(ch,"%04li",dtim->yr); | ~~~~~ ^~~~~~~~ | %04i ./gautil.c:1539:39: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1539 | sprintf(ch,"%s%04li",monc[mnth],dtim->yr); | ~~~~~ ^~~~~~~~ | %04i ./gautil.c:1543:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1543 | sprintf(ch,"%i%i%s%04li",dy1,dy2,monc[mnth],dtim->yr); | ~~~~~ ^~~~~~~~ | %04i ./gautil.c:1547:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1546 | sprintf(ch,"%i%iZ%i%i%s%04li",hr1,hr2,dy1,dy2, | ~~~~~ | %04i 1547 | monc[mnth],dtim->yr); | ^~~~~~~~ ./gautil.c:1551:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1550 | sprintf(ch,"%i%i:%i%iZ%i%i%s%04li",hr1,hr2,mn1,mn2,dy1,dy2, | ~~~~~ | %04i 1551 | monc[mnth],dtim->yr); | ^~~~~~~~ ./gautil.c:2205:7: warning: call to undeclared library function 'islower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2205 | if (islower(*(pvar->abbrv))) return(0); | ^ ./gautil.c:2205:7: note: include the header or explicitly provide a declaration for 'islower' 9 warnings generated. --- gribscan --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o gribscan gribscan.o gamach.o gautil.sa.o -L/usr/local/lib -ltermcap -lm --- gautil.o --- gautil.c:434:23: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | if (*ch == ':' || tolower(*ch) == 'z') { | ^ gautil.c:434:23: note: include the header or explicitly provide a declaration for 'tolower' gautil.c:620:10: warning: expression result unused [-Wunused-value] 620 | else *cc++; | ^~~~~ gautil.c:1222:26: warning: floating-point comparison is always false; constant cannot be represented exactly in type 'float' [-Wliteral-range] 1222 | if (cnt==0 || pgr->rmin==9.99e35 || pgr->rmax==-9.99e35) { | ~~~~~~~~~^ ~~~~~~~ gautil.c:1533:24: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1533 | sprintf(ch,"%04li",dtim->yr); | ~~~~~ ^~~~~~~~ | %04i gautil.c:1539:39: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1539 | sprintf(ch,"%s%04li",monc[mnth],dtim->yr); | ~~~~~ ^~~~~~~~ | %04i gautil.c:1543:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1543 | sprintf(ch,"%i%i%s%04li",dy1,dy2,monc[mnth],dtim->yr); | ~~~~~ ^~~~~~~~ | %04i gautil.c:1547:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1546 | sprintf(ch,"%i%iZ%i%i%s%04li",hr1,hr2,dy1,dy2, | ~~~~~ | %04i 1547 | monc[mnth],dtim->yr); | ^~~~~~~~ gautil.c:1551:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1550 | sprintf(ch,"%i%i:%i%iZ%i%i%s%04li",hr1,hr2,mn1,mn2,dy1,dy2, | ~~~~~ | %04i 1551 | monc[mnth],dtim->yr); | ^~~~~~~~ gautil.c:2205:7: warning: call to undeclared library function 'islower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2205 | if (islower(*(pvar->abbrv))) return(0); | ^ gautil.c:2205:7: note: include the header or explicitly provide a declaration for 'islower' 9 warnings generated. --- gxmeta.o --- gxmeta.c:339:5: warning: call to undeclared function 'gxheps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | gxheps(cmd); | ^ In file included from gxmeta.c:694: ./gxhpng.c:100:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 100 | if(bgfile=fopen(bgImage,"rb")) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:100:14: note: place parentheses around the assignment to silence this warning 100 | if(bgfile=fopen(bgImage,"rb")) { | ^ | ( ) ./gxhpng.c:100:14: note: use '==' to turn this assignment into an equality comparison 100 | if(bgfile=fopen(bgImage,"rb")) { | ^ | == ./gxhpng.c:149:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | gaprnt(0,"Logic Error 4 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:155:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | gaprnt(0,"Logic Error 8 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:161:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | gaprnt(0,"Logic Error 12 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:225:11: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | gaprnt(0,"Memory allocation error: gxhpng\n"); | ^ ./gxhpng.c:303:9: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | gaprnt(0,"Logic Error 20 in gxhpng. Notify Developer\n"); | ^ ./gxhpng.c:327:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 327 | if(fgfile=fopen(fgImage,"rb")) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:327:14: note: place parentheses around the assignment to silence this warning 327 | if(fgfile=fopen(fgImage,"rb")) { | ^ | ( ) ./gxhpng.c:327:14: note: use '==' to turn this assignment into an equality comparison 327 | if(fgfile=fopen(fgImage,"rb")) { | ^ | == ./gxhpng.c:349:7: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | gaprnt(2,pout); | ^ ./gxhpng.c:353:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 353 | if(bgfile=fopen(bgImage,"rb")) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:353:14: note: place parentheses around the assignment to silence this warning 353 | if(bgfile=fopen(bgImage,"rb")) { | ^ | ( ) ./gxhpng.c:353:14: note: use '==' to turn this assignment into an equality comparison 353 | if(bgfile=fopen(bgImage,"rb")) { | ^ | == ./gxhpng.c:366:5: warning: call to undeclared function 'gaprnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | gaprnt(0,pout); | ^ In file included from gxmeta.c:699: ./gxeps.c:366:3: warning: call to undeclared function 'getwrd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | getwrd(ch,cmd,256); | ^ ./gxeps.c:385:6: warning: call to undeclared function 'gxeps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | rc=gxeps(argc, argv); | ^ ./gxeps.c:1066:55: warning: data argument not used by format string [-Wformat-extra-args] 1066 | fprintf(outfile,"/s0 {[] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1067:55: warning: data argument not used by format string [-Wformat-extra-args] 1067 | fprintf(outfile,"/s1 {[] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1068:61: warning: data argument not used by format string [-Wformat-extra-args] 1068 | fprintf(outfile,"/s2 {[125 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1069:60: warning: data argument not used by format string [-Wformat-extra-args] 1069 | fprintf(outfile,"/s3 {[60 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1070:67: warning: data argument not used by format string [-Wformat-extra-args] 1070 | fprintf(outfile,"/s4 {[125 60 60 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1071:60: warning: data argument not used by format string [-Wformat-extra-args] 1071 | fprintf(outfile,"/s5 {[10 40] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1072:60: warning: data argument not used by format string [-Wformat-extra-args] 1072 | fprintf(outfile,"/s6 {[75 60] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1073:73: warning: data argument not used by format string [-Wformat-extra-args] 1073 | fprintf(outfile,"/s7 {[125 40 15 15 15 40] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1074:60: warning: data argument not used by format string [-Wformat-extra-args] 1074 | fprintf(outfile,"/s8 {[15 80] 0 setdash} bdef\n",i,widths[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1251:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1251 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li ./gxeps.c:1251:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1251 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li ./gxeps.c:1261:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1261 | fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li ./gxeps.c:1261:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1261 | fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li ./gxeps.c:1362:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1362 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li ./gxeps.c:1362:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1362 | colum+=fprintf(outfile,"%i %i",dx,dy); | ~~ ^~ | %li ./gxeps.c:1374:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1374 | fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li ./gxeps.c:1374:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1374 | fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li ./gxeps.c:1376:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1376 | fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li ./gxeps.c:1376:56: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1376 | fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); | ~~ ^~ | %li 32 warnings generated. --- gaio-c.o --- ./gaio.c:519:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 519 | sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,pos,pfi->fhdr); | ~~~ ^~ | %d ./gaio.c:656:71: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 656 | sprintf (pout,"%d rc=%d pos=%ld pfi->fhdr =%d\n",__LINE__,rc,fpos,pfi->fhdr); | ~~ ^~~~~~~~~ | %ld ./gaio.c:980:4: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 980 | memcpy(rec,hdr,sizhdrf); | ^ ./gaio.c:980:4: note: include the header or explicitly provide a declaration for 'memcpy' ./gaio.c:1281:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1281 | sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,fpos,pfi->fhdr); | ~~~ ^~ | %d 4 warnings generated. --- wgrib.o --- wgrib.c:5309:55: warning: for loop has empty body [-Wempty-body] 5309 | for (c0 = 0; line[c0] != ':' && line[c0] != 0; c0++) ; | ^ wgrib.c:5309:55: note: put the semicolon on a separate line to silence this warning 1 warning generated. --- wgrib --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o wgrib wgrib.o -L/usr/local/lib -ltermcap -lm --- gaddes.sa.o --- ./gaddes.c:312:15: warning: call to undeclared function 'wrdlen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | len = wrdlen(ch); | ^ 1 warning generated. --- gribmap --- --- stnmap --- --- gribmap --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o gribmap gribmap.o gagmap.o gamach.o gaddes.sa.o gautil.sa.o -L/usr/local/lib -ltermcap -lm --- stnmap --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o stnmap stnmap.o gamach.o gaddes.sa.o gautil.sa.o -L/usr/local/lib -ltermcap -lm --- gaddes-nc.o --- ./gaddes.c:312:15: warning: call to undeclared function 'wrdlen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | len = wrdlen(ch); | ^ 1 warning generated. --- gaio-nc.o --- ./gaio.c:519:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 519 | sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,pos,pfi->fhdr); | ~~~ ^~ | %d ./gaio.c:656:71: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 656 | sprintf (pout,"%d rc=%d pos=%ld pfi->fhdr =%d\n",__LINE__,rc,fpos,pfi->fhdr); | ~~ ^~~~~~~~~ | %ld ./gaio.c:980:4: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 980 | memcpy(rec,hdr,sizhdrf); | ^ ./gaio.c:980:4: note: include the header or explicitly provide a declaration for 'memcpy' ./gaio.c:1281:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1281 | sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,fpos,pfi->fhdr); | ~~~ ^~ | %d ./gaio.c:2988:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 2988 | sprintf(pout,"%d ", iattr_val[i]); | ~~ ^~~~~~~~~~~~ | %ld 5 warnings generated. --- gscrpt.o --- gscrpt.c:841:11: warning: call to undeclared function 'gsstmt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 841 | *rc = gsstmt (recd, pcmn); | ^ gscrpt.c:1923:42: warning: call to undeclared function 'gsfallw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1923 | else if (cmpwrd(name,"gsfallow")) rc = gsfallw(pcmn); | ^ gscrpt.c:1924:41: warning: call to undeclared function 'gsfpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1924 | else if (cmpwrd(name,"gsfpath")) rc = gsfpath(pcmn); | ^ gscrpt.c:1925:42: warning: call to undeclared function 'gsfmath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1925 | else if (cmpwrd(name,"math_log")) rc = gsfmath(pcmn,1); | ^ 4 warnings generated. --- gaddes-c.o --- ./gaddes.c:312:15: warning: call to undeclared function 'wrdlen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | len = wrdlen(ch); | ^ 1 warning generated. --- gxX.o --- gxX.c:273:53: warning: passing 'unsigned char[246]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | icon_pixmap = XCreateBitmapFromData(display, win, icon_bitmap_bits, | ^~~~~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ gxX.c:405:67: warning: trigraph ignored [-Wtrigraphs] 405 | flist = XListFonts (display, "-adobe-helvetica-bold-r-normal--??-100*", 1, &i); | ^ gxX.c:421:67: warning: trigraph ignored [-Wtrigraphs] 421 | flist = XListFonts (display, "-adobe-helvetica-bold-o-normal--??-100*", 1, &i); | ^ gxX.c:645:1: warning: non-void function does not return a value [-Wreturn-type] 645 | } | ^ gxX.c:874:9: warning: call to undeclared function 'set_display_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 874 | set_display_screen(display, snum) ; /* hoop */ | ^ gxX.c:881:2: warning: call to undeclared function 'Window_Dump'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 881 | Window_Dump(win, xwdfile) ; /* hoop */ | ^ gxX.c:882:2: warning: call to undeclared function 'Pixmap_Dump'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | Pixmap_Dump(pmap, xwdfile, 0, 0, width, height) ; /* hoop */ | ^ gxX.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | dump_back_buffer(filename) /* hoop */ | ^ gxX.c:893:5: warning: call to undeclared function 'set_display_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 893 | set_display_screen(display, snum) ; /* hoop */ | ^ gxX.c:900:5: warning: call to undeclared function 'Window_Dump'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 900 | Window_Dump(win, xwdfile) ; /* hoop */ | ^ gxX.c:901:5: warning: call to undeclared function 'Pixmap_Dump'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 901 | Pixmap_Dump(win, xwdfile, 0, 0, width, height) ; /* hoop */ | ^ gxX.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | dump_front_buffer(filename) /* hoop */ | ^ gxX.c:2301:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 2301 | return '\0'; | ^~~~ gxX.c:2306:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 2306 | return '\0'; | ^~~~ gxX.c:2311:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 2311 | return '\0'; | ^~~~ gxX.c:3272:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3272 | stipple_pixmap = XCreateBitmapFromData(display, win, bitmap_bits, | ^~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ 16 warnings generated. --- gxtran --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o gxtran gxtran.o gxsubs.o gxchpl.o gxX.o gxdxwd.o gd13gif.o gxmeta.sa.o -L/usr/local/lib -L/usr/local/lib -lgd -lpng -lz -lX11 -ltermcap -lm --- gafunc.o --- gafunc.c:229:17: warning: call to undeclared function 'ffuser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | if (ufb) rc = ffuser(ufb,pfc,pst2); | ^ gafunc.c:1333:24: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1333 | if( pfc->argnum==2 && !strncmp(pfc->argpnt[1],"global",1) ) gflag=1; | ^ gafunc.c:1333:24: note: include the header or explicitly provide a declaration for 'strncmp' 2 warnings generated. --- gasdf-nc.o --- ./gasdf.c:277:10: warning: call to undeclared function 'read_one_dimension'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | if (!read_one_dimension(pfi->sdf_ptr, Xcoord, Xcoord->vardimid[0])) { | ^ ./gasdf.c:299:11: warning: call to undeclared function 'read_one_dimension'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | if ((!read_one_dimension(pfi->sdf_ptr, Ycoord, Ycoord->vardimid[0])) || | ^ ./gasdf.c:410:12: warning: call to undeclared function 'read_one_dimension'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 410 | if (!read_one_dimension(pfi->sdf_ptr, Zcoord, Zcoord->vardimid[0])) { | ^ ./gasdf.c:535:7: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 535 | if (!read_variable_data(pfi->sdf_ptr->cdfid, Tcoord, start, count)) { | ^ ./gasdf.c:551:7: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 551 | if (!read_variable_data(pfi->sdf_ptr->cdfid, Tcoord, start, count)) { | ^ ./gasdf.c:625:9: warning: call to undeclared function 'decode_delta_t'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | if (!decode_delta_t(ch, &dt2.yr, &dt2.mo, &dt2.dy, &dt2.hr, &dt2.mn, &isec)) { | ^ ./gasdf.c:671:9: warning: call to undeclared function 'get_ud_time_unit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | if (!get_ud_time_unit(Tcoord, &timeunit)) { | ^ ./gasdf.c:1834:19: warning: address of array 'oldlclvar->gradsabbr' will always evaluate to 'true' [-Wpointer-bool-conversion] 1834 | if (oldlclvar->gradsabbr) { | ~~ ~~~~~~~~~~~^~~~~~~~~ ./gasdf.c:2039:53: warning: call to undeclared library function 'isalnum' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2039 | if ( (cmpwrd("*", rec) || cmpwrd("#", rec)) || !isalnum(rec[0]) ) { | ^ ./gasdf.c:2039:53: note: include the header or explicitly provide a declaration for 'isalnum' ./gasdf.c:2480:59: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 2480 | sprintf (pout," Count in station map file = %li\n",mcnt); | ~~~ ^~~~ | %i ./gasdf.c:3359:2: warning: call to undeclared function 'set_default_scale_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3359 | set_default_scale_offset(unpktype, &sf, &junk) ; | ^ ./gasdf.c:3364:2: warning: call to undeclared function 'set_default_scale_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3364 | set_default_scale_offset(unpktype, &junk, &ao) ; | ^ ./gasdf.c:3594:12: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3594 | if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, | ^ ./gasdf.c:3619:7: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3619 | if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, | ^ ./gasdf.c:3659:7: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3659 | if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, data_var, | ^ ./gasdf.c:3980:10: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3980 | if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, | ^ ./gasdf.c:4006:12: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4006 | if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, | ^ ./gasdf.c:4047:7: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4047 | if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, | ^ ./gasdf.c:4304:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4304 | VAR_INFO *find_var (); | ^ ./gasdf.c:98:13: note: conflicting prototype is here 98 | VAR_INFO *find_var(IO_STD *std_ptr, char *name) ; | ^ ./gasdf.c:4309:27: warning: passing arguments to 'find_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4309 | if ((var = find_var (std_ptr, std_ptr->dimnam[dim])) == NULL) | ^ ./gasdf.c:4311:11: warning: call to undeclared function 'read_one_dimension'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4311 | if (read_one_dimension (std_ptr, var, dim) != Success) | ^ ./gasdf.c:4321:6: warning: call to undeclared function 'get_ud_time_unit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4321 | get_ud_time_unit (var, &unit); | ^ ./gasdf.c:4329:25: warning: passing arguments to 'set_data_to_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4329 | set_data_to_type (var->vartype, i, var->data, &dim_val); | ^ ./gasdf.c:4332:17: warning: passing arguments to 'decode_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4332 | decode_time (dim_val.dval, std_ptr->time_type, var, tstring, &unit); | ^ ./gasdf.c:4337:22: warning: passing arguments to 'adjust_data_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4337 | adjust_data_type (var->vartype, NC_FLOAT, &dim_val); | ^ ./gasdf.c:4345:21: warning: passing arguments to 'set_data_to_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4345 | set_data_to_type (var->vartype, 0, var->data, &dim_val); | ^ ./gasdf.c:4348:20: warning: passing arguments to 'decode_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4348 | decode_time (dim_val.dval, std_ptr->time_type, var, tstring, &unit); | ^ ./gasdf.c:4353:25: warning: passing arguments to 'adjust_data_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4353 | adjust_data_type (var->vartype, NC_FLOAT, &dim_val); | ^ ./gasdf.c:4358:21: warning: passing arguments to 'set_data_to_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4358 | set_data_to_type (var->vartype, std_ptr->dimsiz[dim] - 1, | ^ ./gasdf.c:4362:20: warning: passing arguments to 'decode_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4362 | decode_time (dim_val.dval, std_ptr->time_type, var, tstring, &unit); | ^ ./gasdf.c:4367:25: warning: passing arguments to 'adjust_data_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4367 | adjust_data_type (var->vartype, NC_FLOAT, &dim_val); | ^ ./gasdf.c:4288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4288 | print_dim_info (std_ptr, dim, all) | ^ ./gasdf.c:4392:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4392 | struct attrib_list *find_att (); | ^ ./gasdf.c:75:23: note: conflicting prototype is here 75 | struct attrib_list *find_att(struct attrib_list *first_att, char *attname) ; | ^ ./gasdf.c:4393:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4393 | int decode_ud_time() ; | ^ ./gasdf.c:92:7: note: conflicting prototype is here 92 | int decode_ud_time(utUnit *unit, double time_val, int *yr, int *mo, | ^ ./gasdf.c:4394:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4394 | int decode_standard_time() ; | ^ ./gasdf.c:94:7: note: conflicting prototype is here 94 | int decode_standard_time(double time_val, int *year, int *month, int *day, | ^ ./gasdf.c:4398:20: warning: passing arguments to 'find_att' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4398 | delta = find_att (var->first_vattr, time_atts[DELTA_T_IX]); | ^ ./gasdf.c:4402:7: warning: call to undeclared function 'decode_delta_t'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4402 | if (decode_delta_t ((char *) delta->data, &yr, &mo, &da, &hr, | ^ ./gasdf.c:4405:12: warning: call to undeclared function 'get_period'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4405 | else if (get_period (yr, mo, da, hr, &pix) != Success) | ^ ./gasdf.c:4410:32: warning: passing arguments to 'decode_standard_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4410 | if (decode_standard_time (tval, &yr, &mo, &da, | ^ ./gasdf.c:4416:26: warning: passing arguments to 'decode_ud_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4416 | if (decode_ud_time (unit, tval, &yr, &mo, &da, &hr, &min, &sec) != Success) | ^ ./gasdf.c:4421:31: warning: passing arguments to 'set_default_time_components' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4421 | set_default_time_components (pix, &yr, &mo, &da, &hr, &min, &sec); | ^ ./gasdf.c:4422:3: warning: call to undeclared function 'encode_time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4422 | encode_time (yr, mo, da, hr, min, (int) sec, tstring); | ^ ./gasdf.c:4378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4378 | decode_time (tval, time_type, var, tstring, unit) | ^ ./gasdf.c:4428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4428 | get_period (year, month, day, hour, pix) | ^ ./gasdf.c:4467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4467 | set_default_time_components (pix, yr, mo, day, hour, min, sec) | ^ ./gasdf.c:4514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4514 | encode_time (yr, mo, da, hr, min, sec, tstring) | ^ ./gasdf.c:4563:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4563 | get_ud_time_unit (time, unit) | ^ | int ./gasdf.c:4568:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4568 | struct attrib_list *find_att (); | ^ ./gasdf.c:75:23: note: conflicting prototype is here 75 | struct attrib_list *find_att(struct attrib_list *first_att, char *attname) ; | ^ ./gasdf.c:4571:29: warning: passing arguments to 'find_att' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4571 | if ((units_str = find_att (time->first_vattr, | ^ ./gasdf.c:4563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4563 | get_ud_time_unit (time, unit) | ^ ./gasdf.c:4584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4584 | decode_ud_time (unit, time_val, yr, mo, da, hr, min, sec) | ^ ./gasdf.c:4584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:4607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4607 | strip_char (strip_num, str1, int_len) | ^ ./gasdf.c:4628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4628 | decode_standard_time (time_val, year, month, day, hour, minn, sec) | ^ ./gasdf.c:4628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:4787:8: warning: call to undeclared function 'dbl_equal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4787 | if (dbl_equal (val->fval, FMISS)) | ^ ./gasdf.c:4830:8: warning: call to undeclared function 'dbl_equal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4830 | if (dbl_equal (val->fval, FMISS)) | ^ ./gasdf.c:4873:8: warning: call to undeclared function 'dbl_equal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4873 | if (dbl_equal (val->fval, FMISS)) | ^ ./gasdf.c:4925:8: warning: call to undeclared function 'dbl_equal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4925 | if (dbl_equal (val->dval, DMISS)) | ^ ./gasdf.c:4959:8: warning: call to undeclared function 'dbl_equal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4959 | if (dbl_equal (val->fval, FMISS)) | ^ ./gasdf.c:4754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4754 | adjust_data_type (old_type, new_type, val) | ^ ./gasdf.c:4988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4988 | set_data_to_type (type, ix, in_data, out_data) | ^ ./gasdf.c:5023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5023 | init_io_std (std_ptr) | ^ ./gasdf.c:5027:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 5027 | void free_io_std (); | ^ ./gasdf.c:80:8: note: conflicting prototype is here 80 | void free_io_std(IO_STD **sdf_ptr) ; | ^ ./gasdf.c:5030:17: warning: passing arguments to 'free_io_std' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5030 | free_io_std (std_ptr); | ^ ./gasdf.c:5056:21: warning: passing arguments to 'init_dim_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5056 | if (init_dim_info ((*std_ptr)->dimids, (*std_ptr)->dimnam, | ^ ./gasdf.c:5023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5023 | init_io_std (std_ptr) | ^ ./gasdf.c:5072:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 5072 | void free_io_std (); | ^ ./gasdf.c:80:8: note: conflicting prototype is here 80 | void free_io_std(IO_STD **sdf_ptr) ; | ^ ./gasdf.c:5075:17: warning: passing arguments to 'free_io_std' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5075 | free_io_std (std_ptr2); | ^ ./gasdf.c:5093:21: warning: passing arguments to 'copy_attr_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5093 | if (copy_attr_list(&((*std_ptr2)->first_gattr), std_ptr1->first_gattr) == | ^ ./gasdf.c:5107:20: warning: passing arguments to 'copy_var_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5107 | if (copy_var_list(&((*std_ptr2)->var), std_ptr1->var) == Failure) { | ^ ./gasdf.c:5071:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5071 | int copy_var_list() ; | ^ ./gasdf.c:5115:1: note: conflicting prototype is here 5115 | copy_var_list(VAR_INFO **newvarlistptr, VAR_INFO *oldvarlist) { | ^ ./gasdf.c:5148:25: warning: passing arguments to 'copy_attr_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5148 | if (copy_attr_list(&((*lclnewvarlistptr)->first_vattr), | ^ ./gasdf.c:5070:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5070 | int copy_attr_list() ; | ^ ./gasdf.c:5167:1: note: conflicting prototype is here 5167 | copy_attr_list(struct attrib_list **first_list1, | ^ ./gasdf.c:5179:18: warning: equality comparison result unused [-Wunused-comparison] 5179 | *first_list1 == (struct attrib_list*)NULL; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gasdf.c:5179:18: note: use '=' to turn this equality comparison into an assignment 5179 | *first_list1 == (struct attrib_list*)NULL; | ^~ | = ./gasdf.c:5257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5257 | init_dim_info (dimids, dimnam, dimsiz) | ^ ./gasdf.c:5286:19: warning: passing arguments to 'free_var_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5286 | free_var_info (var); | ^ ./gasdf.c:5278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5278 | init_var_info (var) | ^ ./gasdf.c:5322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5322 | free_io_std (std_ptr) | ^ ./gasdf.c:5332:16: warning: passing arguments to 'free_var_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5332 | free_var_info (&((*std_ptr)->var)); | ^ ./gasdf.c:5336:23: warning: passing arguments to 'free_netcdf_att_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5336 | free_netcdf_att_list (&((*std_ptr)->first_gattr)); | ^ ./gasdf.c:5322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5322 | free_io_std (std_ptr) | ^ ./gasdf.c:5362:26: warning: passing arguments to 'free_netcdf_att_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5362 | free_netcdf_att_list (&((*var)->first_vattr)); | ^ ./gasdf.c:5351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5351 | free_var_info (var) | ^ ./gasdf.c:5381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5381 | free_netcdf_att_list (first_attr) | ^ ./gasdf.c:5403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5403 | read_io_std (path, std_ptr) | ^ ./gasdf.c:5409:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 5409 | close_netcdf (), | ^ ./gasdf.c:81:7: note: conflicting prototype is here 81 | int close_netcdf(int ncid) ; | ^ ./gasdf.c:5419:19: warning: passing arguments to 'open_netcdf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5419 | if (open_netcdf (path, 0, &(std_ptr->cdfid)) != Success) | ^ ./gasdf.c:5430:18: warning: passing arguments to 'inq_netcdf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5430 | if (inq_netcdf (std_ptr->cdfid, &(std_ptr->ndims), &(std_ptr->nvars), | ^ ./gasdf.c:5433:27: warning: passing arguments to 'close_netcdf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5433 | (void) close_netcdf (std_ptr->cdfid); | ^ ./gasdf.c:5442:17: warning: passing arguments to 'read_atts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5442 | if (read_atts (std_ptr->cdfid, NC_GLOBAL, std_ptr->ngatts, | ^ ./gasdf.c:5445:27: warning: passing arguments to 'close_netcdf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5445 | (void) close_netcdf (std_ptr->cdfid); | ^ ./gasdf.c:5450:17: warning: passing arguments to 'read_dims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5450 | if (read_dims (std_ptr) != Success) | ^ ./gasdf.c:5452:27: warning: passing arguments to 'close_netcdf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5452 | (void) close_netcdf (std_ptr->cdfid); | ^ ./gasdf.c:5457:17: warning: passing arguments to 'read_vars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5457 | if (read_vars (std_ptr->cdfid, std_ptr->nvars, &(std_ptr->var)) != Success) | ^ ./gasdf.c:5459:27: warning: passing arguments to 'close_netcdf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5459 | (void) close_netcdf (std_ptr->cdfid); | ^ ./gasdf.c:5464:21: warning: passing arguments to 'set_time_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5464 | if (set_time_type (std_ptr) != Success) | ^ ./gasdf.c:5469:7: warning: call to undeclared function 'init_standard_arrays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5469 | if (init_standard_arrays (std_ptr->time_type) != Success) | ^ ./gasdf.c:5403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5403 | read_io_std (path, std_ptr) | ^ ./gasdf.c:5477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5477 | init_standard_arrays (time_type) | ^ ./gasdf.c:5526:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 5526 | struct attrib_list *find_att (); | ^ ./gasdf.c:75:23: note: conflicting prototype is here 75 | struct attrib_list *find_att(struct attrib_list *first_att, char *attname) ; | ^ ./gasdf.c:5527:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 5527 | VAR_INFO *find_var (); | ^ ./gasdf.c:98:13: note: conflicting prototype is here 98 | VAR_INFO *find_var(IO_STD *std_ptr, char *name) ; | ^ ./gasdf.c:5533:19: warning: passing arguments to 'find_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5533 | time = find_var (in_ptr, cdc_vars[TIME_IX]); | ^ ./gasdf.c:5539:23: warning: passing arguments to 'find_att' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5539 | units = find_att(lclvar->first_vattr, cdc_time_atts[T_UNITS_IX]) ; | ^ ./gasdf.c:5562:25: warning: passing arguments to 'find_att' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5562 | if ((units = find_att (time->first_vattr, cdc_time_atts[T_UNITS_IX])) | ^ ./gasdf.c:5519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5519 | set_time_type (in_ptr) | ^ ./gasdf.c:5577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5577 | find_att (first_att, attname) | ^ ./gasdf.c:5577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:5594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5594 | open_netcdf (pathname, cflag, cdfid) | ^ ./gasdf.c:5627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5627 | close_netcdf (cdfid) | ^ ./gasdf.c:5627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:5648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5648 | inq_netcdf (cdfid, ndims, nvars, ngatts, recdim) | ^ ./gasdf.c:5674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5674 | inq_netcdf_var (cdfid, varid, varname, vartype, nvardims, vardims, natts) | ^ ./gasdf.c:5703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5703 | init_att (new_att, msg) | ^ ./gasdf.c:5761:28: warning: passing arguments to 'get_netcdf_attname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5761 | if (get_netcdf_attname (cdfid, varid, i, name) != Success) | ^ ./gasdf.c:5763:5: warning: call to undeclared function 'copy_char_str'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5763 | copy_char_str (&(curr->name), name); | ^ ./gasdf.c:5766:29: warning: passing arguments to 'get_netcdf_att_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5766 | if (get_netcdf_att_info (cdfid, varid, curr->name, | ^ ./gasdf.c:5723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5723 | read_atts (cdfid, varid, natts, first_attr) | ^ ./gasdf.c:5776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5776 | get_netcdf_attname (cdfid, varid, attnum, name) | ^ ./gasdf.c:5801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5801 | get_netcdf_att_info (cdfid, varid, aname, atype, alen, adata) | ^ ./gasdf.c:5871:24: warning: passing arguments to 'inq_netcdf_dim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5871 | if (inq_netcdf_dim (std_ptr->cdfid, std_ptr->dimids[i], | ^ ./gasdf.c:5861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5861 | read_dims (std_ptr) | ^ ./gasdf.c:5884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5884 | inq_netcdf_dim (cdfid, dimid, dimname, dimsize) | ^ ./gasdf.c:5911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5911 | read_vars (cdfid, nvars, var) | ^ ./gasdf.c:5977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5977 | get_additional_dimension_ix (ndims, dimids, timedim, latdim, londim) | ^ ./gasdf.c:6001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6001 | find_dim (std_ptr, name) | ^ ./gasdf.c:6001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:6022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6022 | find_dimix (dimids, ndims, dim) | ^ ./gasdf.c:6022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:6051:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6051 | void init_start_count (); | ^ ./gasdf.c:3287:8: note: conflicting prototype is here 3287 | void init_start_count(long **start, long **count, int ndims) ; | ^ ./gasdf.c:6054:20: warning: passing arguments to 'init_start_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6054 | init_start_count (&start, &count, var->nvardims) ; | ^ ./gasdf.c:6057:7: warning: call to undeclared function 'read_variable_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6057 | if (read_variable_data (in_ptr->cdfid, var, start, count) != Success) | ^ ./gasdf.c:6043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6043 | read_one_dimension (in_ptr, var, dimid) | ^ ./gasdf.c:6065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6065 | init_start_count (start, count, ndims) | ^ ./gasdf.c:6065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:6102:27: warning: passing arguments to 'alloc_variable_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6102 | if (alloc_variable_data (var, count) != Success) | ^ ./gasdf.c:6105:24: warning: passing arguments to 'read_netcdf_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6105 | if (read_netcdf_data (cdfid, var->varid, start, count, var->data) | ^ ./gasdf.c:6091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6091 | read_variable_data (cdfid, var, start, count) | ^ ./gasdf.c:6114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6114 | get_hyperslab_size (count, ndims) | ^ ./gasdf.c:6146:24: warning: passing arguments to 'alloc_data_array' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6146 | if (alloc_data_array (malloc_len, var->vartype, &(var->data)) != Success) | ^ ./gasdf.c:6130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6130 | alloc_variable_data (var, count) | ^ ./gasdf.c:6155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6155 | read_netcdf_data (cdfid, varid, start, count, data_array) | ^ ./gasdf.c:6182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6182 | alloc_data_array (malloc_len, datatype, data_array) | ^ ./gasdf.c:6221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6221 | find_var (std_ptr, var_name) | ^ ./gasdf.c:6221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:6252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6252 | flt_equal(f1, f2) | ^ ./gasdf.c:6305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6305 | dbl_equal (d1, d2) | ^ ./gasdf.c:6326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6326 | decode_delta_t (delta_t_str, year, month, day, hour, minn, sec) | ^ ./gasdf.c:6398:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 6398 | copy_char_str (dest, source) | ^ | int ./gasdf.c:6398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gasdf.c:6424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6424 | are_data_packed (in_var, scale, offset, converted_type, input_type) | ^ ./gasdf.c:6466:7: warning: call to undeclared function 'set_default_scale_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6466 | set_default_scale_offset(*converted_type, scale, &junk); | ^ ./gasdf.c:6469:7: warning: call to undeclared function 'set_default_scale_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6469 | set_default_scale_offset(*converted_type, &junk, offset); | ^ ./gasdf.c:6424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6424 | are_data_packed (in_var, scale, offset, converted_type, input_type) | ^ ./gasdf.c:6527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6527 | set_default_scale_offset (type, scale, offset) | ^ 155 warnings generated. --- gagx.o --- gagx.c:204:5: warning: call to undeclared function 'ganbswp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | ganbswp(val, sizeof(double)); | ^ gagx.c:3581:50: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 3581 | sprintf (pout,"Wrote %i of %i elements to ", written, exsz); | ~~ ^~~~~~~ | %zu gagx.c:3585:62: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 3585 | sprintf (pout,"Wrote %i of %i elements to grads.fwrite", written, exsz); | ~~ ^~~~~~~ | %zu gagx.c:3814:25: warning: floating-point comparison is always false; constant cannot be represented exactly in type 'float' [-Wliteral-range] 3814 | if (cnt==0 || rmin==9.99e35 || rmax==-9.99e35) { | ~~~~^ ~~~~~~~ gagx.c:5525:4: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 5524 | sprintf(dtgstr,"%04d-%02d-%02d-%02d:%02d\0", | ~~~~ | %04ld 5525 | timeobj.year,timeobj.month, | ^~~~~~~~~~~~ gagx.c:5525:17: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 5524 | sprintf(dtgstr,"%04d-%02d-%02d-%02d:%02d\0", | ~~~~ | %02ld 5525 | timeobj.year,timeobj.month, | ^~~~~~~~~~~~~ gagx.c:5526:4: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 5524 | sprintf(dtgstr,"%04d-%02d-%02d-%02d:%02d\0", | ~~~~ | %02ld 5525 | timeobj.year,timeobj.month, 5526 | timeobj.date,timeobj.hour,timeobj.minute) ; | ^~~~~~~~~~~~ gagx.c:5526:17: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 5524 | sprintf(dtgstr,"%04d-%02d-%02d-%02d:%02d\0", | ~~~~ | %02ld 5525 | timeobj.year,timeobj.month, 5526 | timeobj.date,timeobj.hour,timeobj.minute) ; | ^~~~~~~~~~~~ gagx.c:5526:30: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 5524 | sprintf(dtgstr,"%04d-%02d-%02d-%02d:%02d\0", | ~~~~ | %02ld 5525 | timeobj.year,timeobj.month, 5526 | timeobj.date,timeobj.hour,timeobj.minute) ; | ^~~~~~~~~~~~~~ gagx.c:5524:45: warning: format string contains '\0' within the string body [-Wformat] 5524 | sprintf(dtgstr,"%04d-%02d-%02d-%02d:%02d\0", | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 10 warnings generated. --- gauser-nc.o --- ./gauser.c:236:27: warning: call to undeclared function 'close_netcdf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | if (pfi->sdf_ptr) close_netcdf(pfi->sdf_ptr->cdfid) ; | ^ ./gauser.c:366:23: warning: call to undeclared function 'close_netcdf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | if (pfi->sdf_ptr) close_netcdf(pfi->sdf_ptr->cdfid) ; | ^ ./gauser.c:446:17: warning: call to undeclared function 'dump_back_buffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | dump_back_buffer(name_file_xwd) ; /* hoop */ | ^ ./gauser.c:448:17: warning: call to undeclared function 'dump_front_buffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | dump_front_buffer(name_file_xwd) ; /* hoop */ | ^ ./gauser.c:612:10: warning: call to undeclared function 'gxhpng'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 612 | rc = gxhpng (cc,xin,yin,bwin,gifflg,bgImage,fgImage,tcolor); | ^ ./gauser.c:2289:7: warning: call to undeclared function 'gacfg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2289 | gacfg(2); | ^ ./gauser.c:2671:5: warning: call to undeclared function 'gaqufb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2671 | gaqufb(); | ^ ./gauser.c:3486:10: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:3486:23: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:3486:36: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:3486:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:4678:40: warning: data argument not used by format string [-Wformat-extra-args] 4678 | sprintf (pout,"Args = numeric\n",pcm->dlgnu); | ~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:4975:88: warning: data argument not used by format string [-Wformat-extra-args] 4975 | sprintf (pout,"WARNING cstyle = 0 ; no lines will be plotted; I suggest 1 ...\n",pcm->cstyle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:5178:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5178:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5179:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5179 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5179:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5179 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5181:42: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5181:55: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5182:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5182 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ ./gauser.c:5182:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5182 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ ./gauser.c:5259:38: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5259:51: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5260:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5260 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5260:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5260 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5262:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5262:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5263:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5263 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ ./gauser.c:5263:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5263 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ 29 warnings generated. --- gradsnc --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o gradsnc grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxwmap.o gxshad.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxX.o gxdxwd.o gd13gif.o galats.o lats.o latsint.o latsgrib.o latstime.o latsstat.o fgbds.o fgutil.o latsgribmap.o gagmap.o latsnc-nc.o gaddes-nc.o gacfg-nc.o gaio-nc.o gauser-nc.o gasdf-nc.o -L/usr/local/lib -L/usr/local/lib -lgd -lpng -lz -lX11 -lnetcdf -ludunits2 -ltermcap -lm --- gauser-c.o --- ./gauser.c:446:17: warning: call to undeclared function 'dump_back_buffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | dump_back_buffer(name_file_xwd) ; /* hoop */ | ^ ./gauser.c:448:17: warning: call to undeclared function 'dump_front_buffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | dump_front_buffer(name_file_xwd) ; /* hoop */ | ^ ./gauser.c:612:10: warning: call to undeclared function 'gxhpng'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 612 | rc = gxhpng (cc,xin,yin,bwin,gifflg,bgImage,fgImage,tcolor); | ^ ./gauser.c:2289:7: warning: call to undeclared function 'gacfg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2289 | gacfg(2); | ^ ./gauser.c:2671:5: warning: call to undeclared function 'gaqufb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2671 | gaqufb(); | ^ ./gauser.c:3486:10: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:3486:23: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:3486:36: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:3486:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 3485 | else sprintf(lab,"%li:%li:%li:%li", | ~~~ | %i 3486 | pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:4678:40: warning: data argument not used by format string [-Wformat-extra-args] 4678 | sprintf (pout,"Args = numeric\n",pcm->dlgnu); | ~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:4975:88: warning: data argument not used by format string [-Wformat-extra-args] 4975 | sprintf (pout,"WARNING cstyle = 0 ; no lines will be plotted; I suggest 1 ...\n",pcm->cstyle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:5178:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5178:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5179:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5179 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5179:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5178 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5179 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5181:42: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5181:55: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5182:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5182 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ ./gauser.c:5182:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5181 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5182 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ ./gauser.c:5259:38: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5259:51: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5260:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5260 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5260:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5259 | sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, | ~~~ | %i 5260 | pcm->tmin.dy,pcm->tmin.hr); | ^~~~~~~~~~~~ ./gauser.c:5262:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5262:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ ^~~~~~~~~~~~ | %i ./gauser.c:5263:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5263 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ ./gauser.c:5263:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 5262 | sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, | ~~~ | %i 5263 | pcm->tmax.dy,pcm->tmax.hr); | ^~~~~~~~~~~~ 27 warnings generated. --- gradsc --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o gradsc grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxwmap.o gxshad.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxX.o gxdxwd.o gd13gif.o latsnc.o galats.o lats.o latsint.o latsgrib.o latstime.o latsstat.o fgbds.o fgutil.o latsgribmap.o gagmap.o gaddes-c.o gacfg-c.o gaio-c.o gauser-c.o -L/usr/local/lib -L/usr/local/lib -lgd -lpng -lz -lX11 -ltermcap -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for grads-1.9b4_18 ===> Generating temporary packing list Making install in src /bin/sh ../etc/mkinstalldirs /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin install -s -m 555 gradsc /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gradsc install -s -m 555 gradsnc /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gradsnc install -s -m 555 gribmap /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gribmap install -s -m 555 gxeps /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gxeps install -s -m 555 gxps /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gxps install -s -m 555 stnmap /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/stnmap install -s -m 555 wgrib /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/wgrib install -s -m 555 gribscan /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gribscan install -s -m 555 bufrscan /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/bufrscan install -s -m 555 gxtran /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gxtran /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/grads" cd /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/data && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/grads" /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/examples/grads" cd /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/examples && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/examples/grads" /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/doc/grads" cd /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/doc && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/doc/grads" ====> 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=2025-11-10T20:12:42+0000' 'PKG_NOTE_ports_top_git_hash=ec159283c191' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=82ef2377db54' '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 grads-1.9b4_18 ===> Building grads-1.9b4_18 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for grads-1.9b4_18 build of graphics/grads | grads-1.9b4_18 ended at Mon Nov 10 15:13:16 EST 2025 build time: 00:00:35