Attribute Deprecated


#1

I get this warning when I compile my script:

note: because ‘H5::Attribute’ has user-provided ‘H5::Attribute::Attribute(const H5::Attribute&)’
33 | Attribute(const Attribute& original);
/data/alucard/src/SyncListHDF.cpp:70:46: warning: implicitly-declared ‘H5::Attribute& H5::Attribute::operator=(const H5::Attribute&)’ is deprecated [-Wdeprecated-copy]

The line sparking this issue is the include of

/usr/include/hdf5/serial/H5Cpp.h:34

My Version of h5c++:

$ h5c++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0