mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +08:00
174f4275ba
* Avoid maintenance headaches: delete the `noerror-` variants of the compiler flags files, since they essentially duplicate the `error-` files modulo the replacement of `-Werror=` with `-W` and any changes in comments. (I verified the duplication with a script.) For autoconf, reinstate the use of the `demote_errors` shell function to derive the `noerror-` content from the `error-` content. `demote_errors` replaces `-Werror=` with `-W` when `WARNINGS_AS_ERRORS` is `no`. Slightly reorder `configure.ac` so that the setting of `WARNINGS_AS_ERRORS` takes effect before the `error-` files are sourced. * Take a stab at updating the CMake files to match the changes I made to the autoconf files to remove `noerror-` files. I'm not much of a CMake user so these changes are quite rough. Looks like the duplication can be reduced with the introduction of a new macro. * Delete `noerror-` files from the MANIFEST. * Reduce duplication in the CMake files: perform the HDF5_ENABLE_WARNINGS_AS_ERRORS test once in the ADD_H5_FLAGS macro. * Add a release note. |
||
---|---|---|
.. | ||
ConfigureChecks.cmake | ||
CTestCustom.cmake | ||
FindSZIP.cmake | ||
GetTimeOfDayTest.cpp | ||
grepTest.cmake | ||
hdf.bmp | ||
hdf.icns | ||
hdf.ico | ||
HDFLibMacros.cmake | ||
HDFMacros.cmake | ||
HDFTests.c | ||
HDFUseFortran.cmake | ||
NSIS.InstallOptions.ini.in | ||
NSIS.template.in | ||
runTest.cmake | ||
version.plist.in |