hdf5/config/gnu-warnings
David Young 779ab44aa0
Re-promote some GNU warnings to errors (#1508)
* Promote some GCC warnings back to errors and deal with build breakage.
I tested configuring and building with GCC 8.3.0 with

`.../configure --prefix=$HOME/wrk/install/manydsets --enable-build-mode=production --enable-symbols=-gdwarf-4 --enable-warnings-as-errors --enable-java --enable-hl --enable-fortran --enable-cxx --enable-mirror-vfd --enable-ros3-vfd --enable-direct-vfd`

and with the same options but `--enable-build-mode=debug`.

* Promote -Wrestrict to -Werror=restrict to help catch overlapping
arguments to strcpy, memcpy, et cetera, at compile time.

* NFCI: sort lines.

* Committing clang-format changes

* NFCI: remove whitespace at EOL.

* Re-use temporary variable `shared`.

* Remove merge oopsie.

* Mention that no op codes are understood per review comment.

* Change this back to the develop branch's way, since this change isn't
integral to the PR.

* Committing clang-format changes

* NFCI: reduce differences with `develop` branch in the hope that that
also kicks off CI.

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
2022-05-06 16:26:48 -07:00
..
4.8 Add compiler flags for GCC 10, along with updating warnhist script to accommodate them. (#217) 2020-12-21 12:57:18 -06:00
4.8-4.last Revise gnu-*flags and cmake/HDF*CompilerFlags.cmake files to add warning 2020-05-18 14:28:51 -05:00
4.9
5
6
7 Re-promote some GNU warnings to errors (#1508) 2022-05-06 16:26:48 -07:00
8
9
9.3 Add compiler flags for GCC 10, along with updating warnhist script to accommodate them. (#217) 2020-12-21 12:57:18 -06:00
cxx-4.8 Add compiler flags for GCC 10, along with updating warnhist script to accommodate them. (#217) 2020-12-21 12:57:18 -06:00
cxx-4.9 Organize and align compiler flags (#741) 2021-06-10 22:51:15 -05:00
cxx-5 TRILAB-244 separate CXX warnings and errors from C 2020-04-23 14:32:29 -05:00
cxx-9 Organize and align compiler flags (#741) 2021-06-10 22:51:15 -05:00
cxx-developer-4.8 Move test utilities to utils/test folder (#1109) 2021-10-20 08:25:06 -05:00
cxx-error-5 TRILAB-244 separate CXX warnings and errors from C 2020-04-23 14:32:29 -05:00
cxx-error-general TRILAB-244 separate CXX warnings and errors from C 2020-04-23 14:32:29 -05:00
cxx-general Fixes for format string warnings raised by -Wformat=2/-Wformat-security (#1489) 2022-03-11 13:10:20 -06:00
developer-4.8 Removes unsuffixed float warnings 2020-08-07 11:50:22 -07:00
developer-7
developer-8
developer-10 Removed -fanalyzer from the gcc 10 developer options (#744) 2021-06-10 12:26:41 -05:00
developer-general Fixes for format string warnings raised by -Wformat=2/-Wformat-security (#1489) 2022-03-11 13:10:20 -06:00
developer-gfort-5 Github #1019 - add Fortran developer flags (#1090) 2021-10-27 16:32:33 -05:00
error-5 Move -Werror=int-conversion from error-general to error-5 in (#1194) 2021-11-13 22:11:25 -06:00
error-7 Re-promote some GNU warnings to errors (#1508) 2022-05-06 16:26:48 -07:00
error-8 Re-promote some GNU warnings to errors (#1508) 2022-05-06 16:26:48 -07:00
error-general Re-promote some GNU warnings to errors (#1508) 2022-05-06 16:26:48 -07:00
general Fixes for format string warnings raised by -Wformat=2/-Wformat-security (#1489) 2022-03-11 13:10:20 -06:00
gfort-4.8 Revise gnu-*flags and cmake/HDF*CompilerFlags.cmake files to add warning 2020-05-18 14:28:51 -05:00
gfort-6 TRILAB-192 add c++ and fortran warnings build systems one file 2020-04-05 10:50:08 -05:00
gfort-8 TRILAB-192 add c++ and fortran warnings build systems one file 2020-04-05 10:50:08 -05:00
gfort-general Remove flag from gfort-general in gfort-5, add /EHsc to Win C++ 2020-04-06 16:12:43 -05:00
no-cxx-developer-4.8 Move test utilities to utils/test folder (#1109) 2021-10-20 08:25:06 -05:00
no-developer-4.8 Removes unsuffixed float warnings 2020-08-07 11:50:22 -07:00
no-developer-8
no-developer-general Moved -Woverlength-strings to the developer flags. 2020-04-26 04:22:12 -07:00