Snippets for gmt 6.3.0 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/gmt/6.3.0_13/150arm64-default.log.
-
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_remote.c:599:41: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 599 | res = curl_easy_getinfo (curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &filesize); | ^ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_remote.c:645:7: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 645 | if (curl_easy_setopt (Curl, CURLOPT_TIMEOUT, time_out)) { | ^ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_gdalread.c:1028:15: warning: 'GDALGetDataTypeSize' is deprecated: Use GDALGetDataTypeSizeBits() or GDALGetDataTypeSizeBytes() * 8 instead [-Wdeprecated-declarations] 1028 | nPixelSize = GDALGetDataTypeSize(GDALGetRasterDataType(hBand)) / 8; /* /8 because return value is in BITS */ | ^ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_support.c:3456:14: warning: passing arguments to 'triangulate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3456 | triangulate ("zIQBD", &In, &Out, &vorOut); | ^ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_support.c:3526:14: warning: passing arguments to 'triangulate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3526 | triangulate ("zIQBvDj", &In, &Out, &vorOut); | ^ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_gdalcall.c:177:15: warning: 'GDALGetDataTypeSize' is deprecated: Use GDALGetDataTypeSizeBits() or GDALGetDataTypeSizeBytes() * 8 instead [-Wdeprecated-declarations] 177 | nPixelSize = GDALGetDataTypeSize(GDALGetRasterDataType(hBand)) / 8; /* /8 because return value is in BITS */ | ^ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_map.c:1819:19: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] 1819 | if (x_type[p] == -1) { /* Must add path from this exit to the next entry */ | ~~~~~~~~~ ^ ~~ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_map.c:7513:16: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] 7513 | if (way[k] == -2 || way[k] == +2) { /* Jump in y for TM */ | ~~~~~~ ^ ~~ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_map.c:7515:17: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] 7515 | if (way[k] == -2) { /* Add top border point first */ | ~~~~~~ ^ ~~ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/gmt_init.c:2410:55: warning: result of comparison of constant 'GMT_NOTSET' (-1) with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] 2410 | for (i = n = 0; i < GMT_MAX_COLUMNS; i++) if (tmp[i] != GMT_NOTSET) GMT->current.io.io_nan_col[n++] = (unsigned int)i; | ~~~~~~ ^ ~~~~~~~~~~ -
/wrkdirs/usr/ports/graphics/gmt/work/gmt-6.3.0/src/seis/pscoupe.c:192:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 192 | double xn, xe, xz, x1, x2, x3, meca_zero_360(); | ^