hdf5/config/cmake_ext_mod
David Young 174f4275ba
To reduce maintenance effort, delete the noerror- variants of the compiler flags files (#1033)
* 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.
2021-10-06 16:24:22 -05:00
..
ConfigureChecks.cmake Develop windows compiler fixes (#912) 2021-08-19 15:56:37 -05:00
CTestCustom.cmake CMake cleanup 2020-02-21 15:14:42 -06:00
FindSZIP.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
GetTimeOfDayTest.cpp Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
grepTest.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
hdf.bmp [svn-r27540] Replace svn:externals with hard copy of files 2015-08-20 12:03:29 -05:00
hdf.icns [svn-r27540] Replace svn:externals with hard copy of files 2015-08-20 12:03:29 -05:00
hdf.ico [svn-r27540] Replace svn:externals with hard copy of files 2015-08-20 12:03:29 -05:00
HDFLibMacros.cmake Develop libaec up (#1037) 2021-09-28 07:59:07 -05:00
HDFMacros.cmake To reduce maintenance effort, delete the noerror- variants of the compiler flags files (#1033) 2021-10-06 16:24:22 -05:00
HDFTests.c Removes obsolete equivalents of C99's __func__ (#800) 2021-06-28 23:58:38 -05:00
HDFUseFortran.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
NSIS.InstallOptions.ini.in [svn-r27540] Replace svn:externals with hard copy of files 2015-08-20 12:03:29 -05:00
NSIS.template.in [svn-r27540] Replace svn:externals with hard copy of files 2015-08-20 12:03:29 -05:00
runTest.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
version.plist.in [svn-r27540] Replace svn:externals with hard copy of files 2015-08-20 12:03:29 -05:00