>>> Building on exopi-1 under graphics/gmt BDEPENDS = [math/netcdf;archivers/bzip2] DIST = [graphics/gmt,-high:GMT4.1_full.tar.bz2;graphics/gmt,-high:GMT4.1.3_src.tar.bz2;graphics/gmt,-high:GMT4.1.3_man.tar.bz2;graphics/gmt,-high:GMT4.1_coast.tar.bz2;graphics/gmt,-high:GMT4.1_high.tar.bz2;graphics/gmt,-high:GMT4.1.3_share.tar.bz2] FULLPKGNAME = gmt-4.1.3p5 RDEPENDS = [math/netcdf] (Junk lock obtained for exopi-1 at 1732140128.98) >>> Running depends in graphics/gmt at 1732140129.01 last junk was in games/angband,no_x11 /usr/sbin/pkg_add -aI -Drepair netcdf-4.9.2p4 was: /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 netcdf-4.9.2p4 /usr/sbin/pkg_add -aI -Drepair netcdf-4.9.2p4 >>> Running show-prepare-results in graphics/gmt at 1732140133.85 ===> graphics/gmt ===> Building from scratch GMT4.1.3 ===> gmt-4.1.3p5 depends on: bzip2-* -> bzip2-1.0.8p0 ===> gmt-4.1.3p5 depends on: netcdf-* -> netcdf-4.9.2p4 ===> Verifying specs: c m netcdf>=1 ===> found c.100.3 m.10.1 netcdf.10.0 bzip2-1.0.8p0 netcdf-4.9.2p4 (Junk lock released for exopi-1 at 1732140134.47) distfiles size=42163752 >>> Running build in graphics/gmt at 1732140134.50 ===> graphics/gmt ===> Checking files for GMT4.1.3 `/exopi-cvs/ports/distfiles/GMT4.1.3_src.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/GMT4.1.3_man.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/GMT4.1.3_share.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/GMT4.1_coast.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/GMT4.1_high.tar.bz2' is up to date. `/exopi-cvs/ports/distfiles/GMT4.1_full.tar.bz2' is up to date. >> (SHA256) all files: OK ===> Extracting for GMT4.1.3 ===> Patching for GMT4.1.3 ===> Applying OpenBSD patch patch-src_makegmt_macros_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/makegmt.macros.in.orig Sat Dec 17 05:53:05 2005 |+++ src/makegmt.macros.in Wed Mar 29 21:31:58 2006 -------------------------- Patching file src/makegmt.macros.in using Plan A... Hunk #1 succeeded at 85. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for GMT4.1.3 ===> Configuring for GMT4.1.3 Using /exopi-obj/pobj/GMT4.1.3/config.site (generated) configure: loading site script /exopi-obj/pobj/GMT4.1.3/config.site checking build system type... x86_64-unknown-openbsd7.6 checking host system type... x86_64-unknown-openbsd7.6 checking target system type... x86_64-unknown-openbsd7.6 checking for gcc... cc checking for C compiler default output file name... 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... none needed checking how to run the C preprocessor... cc -E checking for ar... ar checking for csh... csh checking for ld... ld checking for as... as checking for a BSD-compatible install... /exopi-obj/pobj/GMT4.1.3/bin/install -c checking for gawk... (cached) awk checking for ranlib... (cached) ranlib checking for GMT ftp site selection... GMT_site checking for Matlab directory... NONE checking for netCDF directory... /usr/local checking for wrapper bin directory... /usr/bin checking for wrapper man directory... /usr/man checking for www directory... ${prefix}/www checking for man page section... 1 checking for file locking... checking if OK to compile mex... checking if OK to compile xgrid... checking if we should compile with debugging switch -g... no checking if the triangulation by Shewchuk should be used... no checking compiler options for GMT... -O2 -pipe (taken from CFLAGS in your environment) checking linker options for GMT... -s checking for default GMT units... SI (cm) checking for default PostScript format... (PS) checking for library containing sin... -lm checking for library containing sincos... none required checking for a broken sincos function... no checking for copysign... yes checking for log1p... yes checking for hypot... yes checking for acosh... yes checking for asinh... yes checking for atanh... yes checking for rint... yes checking for irint... no checking for isnanf... yes checking for isnand... no checking for isnan... (cached) yes checking for j0... yes checking for j1... yes checking for jn... yes checking for y0... yes checking for y1... yes checking for yn... yes checking for erf... (cached) yes checking for erfc... (cached) yes checking for strdup... (cached) yes checking for strtod... (cached) yes checking for hypot... (cached) yes checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating src/makegmt.macros config.status: creating src/GMT config.status: creating src/gmt_notposix.h ===> Building for GMT4.1.3 if [ ! -s src/makegmt.macros ]; then echo "src/makegmt.macros is empty - you must rerun configure in the main GMT directory"; exit; fi cd src; make DESTDIR= all; cd .. if [ `cat makegmt.macros | wc -c` = 0 ]; then echo "src/makegmt.macros is empty - you must rerun configure in the main GMT directory"; exit; fi cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" -c pslib.c ar cvur libpsl.a pslib.o ranlib libpsl.a cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_calclock.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_cdf.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_customio.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_grdio.c gmt_grdio.c:83:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = (*GMT_io_readinfo[header->type]) (header); ^ gmt_grdio.c:114:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = (*GMT_io_writeinfo[header->type]) (header); ^ gmt_grdio.c:127:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = (*GMT_io_updateinfo[header->type]) (header); ^ gmt_grdio.c:144:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = (*GMT_io_readgrd[header->type]) (header, grid, w, e, s, n, pad, complex); ^ gmt_grdio.c:175:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = (*GMT_io_writegrd[header->type]) (header, grid, w, e, s, n, pad, complex); ^ gmt_grdio.c:756:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] N_outside = GMT_outside (0.0, +90.0); /* North pole outside map boundary? */ ^ gmt_grdio.c:757:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S_outside = GMT_outside (0.0, -90.0); /* South pole outside map boundary? */ ^ 7 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_init.c gmt_init.c:4763:56: warning: for loop has empty body [-Wempty-body] for (j = strlen (text); j > 0 && text[j] != '/'; j--);; ^ gmt_init.c:4763:56: note: put the semicolon on a separate line to silence this warning 1 warning generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_io.c gmt_io.c:820:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (i = 0; i < n; i++) GMT_output (fp, 1, &GMT_d_NaN); ^ gmt_io.c:2462:53: warning: for loop has empty body [-Wempty-body] for (i = negate_year; s[k+i] && s[k+i] != '-'; i++);; /* Goes to first - between yyyy and jjj or yyyy and mm */ ^ gmt_io.c:2462:53: note: put the semicolon on a separate line to silence this warning gmt_io.c:2589:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ gmt_io.c:2611:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!no_segments) n_fields = GMT_input (fp, &n_expected_fields, &in); /* Don't read if we didnt read a segment header up front */ ^ gmt_io.c:2665:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ gmt_io.c:2793:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fp, table->segment[seg]->n_columns, out); ^ 6 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_map.c gmt_map.c:871:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_forward) (x, xx); ^ gmt_map.c:879:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_y_forward) (y, yy); ^ gmt_map.c:887:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_z_forward) (z, zz); ^ gmt_map.c:897:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_inverse) (x, xx); ^ gmt_map.c:906:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_y_inverse) (y, yy); ^ gmt_map.c:915:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_z_inverse) (z, zz); ^ gmt_map.c:922:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (lon, lat, x, y); ^ gmt_map.c:934:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_inverse) (lon, lat, x, y); ^ gmt_map.c:993:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_forward) (project_info.w, &xmin); ^ gmt_map.c:994:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_forward) (project_info.e, &xmax); ^ gmt_map.c:997:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_forward) (project_info.e, &xmin); ^ gmt_map.c:998:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_forward) (project_info.w, &xmax); ^ gmt_map.c:1067:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_forward) (x, x_i); ^ gmt_map.c:1068:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_y_forward) (y, y_i); ^ gmt_map.c:1073:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_inverse) (x, x_i); ^ gmt_map.c:1074:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_y_inverse) (y, y_i); ^ gmt_map.c:1081:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_x_forward) (coord, x); ^ gmt_map.c:1089:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_y_forward) (coord, y); ^ gmt_map.c:1163:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:1164:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:1349:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.pars[0], project_info.pars[3], &dummy, &radius); ^ gmt_map.c:1361:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (0.0, fabs(project_info.pars[3]), &dummy, &radius); ^ gmt_map.c:1372:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:1373:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:1454:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:1455:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:1713:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, 0.0, &xmin, &dummy); ^ gmt_map.c:1714:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, 0.0, &xmax, &dummy); ^ gmt_map.c:1715:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &dummy, &ymin); ^ gmt_map.c:1743:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:1744:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:1802:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_inverse) (&project_info.w, &project_info.s, project_info.w, project_info.s); ^ gmt_map.c:1803:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_inverse) (&project_info.e, &project_info.n, project_info.e, project_info.n); ^ gmt_map.c:1817:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:1818:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:1880:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:1881:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:1964:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:1965:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:2048:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:2049:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:2133:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:2134:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:2646:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:2647:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:2698:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:2699:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:2753:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.w, project_info.s, &xmin, &ymin); ^ gmt_map.c:2754:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (project_info.e, project_info.n, &xmax, &ymax); ^ gmt_map.c:2895:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (w, s0, &x, &y); ^ gmt_map.c:2900:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (w, n0, &x, &y); ^ gmt_map.c:2908:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (w0, s, &x, &y); ^ gmt_map.c:2913:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_forward) (e0, s, &x, &y); ^ gmt_map.c:2927:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nx = (*GMT_crossing) (lon1, lat1, lon2, lat2, xlon, xlat, xx, yy, sides); ^ gmt_map.c:2956:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ((*GMT_outside) (lon, lat)); ^ gmt_map.c:2967:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ( (*GMT_overlap) (x0, y0, x1, y1)); ^ gmt_map.c:3159:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ((*GMT_left_edge) (y)); ^ gmt_map.c:3194:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ((*GMT_right_edge) (y)); ^ gmt_map.c:3414:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_get_crossings) (xc, yc, x[i1], y[i1], x[i], y[i]); ^ gmt_map.c:3415:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_x_plot[j] = (*x_on_border) (yc[0]); ^ gmt_map.c:3421:65: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_x_plot[j] = (x[i] >= GMT_half_map_size) ? (*x_on_border) (y[i]) : x[i]; ^ gmt_map.c:3423:64: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_x_plot[j] = (x[i] < GMT_half_map_size) ? (*x_on_border) (y[i]) : x[i]; ^ gmt_map.c:4061:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_get_crossings) (xx, yy, x2, y2, x1, y1); ^ gmt_map.c:4344:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*GMT_map_jump) (x0, y0, x1, y1) || (y0 < project_info.ymin || y0 > project_info.ymax)) ^ gmt_map.c:4418:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*GMT_map_jump) (x0, y0, x1, y1) || (y0 < project_info.ymin || y0 > project_info.ymax)) ^ gmt_map.c:4477:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = (*GMT_map_clip) (lon, lat, np, x, y, &total_nx); ^ gmt_map.c:4498:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = (*GMT_map_clip) (lon, lat, np, x, y, &total_nx); ^ gmt_map.c:4875:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wrap = (*GMT_wrap_around_check) (dummy, last_x, last_y, this_x, this_y, xx, yy, sides, &nx); ^ gmt_map.c:6811:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (GMT_world_map) (*GMT_wrap_around_check) (X[nc].angle, last_x, last_y, this_x, this_y, X[nc].xx, X[nc].yy, X[nc].sides, &nx); ^ gmt_map.c:6868:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (GMT_world_map) (*GMT_wrap_around_check) (X[nc].angle, last_x, last_y, this_x, this_y, X[nc].xx, X[nc].yy, X[nc].sides, &nx); ^ 70 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_nc.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_proj.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_shore.c gmt_shore.c:701:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*GMT_will_it_wrap) (xtmp, ytmp, n, &start)) { /* Polygon does indeed wrap */ ^ gmt_shore.c:705:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_n_plot = (*GMT_truncate) (xtmp, ytmp, n, start, -1); ^ gmt_shore.c:722:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_n_plot = (*GMT_truncate) (xtmp, ytmp, n, start, +1); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_stat.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_support.c gmt_support.c:3282:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fp, 3, out); ^ gmt_support.c:3376:63: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (G->dist_kind == 1) step = G->d_scale * (G->dist_func) (lon[0], lat[0], lon[1], lat[1]); ^ gmt_support.c:3377:69: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (G->label_type == 4) stept = G->L_d_scale * (G->L_dist_func) (lon[0], lat[0], lon[1], lat[1]); ^ gmt_support.c:3585:21: warning: address of array 'G->unit' will always evaluate to 'true' [-Wpointer-bool-conversion] if (use_unit && G->unit && G->unit[0]) m = strlen (G->unit) + (G->unit[0] != '-'); /* Must allow extra space for a unit string */ ~~ ~~~^~~~ gmt_support.c:3587:9: warning: address of array 'G->prefix' will always evaluate to 'true' [-Wpointer-bool-conversion] if (G->prefix && G->prefix[0]) { /* Must prepend the prefix string */ ~~~^~~~~~ ~~ gmt_support.c:3599:21: warning: address of array 'G->unit' will always evaluate to 'true' [-Wpointer-bool-conversion] if (use_unit && G->unit && G->unit[0]) { /* Append a unit string */ ~~ ~~~^~~~ gmt_support.c:3624:11: warning: address of array 'G->label' will always evaluate to 'true' [-Wpointer-bool-conversion] if (G->label && G->label[0]) ~~~^~~~~ ~~ gmt_support.c:6023:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*GMT_distance_func) (lon, lat, T->segment[i]->coord[GMT_X][j], T->segment[i]->coord[GMT_Y][j]); ^ gmt_support.c:6043:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*GMT_distance_func) (x, y, T->segment[i]->coord[GMT_X][j], T->segment[i]->coord[GMT_Y][j]); ^ gmt_support.c:6078:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*GMT_distance_func) (x, y, x0, y0); ^ gmt_support.c:6150:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*GMT_distance_func) (lon, lat, T->segment[seg]->coord[GMT_X][j0], T->segment[seg]->coord[GMT_Y][j0]); /* Distance between our point and j'th node on seg'th line */ ^ gmt_support.c:6209:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*GMT_distance_func) (lon, lat, xc, yc); /* Distance between our point and intersection */ ^ gmt_support.c:6215:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dist_AB = (*GMT_distance_func) (T->segment[seg]->coord[GMT_X][j0], T->segment[seg]->coord[GMT_Y][j0], T->segment[seg]->coord[GMT_X][j1], T->segment[seg]->coord[GMT_Y][j1]); ^ gmt_support.c:6216:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fraction = (dist_AB > 0.0) ? (*GMT_distance_func) (T->segment[seg]->coord[GMT_X][j0], T->segment[seg]->coord[GMT_Y][j0], xc, yc) / dist_AB : 0.0; ^ gmt_support.c:6244:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*GMT_distance_func) (lon, lat, T->segment[seg]->coord[GMT_X][row], T->segment[seg]->coord[GMT_Y][row]); /* Distance between our point and row'th node on seg'th line */ ^ gmt_support.c:6268:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*GMT_distance_func) (xlon, xlat, lon, lat); /* Distance between our point and row'th node on seg'th line */ ^ gmt_support.c:6275:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dist_AB = (*GMT_distance_func) (T->segment[seg]->coord[GMT_X][j0], T->segment[seg]->coord[GMT_Y][j0], T->segment[seg]->coord[GMT_X][row], T->segment[seg]->coord[GMT_Y][row]); ^ gmt_support.c:6276:57: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fraction = (dist_AB > 0.0) ? (*GMT_distance_func) (T->segment[seg]->coord[GMT_X][j0], T->segment[seg]->coord[GMT_Y][j0], xlon, xlat) / dist_AB : 0.0; ^ gmt_support.c:6920:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*fwd) (min, &v0); ^ gmt_support.c:6921:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*fwd) (max, &v1); ^ gmt_support.c:6943:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*inv) (&val[n], tval); ^ gmt_support.c:6956:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*inv) (&tval, max); ^ gmt_support.c:7272:10: warning: address of array 'A->unit' will always evaluate to 'true' [-Wpointer-bool-conversion] if (A->unit && A->unit[0] && gmtdefs.y_axis_type == 0) { /* Accommodate extra width of annotation */ ~~~^~~~ ~~ 23 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_vector.c ar cvur libgmt.a gmt_calclock.o gmt_cdf.o gmt_customio.o gmt_grdio.o gmt_init.o gmt_io.o gmt_map.o gmt_nc.o gmt_proj.o gmt_shore.o gmt_stat.o gmt_support.o gmt_vector.o ranlib libgmt.a cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt_plot.c gmt_plot.c:1553:27: warning: address of array 'gmtdefs.grid_pen[k].texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (gmtdefs.grid_pen[k].texture) ps_setdash (CNULL, 0); ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ gmt_plot.c:1664:27: warning: address of array 'gmtdefs.grid_pen[k].texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (gmtdefs.grid_pen[k].texture) ps_setdash (CNULL, 0); ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ gmt_plot.c:1685:23: warning: address of array 'gmtdefs.tick_pen.texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (gmtdefs.tick_pen.texture) ps_setdash (CNULL, 0); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~ gmt_plot.c:1967:24: warning: address of array 'gmtdefs.frame_pen.texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (gmtdefs.frame_pen.texture) ps_setdash (CNULL, 0); ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~ gmt_plot.c:2202:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*xyz_inverse) (&tmp, val_xyz[id]); ^ gmt_plot.c:2424:103: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (j = i + 1, stop = FALSE; !stop && j < n; j++) stop = (pen[j] == PSL_PEN_MOVE || (*GMT_map_jump) (x[j-1], y[j-1], x[j], y[j])); ^ gmt_plot.c:2451:51: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pen[i] == pen[i1] && (way = (*GMT_map_jump) (x[i1], y[i1], x[i], y[i]))) { /* Jumped across the map */ ^ gmt_plot.c:2452:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*GMT_get_crossings) (x_cross, y_cross, x[i1], y[i1], x[i], y[i]); ^ gmt_plot.c:4102:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x[i] = (jump) ? (*x_on_border[jump_dir]) (GMT_y_plot[i]) : GMT_x_plot[i]; ^ gmt_plot.c:4118:64: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x[i] = (jump || jump_dir == JUMP_R) ? (*x_on_border[JUMP_R]) (GMT_y_plot[i]) : GMT_x_plot[i], k++; ^ gmt_plot.c:4134:64: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x[i] = (jump || jump_dir == JUMP_L) ? (*x_on_border[JUMP_L]) (GMT_y_plot[i]) : GMT_x_plot[i], k++; ^ 11 warnings generated. ar cvur libgmtps.a gmt_plot.o ranlib libgmtps.a cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" blockmean.c blockmean.c:320:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ blockmean.c:410:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_out, out); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" blockmedian.c blockmedian.c:275:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ blockmedian.c:375:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_out, out); ^ blockmedian.c:361:4: warning: array index 4 is past the end of the array (that has type 'double[4]') [-Warray-bounds] out[4] = z_tmp[0]; /* Low value */ ^ ~ blockmedian.c:54:2: note: array 'out' declared here double *in, out[4], wesn[4], weight, *z_tmp = NULL; ^ blockmedian.c:362:4: warning: array index 5 is past the end of the array (that has type 'double[4]') [-Warray-bounds] out[5] = z_tmp[nz-1]; /* High value */ ^ ~ blockmedian.c:54:2: note: array 'out' declared here double *in, out[4], wesn[4], weight, *z_tmp = NULL; ^ 4 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" blockmode.c blockmode.c:260:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ blockmode.c:422:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_out, out); ^ blockmode.c:408:4: warning: array index 4 is past the end of the array (that has type 'double[4]') [-Warray-bounds] out[4] = z_tmp[0]; /* Low value */ ^ ~ blockmode.c:51:2: note: array 'out' declared here double *in, out[4], wesn[4], i_n_in_cell, weight, *z_tmp = NULL; ^ blockmode.c:409:4: warning: array index 5 is past the end of the array (that has type 'double[4]') [-Warray-bounds] out[5] = z_tmp[nz-1]; /* High value */ ^ ~ blockmode.c:51:2: note: array 'out' declared here double *in, out[4], wesn[4], i_n_in_cell, weight, *z_tmp = NULL; ^ 4 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" filter1d.c filter1d.c:480:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp_in, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ filter1d.c:604:63: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] F->f_wt[i1] = F->f_wt[i2] = ( *get_weight[F->filter_type]) (time, F->half_width); ^ filter1d.c:768:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (n_good_ones) GMT_output (GMT_stdout, F->n_cols, data_sum); ^ filter1d.c:828:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, F->n_cols, outval); ^ 4 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" fitcircle.c fitcircle.c:204:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ 1 warning generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdfilter.c grdfilter.c:684:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = F->radius_func (x_off, output_lat, x + x_jump, y, par); ^ grdfilter.c:685:73: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] weight[ij] = (r > par[GRDFILTER_HALF_WIDTH]) ? -1.0 : F->weight_func (r, par); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtconvert.c gmtconvert.c:267:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields[k] = GMT_input (fp[k], &n_expected_fields[k], &in); ^ gmtconvert.c:268:8: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (! GMT_io.status & GMT_IO_SEGMENT_HEADER) { /* Good, a data record, update number of cols etc */ ^ ~ gmtconvert.c:268:8: note: add parentheses after the '!' to evaluate the bitwise operator first if (! GMT_io.status & GMT_IO_SEGMENT_HEADER) { /* Good, a data record, update number of cols etc */ ^ ( ) gmtconvert.c:268:8: note: add parentheses around left hand side expression to silence this warning if (! GMT_io.status & GMT_IO_SEGMENT_HEADER) { /* Good, a data record, update number of cols etc */ ^ ( ) gmtconvert.c:316:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields[k] = GMT_input (fp[k], &n_expected_fields[k], &in); ^ gmtconvert.c:317:10: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (! GMT_io.status & GMT_IO_SEGMENT_HEADER) { /* Data record */ ^ ~ gmtconvert.c:317:10: note: add parentheses after the '!' to evaluate the bitwise operator first if (! GMT_io.status & GMT_IO_SEGMENT_HEADER) { /* Data record */ ^ ( ) gmtconvert.c:317:10: note: add parentheses around left hand side expression to silence this warning if (! GMT_io.status & GMT_IO_SEGMENT_HEADER) { /* Data record */ ^ ( ) gmtconvert.c:378:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fp_out, n_out, out); ^ gmtconvert.c:381:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields[k] = GMT_input (fp[k], &n_expected_fields[k], &in); ^ gmtconvert.c:446:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ gmtconvert.c:469:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ gmtconvert.c:514:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!Ctrl->N.active || n_nan < n_out) GMT_output (fp_out, n_out, out); ^ gmtconvert.c:518:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ gmtconvert.c:532:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (j = n_rows - 1; j >= 0; j--) GMT_output (fp_out, n_out, &R_out[j*n_out]); ^ 11 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtdefaults.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtmath.c gmtmath.c:600:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*call_operator[op]) (&info, stack, constant, factor, nstack - 1, j, info.header.n_row); /* Do it */ ^ gmtmath.c:641:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (i = 0; i < info.n_roots; i++) GMT_output (fp, 1, &stack[0][info.r_col][i]); ^ gmtmath.c:701:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_input (fp, &n_expected_fields, &in); ^ gmtmath.c:721:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ gmtmath.c:739:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)); ^ gmtmath.c:797:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fp, k, out); ^ gmtmath.c:2484:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fp, n, x); ^ 7 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtselect.c gmtselect.c:186:56: warning: for loop has empty body [-Wempty-body] for (j = 2; argv[i][j] && argv[i][j] != '/'; j++); ^ gmtselect.c:186:56: note: put the semicolon on a separate line to silence this warning gmtselect.c:560:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && ! (GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ gmtselect.c:564:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ gmtselect.c:612:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inside = near_a_line (xx, yy, line, FALSE, NULL, NULL, NULL); ^ gmtselect.c:716:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_output, in); ^ 5 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtset.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grd2cpt.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grd2xyz.c grd2xyz.c:247:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (io.get_gmt_ij) (&io, ij, &gmt_ij); ^ grd2xyz.c:254:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (io.write_item) (GMT_stdout, d_value); ^ grd2xyz.c:318:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_out, out); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdblend.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdcut.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdclip.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdedit.c grdedit.c:261:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ 1 warning generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdfft.c grdfft.c:1069:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freq = (*get_k)(k); ^ 1 warning generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdgradient.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdhisteq.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdinfo.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdlandmask.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdmask.c grdmask.c:335:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ grdmask.c:338:104: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (GMT_io.status & GMT_IO_SEGMENT_HEADER && !(GMT_io.status & GMT_IO_EOF)) n_fields = GMT_input (fp, &n_expected_fields, &in); ^ grdmask.c:387:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ grdmask.c:436:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] distance = (GMT_distance_func) (x[k], y[k], x0, y0); ^ 4 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdtrack.c grdtrack.c:334:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { ^ grdtrack.c:338:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ grdtrack.c:404:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, 1, &value); ^ grdtrack.c:409:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_output, out); ^ 4 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdreformat.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdmath.c grdmath.c:423:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*call_operator[op]) (&info, stack, constant, factor, nstack - 1); /* Do it */ ^ grdmath.c:1711:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) near_a_line (info->grd_x[i], info->grd_y[j], line, TRUE, &d, NULL, NULL); ^ grdmath.c:2254:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stack[prev][k] = (float)(GMT_distance_func) (a, b, (double)info->grd_x[i], (double)info->grd_y[j]); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdpaste.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdproject.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdsample.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdtrend.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdvolume.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" makecpt.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" mapproject.c mapproject.c:630:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ mapproject.c:634:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ mapproject.c:719:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, *n_output, out); ^ mapproject.c:727:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ mapproject.c:731:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ mapproject.c:796:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = d_scale * (*distance_func) (Ctrl->G.lon, Ctrl->G.lat, in[0], in[1]); ^ mapproject.c:814:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) near_a_line (out[0], out[1], xyline, Ctrl->L.mode, &d, &xnear, &ynear); ^ mapproject.c:816:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) near_a_line (in[0], in[1], xyline, Ctrl->L.mode, &d, &xnear, &ynear); ^ mapproject.c:820:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (*azimuth_func) (Ctrl->A.lon, Ctrl->A.lat, in[0], in[1], Ctrl->A.reverse); ^ mapproject.c:859:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_out, out); ^ mapproject.c:895:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, *n_output, out); ^ 11 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" minmax.c minmax.c:281:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ minmax.c:286:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ minmax.c:357:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" nearneighbor.c nearneighbor.c:368:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ nearneighbor.c:402:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] distance = (GMT_distance_func) (x0[ii], y0[jj], in[0], in[1]); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" project.c project.c:556:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_outputs, out); ^ project.c:600:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ project.c:612:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ project.c:638:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ project.c:662:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ project.c:750:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_items, out); ^ 6 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" sample1d.c sample1d.c:296:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ sample1d.c:302:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ sample1d.c:344:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ sample1d.c:433:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_col, dout); ^ 4 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" spectrum1d.c spectrum1d.c:311:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ spectrum1d.c:501:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ spectrum1d.c:517:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ spectrum1d.c:532:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ spectrum1d.c:547:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ spectrum1d.c:562:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ spectrum1d.c:585:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ spectrum1d.c:600:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ spectrum1d.c:614:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, 3, out); ^ 9 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" splitxyz.c splitxyz.c:357:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ splitxyz.c:504:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fpout, n_outputs, out); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" surface.c surface.c:1031:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp_in, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ 1 warning generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" trend1d.c trend1d.c:501:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { ^ trend1d.c:573:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_outputs, out); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" trend2d.c trend2d.c:462:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { ^ trend2d.c:540:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, n_outputs, out); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" triangulate.c triangulate.c:285:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ triangulate.c:426:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, 2, out); ^ triangulate.c:428:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, 2, out); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" xyz2grd.c xyz2grd.c:405:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((io.read_item) (fp, &d_value)) (io.write_item) (fps, d_value); ^ xyz2grd.c:405:58: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((io.read_item) (fp, &d_value)) (io.write_item) (fps, d_value); ^ xyz2grd.c:416:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((io.read_item) (fp, &d_value)) { ^ xyz2grd.c:422:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (io.get_gmt_ij) (&io, ij, &gmt_ij); ^ xyz2grd.c:501:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { /* Not yet EOF */ ^ 5 warnings generated. cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" blockmean.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o blockmean ld: warning: blockmean.c(blockmean.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" blockmedian.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o blockmedian ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" blockmode.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o blockmode ld: warning: blockmode.c(blockmode.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" filter1d.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o filter1d ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_init.c(gmt_init.o:(load_encoding) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" fitcircle.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o fitcircle ld: warning: fitcircle.c(fitcircle.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdfilter.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdfilter ld: warning: gmt_cdf.c(gmt_cdf.o:(GMT_cdf_grd_info) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_io.c(gmt_io.o:(GMT_fopen) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtconvert.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o gmtconvert ld: warning: gmtconvert.c(gmtconvert.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmtconvert.c(gmtconvert.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmtconvert.c(gmtconvert.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtdefaults.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o gmtdefaults ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_init.c(gmt_init.o:(load_encoding) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtmath.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o gmtmath ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtselect.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o gmtselect ld: warning: gmtselect.c(gmtselect.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_init.c(gmt_init.o:(load_encoding) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmtset.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o gmtset ld: warning: gmt_support.c(gmt_support.o:(GMT_name2rgb) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_support.c(gmt_support.o:(GMT_old2newpen) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_support.c(gmt_support.o:(GMT_old2newpen) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grd2cpt.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grd2cpt ld: warning: grd2cpt.c(grd2cpt.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grd2xyz.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grd2xyz ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdblend.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdblend ld: warning: grdblend.c(grdblend.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdcut.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdcut ld: warning: grdcut.c(grdcut.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_support.c(gmt_support.o:(GMT_old2newpen) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdclip.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdclip ld: warning: gmt_customio.c(gmt_customio.o:(GMT_agc_read_grd_info) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_customio.c(gmt_customio.o:(GMT_agc_read_grd_info) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_support.c(gmt_support.o:(GMT_name2rgb) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdedit.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdedit ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_calclock.c(gmt_calclock.o:(GMT_format_calendar) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdfft.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdfft ld: warning: grdfft.c(grdfft.o:(parse_f_string)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: grdfft.c(grdfft.o:(do_spectrum)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdgradient.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdgradient ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdhisteq.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdhisteq ld: warning: grdhisteq.c(grdhisteq.o:(do_usual)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdinfo.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdinfo ld: warning: grdinfo.c(grdinfo.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdlandmask.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdlandmask ld: warning: grdlandmask.c(grdlandmask.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: grdlandmask.c(grdlandmask.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdmask.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdmask ld: warning: gmt_io.c(gmt_io.o:(GMT_fopen) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_ascii_input) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdtrack.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdtrack ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdreformat.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdreformat ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdmath.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdmath ld: warning: grdmath.c(grdmath.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdpaste.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdpaste ld: warning: grdpaste.c(grdpaste.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdproject.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdproject ld: warning: grdproject.c(grdproject.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdsample.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdsample ld: warning: grdsample.c(grdsample.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdtrend.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdtrend ld: warning: grdtrend.c(grdtrend.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdvolume.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o grdvolume ld: warning: grdvolume.c(grdvolume.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" makecpt.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o makecpt ld: warning: makecpt.c(makecpt.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" mapproject.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o mapproject ld: warning: mapproject.c(mapproject.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: mapproject.c(mapproject.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" minmax.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o minmax ld: warning: minmax.c(minmax.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_init.c(gmt_init.o:(load_encoding) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" nearneighbor.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o nearneighbor ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" project.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o project ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_init.c(gmt_init.o:(load_encoding) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" sample1d.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o sample1d ld: warning: gmt_io.c(gmt_io.o:(GMT_fopen) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_ascii_input) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" spectrum1d.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o spectrum1d ld: warning: spectrum1d.c(spectrum1d.o:(compute_spectra)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" splitxyz.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o splitxyz ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" surface.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o surface ld: warning: surface.c(surface.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: surface.c(surface.o:(write_output)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" trend1d.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o trend1d ld: warning: trend1d.c(trend1d.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" trend2d.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o trend2d ld: warning: trend2d.c(trend2d.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" triangulate.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o triangulate ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" xyz2grd.o -L. -lgmt -L/usr/local/lib -lnetcdf -lm -s -o xyz2grd ld: warning: xyz2grd.c(xyz2grd.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt2rgb.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdcontour.c grdcontour.c:686:21: warning: address of array 'Ctrl->W.pen[0].texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (Ctrl->W.pen[0].texture || Ctrl->W.pen[1].texture) ps_setdash (CNULL, 0); ~~~~~~~~~~~~~~~^~~~~~~ ~~ grdcontour.c:686:47: warning: address of array 'Ctrl->W.pen[1].texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (Ctrl->W.pen[0].texture || Ctrl->W.pen[1].texture) ps_setdash (CNULL, 0); ~~ ~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdimage.c grdimage.c:496:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*GMT_will_it_wrap) (xp, yp, plot_n, &start)) { /* Polygon wraps */ ^ grdimage.c:500:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_n_plot = (*GMT_truncate) (xp, yp, plot_n, start, -1); ^ grdimage.c:513:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_n_plot = (*GMT_truncate) (xp, yp, plot_n, start, +1); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdvector.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdview.c grdview.c:431:23: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (n_drape == 3 && !Ctrl->Q.mode == GRDVIEW_IMAGE) { ^ ~~ grdview.c:431:23: note: add parentheses after the '!' to evaluate the comparison first if (n_drape == 3 && !Ctrl->Q.mode == GRDVIEW_IMAGE) { ^ ( ) grdview.c:431:23: note: add parentheses around left hand side expression to silence this warning if (n_drape == 3 && !Ctrl->Q.mode == GRDVIEW_IMAGE) { ^ ( ) grdview.c:1483:21: warning: address of array 'Ctrl->W.pen[1].texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (Ctrl->W.pen[1].texture || Ctrl->W.pen[0].texture) ps_setdash (CNULL, 0); ~~~~~~~~~~~~~~~^~~~~~~ ~~ grdview.c:1483:47: warning: address of array 'Ctrl->W.pen[0].texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (Ctrl->W.pen[1].texture || Ctrl->W.pen[0].texture) ps_setdash (CNULL, 0); ~~ ~~~~~~~~~~~~~~~^~~~~~~ grdview.c:431:37: warning: result of comparison of constant 2 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if (n_drape == 3 && !Ctrl->Q.mode == GRDVIEW_IMAGE) { ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 4 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psbasemap.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psclip.c psclip.c:269:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ psclip.c:275:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ psclip.c:296:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pscoast.c pscoast.c:792:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, 2, out); ^ pscoast.c:842:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, 2, out); ^ pscoast.c:904:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (GMT_stdout, 2, out); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pshistogram.c pshistogram.c:354:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp_in, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { ^ 1 warning generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psimage.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pslegend.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psmask.c psmask.c:372:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected_fields, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { ^ psmask.c:375:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ psmask.c:410:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] distance = (GMT_distance_func) (x1, y1, x0, y0); ^ psmask.c:480:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*GMT_will_it_wrap) (xp, yp, plot_n, &start)) { /* Polygon wraps */ ^ psmask.c:484:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_n_plot = (*GMT_truncate) (xp, yp, plot_n, start, -1); ^ psmask.c:490:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_n_plot = (*GMT_truncate) (xp, yp, plot_n, start, +1); ^ psmask.c:589:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GMT_output (fp, 2, out); ^ 7 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psrose.c psrose.c:359:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ psrose.c:397:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psscale.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pstext.c cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pscontour.c pscontour.c:382:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ pscontour.c:421:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ 2 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pswiggle.c pswiggle.c:391:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ pswiggle.c:396:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ pswiggle.c:421:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected_fields, &in); ^ 3 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psxy.c psxy.c:528:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { ^ psxy.c:559:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ psxy.c:834:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ psxy.c:886:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ psxy.c:905:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ 5 warnings generated. cc -c -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psxyz.c psxyz.c:474:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((n_fields = GMT_input (fp, &n_expected, &in)) >= 0 && !(GMT_io.status & GMT_IO_EOF)) { ^ psxyz.c:505:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ psxyz.c:850:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ psxyz.c:905:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ psxyz.c:924:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_fields = GMT_input (fp, &n_expected, &in); ^ psxyz.c:976:18: warning: address of array 'Ctrl->W.pen.texture' will always evaluate to 'true' [-Wpointer-bool-conversion] if (Ctrl->W.pen.texture) ps_setdash (CNULL, 0); ~~ ~~~~~~~~~~~~^~~~~~~ psxyz.c:401:46: warning: result of comparison of constant 0 with boolean expression is always true [-Wtautological-constant-compare] if ((Ctrl->C.active || Ctrl->G.fill.rgb[0]) >= 0 && (S.symbol == GMT_SYMBOL_COLUMN || S.symbol == GMT_SYMBOL_CUBE)) { /* Modify the color for each facet */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ 7 warnings generated. cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" gmt2rgb.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o gmt2rgb ld: warning: gmt2rgb.c(gmt2rgb.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdcontour.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o grdcontour ld: warning: grdcontour.c(grdcontour.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: grdcontour.c(grdcontour.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdimage.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o grdimage ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdvector.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o grdvector ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" grdview.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o grdview ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psbasemap.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psbasemap ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psclip.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psclip ld: warning: psclip.c(psclip.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pscoast.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o pscoast ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pshistogram.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o pshistogram ld: warning: pshistogram.c(pshistogram.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: pshistogram.c(pshistogram.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psimage.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psimage ld: warning: psimage.c(psimage.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pslegend.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o pslegend ld: warning: pslegend.c(pslegend.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: pslegend.c(pslegend.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: pslegend.c(pslegend.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psmask.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psmask ld: warning: psmask.c(psmask.o:(dump_clip_contours)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: psmask.c(psmask.o:(dump_clip_contours)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psrose.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psrose ld: warning: psrose.c(psrose.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: psrose.c(psrose.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psscale.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psscale ld: warning: psscale.c(psscale.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: psscale.c(psscale.o:(GMT_draw_colorbar)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pstext.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o pstext ld: warning: pstext.c(pstext.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_set_units) in archive ./libgmt.a): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pscontour.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o pscontour ld: warning: pscontour.c(pscontour.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" pswiggle.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o pswiggle ld: warning: pswiggle.c(pswiggle.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_init.c(gmt_init.o:(GMT_parse_J_option) in archive ./libgmt.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psxy.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psxy ld: warning: psxy.c(psxy.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: psxy.c(psxy.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it cc -I/usr/local/include -O2 -pipe -DGMT_DEFAULT_PATH=\"/usr/local/share/gmt\" psxyz.o -L. -lgmt -lgmtps -lpsl -L/usr/local/lib -lnetcdf -lm -s -o psxyz ld: warning: psxyz.c(psxyz.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: psxyz.c(psxyz.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: gmt_grdio.c(gmt_grdio.o:(GMT_grd_init) in archive ./libgmt.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: gmt_io.c(gmt_io.o:(GMT_plot_C_format) in archive ./libgmt.a): warning: stpcpy() is dangerous; do not use it >>> Running package in graphics/gmt at 1732140202.08 ===> graphics/gmt ===> Faking installation for GMT4.1.3 if [ ! -s src/makegmt.macros ]; then echo "src/makegmt.macros is empty - you must rerun configure in the main GMT directory"; exit; fi cd src; make DESTDIR=/exopi-obj/pobj/GMT4.1.3/fake-amd64 all; cd .. if [ `cat makegmt.macros | wc -c` = 0 ]; then echo "src/makegmt.macros is empty - you must rerun configure in the main GMT directory"; exit; fi cd src; make DESTDIR=/exopi-obj/pobj/GMT4.1.3/fake-amd64 install; cd .. if [ `cat makegmt.macros | wc -c` = 0 ]; then echo "src/makegmt.macros is empty - you must rerun configure in the main GMT directory"; exit; fi if [ ! -d /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/bin ]; then mkdir -p /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/bin; fi for i in blockmean blockmedian blockmode filter1d fitcircle grdfilter gmtconvert gmtdefaults gmtmath gmtselect gmtset grd2cpt grd2xyz grdblend grdcut grdclip grdedit grdfft grdgradient grdhisteq grdinfo grdlandmask grdmask grdtrack grdreformat grdmath grdpaste grdproject grdsample grdtrend grdvolume makecpt mapproject minmax nearneighbor project sample1d spectrum1d splitxyz surface trend1d trend2d triangulate xyz2grd gmt2rgb grdcontour grdimage grdvector grdview psbasemap psclip pscoast pshistogram psimage pslegend psmask psrose psscale pstext pscontour pswiggle psxy psxyz; do /exopi-obj/pobj/GMT4.1.3/bin/install -c $i /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/bin; done /exopi-obj/pobj/GMT4.1.3/bin/install -c GMT /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/bin if [ ! -d /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib ]; then mkdir -p /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib; fi if [ ! /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib = /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/src ]; then rm -f /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib/libpsl.* /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib/libgmt.* /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib/libgmtps.*; /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 libpsl.a /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib; /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 libgmt.a /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib; /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 libgmtps.a /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib; if [ -f libpsl.so ]; then /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 libpsl.so /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib; /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 libgmt.so /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib; /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 libgmtps.so /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/lib; fi; fi if [ ! -d /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/include ]; then mkdir -p /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/include; fi if [ ! /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/include = /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/src ]; then for i in gmt.h gmt_common.h gmt_calclock.h gmt_time_systems.h gmt_math.h gmt_mgg_header2.h gmt_nan.h gmt_map.h gmt_proj.h gmt_init.h gmt_boundcond.h gmt_shore.h gmt_plot.h gmt_project.h gmt_grd.h gmt_colors.h gmt_grdio.h gmt_customio.h gmt_bcr.h gmt_symbol.h gmt_synopsis.h gmt_stat.h gmt_support.h gmt_vector.h gmt_contour.h gmt_unique.h gmt_keywords.h gmt_keycases.h gmt_io.h gmt_notposix.h gmt_notunix.h gmt_version.h gmt_grdformats.h gmt_ellipsoids.h gmt_datums.h; do /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 $i /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/include; done; for i in pslib.h pslib_inc.h; do /exopi-obj/pobj/GMT4.1.3/bin/install -c -m 444 $i /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/include; done; fi if [ ! /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/share = /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/share/gmt/share ]; then mkdir -p /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/share/gmt/share; cp -r share/* /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/share/gmt/share; cp -f share/.gmtdefaults_* /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/share/gmt/share; else echo "Install share directory the same as distribution share directory - nothing copied"; fi \rm -f manjob.sh set -e ; for d in dbase imgsrc meca mgd77 mgg misc segyprogs spotter x2sys x_system; do if [ -d src/$d ] ; then cd src/$d; for f in *.man; do \cp $f /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/man/manl; echo "mv $f $f" | sed -e 's/.man$/.l/g' >> /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; done; cd ../..; fi; done if [ -f manjob.sh ]; then cd man/manl; /bin/sh /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; rm -f /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; fi if [ -f manuninstall.sh ]; then rm -f /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manuninstall.sh; fi if [ ! /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/man/manl = /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/man/man1 ]; then mkdir -p /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/man/man1; cp man/manl/*.l /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/man/man1; cd /exopi-obj/pobj/GMT4.1.3/fake-amd64/usr/local/man/man1; echo "s/GMTMANSECTION/1/g" > sed.tmp; echo "s/(l)/(1)/g" >> sed.tmp; echo "s/ l / 1 /g" >> sed.tmp; for f in *.l; do echo "sed -f sed.tmp $f > tmp" >> /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; echo "rm -f $f" >> /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; echo "mv tmp $f" | sed -e 's/.l$/.1/g' >> /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; echo "rm -f $f" | sed -e 's/.l$/.1/g' >> /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manuninstall.sh; done; /bin/sh /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; rm -f /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh sed.tmp; cd /exopi-obj/pobj/GMT4.1.3/GMT4.1.3; else echo "Install man directory the same as distribution man directory - man section ID updated"; cd man/manl; echo "s/(l)/(1)/g" > sed.tmp; echo "s/ l / 1 /g" >> sed.tmp; echo "s/GMTMANSECTION/1/g" >> sed.tmp; for f in *.l; do echo "sed -f sed.tmp $f > $f.new" >> /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; echo "mv -f $f.new $f" >> /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; done; /bin/sh /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh; rm -f /exopi-obj/pobj/GMT4.1.3/GMT4.1.3/manjob.sh sed.tmp; cd /exopi-obj/pobj/GMT4.1.3/GMT4.1.3; fi ===> Building package for gmt-4.1.3p5 Create /exopi-cvs/ports/packages/amd64/all/gmt-4.1.3p5.tgz Creating package gmt-4.1.3p5 reading plist| checking dependencies| checking dependencies|math/netcdf checksumming| checksumming| | 0% checksumming| | 1% checksumming|* | 1% checksumming|* | 2% checksumming|** | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 4% checksumming|*** | 5% checksumming|*** | 6% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 9% checksumming|****** | 10% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 17% checksumming|*********** | 18% checksumming|*********** | 19% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 22% checksumming|************** | 23% checksumming|************** | 24% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|**************** | 27% checksumming|***************** | 27% checksumming|***************** | 28% checksumming|***************** | 29% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|******************** | 34% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 40% checksumming|************************* | 41% checksumming|************************* | 42% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|*************************** | 45% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|**************************** | 47% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 49% checksumming|****************************** | 50% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 58% checksumming|************************************ | 59% checksumming|************************************ | 60% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|****************************************** | 70% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 71% checksumming|******************************************** | 72% checksumming|******************************************** | 73% checksumming|********************************************* | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 76% checksumming|*********************************************** | 77% checksumming|*********************************************** | 78% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 81% checksumming|************************************************** | 82% checksumming|************************************************** | 83% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|***************************************************** | 88% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************* | 91% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|******************************************************** | 93% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 94% checksumming|********************************************************** | 95% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|*********************************************************** | 98% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************| 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|** | 3% archiving|** | 4% archiving|*** | 5% archiving|**** | 6% archiving|***** | 8% archiving|****** | 9% archiving|******* | 10% archiving|******** | 12% archiving|******** | 13% archiving|********* | 14% archiving|********** | 16% archiving|*********** | 17% archiving|************ | 18% archiving|************* | 20% archiving|************** | 21% archiving|************** | 22% archiving|*************** | 24% archiving|**************** | 25% archiving|***************** | 26% archiving|****************** | 28% archiving|******************* | 29% archiving|******************** | 31% archiving|******************** | 32% archiving|********************* | 33% archiving|********************** | 34% archiving|*********************** | 36% archiving|************************ | 37% archiving|************************* | 38% archiving|************************* | 40% archiving|************************** | 41% archiving|*************************** | 42% archiving|**************************** | 43% archiving|***************************** | 45% archiving|****************************** | 47% archiving|******************************* | 48% archiving|******************************** | 49% archiving|******************************** | 51% archiving|********************************* | 52% archiving|********************************** | 53% archiving|*********************************** | 54% archiving|************************************ | 56% archiving|************************************* | 58% archiving|************************************** | 59% archiving|*************************************** | 61% archiving|**************************************** | 62% archiving|***************************************** | 64% archiving|****************************************** | 65% archiving|******************************************* | 67% archiving|******************************************** | 69% archiving|********************************************* | 70% archiving|********************************************** | 72% archiving|*********************************************** | 73% archiving|************************************************ | 75% archiving|************************************************* | 77% archiving|************************************************** | 78% archiving|*************************************************** | 79% archiving|**************************************************** | 80% archiving|**************************************************** | 82% archiving|***************************************************** | 83% archiving|****************************************************** | 85% archiving|******************************************************* | 86% archiving|******************************************************** | 87% archiving|********************************************************* | 90% archiving|********************************************************** | 90% archiving|********************************************************** | 91% archiving|*********************************************************** | 91% archiving|*********************************************************** | 92% archiving|************************************************************* | 96% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/gmt-4.1.3p5.tgz `/exopi-obj/pobj/GMT4.1.3/fake-amd64/.fake_done' is up to date. ===> Building package for gmt-high-4.1.3p1 Create /exopi-cvs/ports/packages/amd64/all/gmt-high-4.1.3p1.tgz Creating package gmt-high-4.1.3p1 reading plist| checking dependencies| checking dependencies|graphics/gmt,-main checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|********** | 16% archiving|********************* | 32% archiving|******************************* | 49% archiving|****************************************** | 65% archiving|************************************************* | 76% archiving|**************************************************** | 81% archiving|************************************************************** | 97% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/gmt-high-4.1.3p1.tgz `/exopi-obj/pobj/GMT4.1.3/fake-amd64/.fake_done' is up to date. ===> Building package for gmt-full-4.1.3p1 Create /exopi-cvs/ports/packages/amd64/all/gmt-full-4.1.3p1.tgz Creating package gmt-full-4.1.3p1 reading plist| checking dependencies| checking dependencies|graphics/gmt,-main checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 4% archiving|***** | 7% archiving|******* | 11% archiving|********* | 14% archiving|*********** | 18% archiving|************** | 21% archiving|**************** | 25% archiving|****************** | 29% archiving|********************* | 32% archiving|*********************** | 36% archiving|************************* | 39% archiving|*************************** | 43% archiving|****************************** | 47% archiving|******************************** | 50% archiving|********************************** | 54% archiving|************************************* | 57% archiving|*************************************** | 61% archiving|***************************************** | 64% archiving|******************************************** | 68% archiving|********************************************** | 72% archiving|************************************************ | 75% archiving|************************************************* | 76% archiving|*************************************************** | 80% archiving|***************************************************** | 83% archiving|******************************************************* | 86% archiving|********************************************************* | 90% archiving|************************************************************ | 93% archiving|************************************************************** | 97% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/gmt-full-4.1.3p1.tgz >>> Running clean in graphics/gmt at 1732140228.01 ===> graphics/gmt ===> Cleaning for gmt-4.1.3p5 >>> Ended at 1732140228.42 max_stuck=2.38/depends=4.85/show-prepare-results=0.65/build=67.57/package=25.94/clean=0.43