When compiling with netcdf-cxx4 I have the following warning:
/home/mathieu/opt/netcdf-cxx4-4.3.1/include/ncGroup.h:18:14: warning: ‘netCDF::file_id’ defined but not used [-Wunused-variable]
18 | static int file_id;
When eliminating that line, everything goes fine and the warning disappears.
To report a non-security related issue, please provide:
the version of the software with which you are encountering an issue
When compiling with netcdf-cxx4 I have the following warning:
/home/mathieu/opt/netcdf-cxx4-4.3.1/include/ncGroup.h:18:14: warning: ‘netCDF::file_id’ defined but not used [-Wunused-variable] 18 | static int file_id;
When eliminating that line, everything goes fine and the warning disappears.
To report a non-security related issue, please provide:
If you have a general question about the software, please view our Suggested Support Process.