Snippets for gmt 6.3.0 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/gmt/6.3.0_13/150amd64-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/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(); | ^