You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the installation of netcdf-cxx4, one finds the funny file /usr/include/netcdf without a file name extension. Is that an include file? If yes, it should be probably be names .h or .hpp.
The text was updated successfully, but these errors were encountered:
Yes, that's an include file. It can't be named netcdf.h, as that would overwrite the netCDF C include file with the same name. All the example/*.cpp files use "#include ", and the author of this generic include file named it "netcdf" as a way to indicate it was pure preprocessor code. If we renamed it "netcdf.hh" or "netcdf.hpp", I think for backward compatibility we would have to also have a symbolic link to the extension-less file "netcdf". I guess there's a slight advantage of including the extra file with the symbolic link, because we could deprecate the use of "include ", but it doesn't seem worth the trouble.
In the installation of netcdf-cxx4, one finds the funny file
/usr/include/netcdf
without a file name extension. Is that an include file? If yes, it should be probably be names.h
or.hpp
.The text was updated successfully, but these errors were encountered: