[ 49%] Building CXX object frmts/netcdf/CMakeFiles/gdal_netCDF.dir/netcdfdataset.cpp.o
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:466:42: error: use of undeclared identifier '_FillValue'
int status = nc_inq_att(cdfid, nZId, _FillValue, &atttype, &attlen);
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:469:26: error: use of undeclared identifier '_FillValue'
pszNoValueName = _FillValue;
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1220:13: error: use of undeclared identifier '_FillValue'
_FillValue, "coordinates", nullptr};
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1538:56: error: use of undeclared identifier '_FillValue'
status = nc_put_att_schar(cdfid, nZId, _FillValue, nc_datatype,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1545:56: error: use of undeclared identifier '_FillValue'
status = nc_put_att_uchar(cdfid, nZId, _FillValue, nc_datatype,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1552:52: error: use of undeclared identifier '_FillValue'
status = nc_put_att_short(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1558:50: error: use of undeclared identifier '_FillValue'
status = nc_put_att_int(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1564:52: error: use of undeclared identifier '_FillValue'
status = nc_put_att_float(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1574:53: error: use of undeclared identifier '_FillValue'
status = nc_put_att_ushort(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1582:51: error: use of undeclared identifier '_FillValue'
status = nc_put_att_uint(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1588:53: error: use of undeclared identifier '_FillValue'
status = nc_put_att_double(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1667:55: error: use of undeclared identifier '_FillValue'
status = nc_put_att_longlong(cdfid, nZId, _FillValue, nc_datatype,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1674:53: error: use of undeclared identifier '_FillValue'
status = nc_put_att_double(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1753:56: error: use of undeclared identifier '_FillValue'
status = nc_put_att_ulonglong(cdfid, nZId, _FillValue, nc_datatype,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:1760:53: error: use of undeclared identifier '_FillValue'
status = nc_put_att_double(cdfid, nZId, _FillValue, nc_datatype, 1,
^
/Users/admin/Documents/PostgresApp/src-17/gdal-3.8.5/frmts/netcdf/netcdfdataset.cpp:10084:9: error: use of undeclared identifier '_FillValue'
_FillValue, "coordinates", nullptr};
^
OS: macOS 14 with XCode CLT 15.3
Building netcdf-c 4.9.3-rc1 (with
-DNETCDF_ENABLE_HDF5=OFF -DNETCDF_BUILD_UTILITIES=OFF) works successfully, one failed test, see #3027.Building GDAL 3.8.5 against that fials with
error: use of undeclared identifier '_FillValue'. Doing the same against netcdf 4.9.2 builds successfully.Build log