diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-08-23 15:48:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 15:48:14 (GMT) |
commit | f020d129b2ed173c8d0075d670214440013d7daf (patch) | |
tree | d5bc621f4469e0ee66f99c8d89f6de0813fc0a73 /config/gnu-warnings | |
parent | 21ec3378558cdc642ff49963c13ca18d8e49349c (diff) | |
download | hdf5-f020d129b2ed173c8d0075d670214440013d7daf.zip hdf5-f020d129b2ed173c8d0075d670214440013d7daf.tar.gz hdf5-f020d129b2ed173c8d0075d670214440013d7daf.tar.bz2 |
Corrects more Fortran warnings (#2059)
* Moves -Wunused-dummy-arguments to the developer warnings since this
generates a lot of spurious, unfixable noise due to things like
callback wrappers
* Changes the return cast in h5fget_fileno_c, fixes a comment, and comment
on potential badness
* Initializes a variable in tH5L_F03.F90 to quiet a 'maybe
uninitialized' warning
Diffstat (limited to 'config/gnu-warnings')
-rw-r--r-- | config/gnu-warnings/gfort-developer-5 (renamed from config/gnu-warnings/developer-gfort-5) | 0 | ||||
-rw-r--r-- | config/gnu-warnings/gfort-developer-general | 3 | ||||
-rw-r--r-- | config/gnu-warnings/gfort-no-developer-general | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/config/gnu-warnings/developer-gfort-5 b/config/gnu-warnings/gfort-developer-5 index c5d3850..c5d3850 100644 --- a/config/gnu-warnings/developer-gfort-5 +++ b/config/gnu-warnings/gfort-developer-5 diff --git a/config/gnu-warnings/gfort-developer-general b/config/gnu-warnings/gfort-developer-general new file mode 100644 index 0000000..dde15fe --- /dev/null +++ b/config/gnu-warnings/gfort-developer-general @@ -0,0 +1,3 @@ +# There is no easy way in Fortran to indicate parameters are intentionally +# unused and many callbacks will have these, generating a lot of noise. +-Wunused-dummy-argument diff --git a/config/gnu-warnings/gfort-no-developer-general b/config/gnu-warnings/gfort-no-developer-general new file mode 100644 index 0000000..bfcba22 --- /dev/null +++ b/config/gnu-warnings/gfort-no-developer-general @@ -0,0 +1,3 @@ +# There is no easy way in Fortran to indicate parameters are intentionally +# unused and many callbacks will have these, generating a lot of noise. +-Wno-unused-dummy-argument |