diff options
author | David Young <dyoung@hdfgroup.org> | 2020-01-29 19:51:52 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-01-29 19:51:52 (GMT) |
commit | 43d41633a1ebfb77e5b7f688f31a2be20271300f (patch) | |
tree | b4989bdaf2814eae918d379a36c2ef7fbd0e0b17 /src/H5detect.c | |
parent | 0d6e02588879a6ff2afcfabcf7090e39e59accf7 (diff) | |
parent | fa1b2f6ef35c459c9f74ead885c119ae7f61c056 (diff) | |
download | hdf5-43d41633a1ebfb77e5b7f688f31a2be20271300f.zip hdf5-43d41633a1ebfb77e5b7f688f31a2be20271300f.tar.gz hdf5-43d41633a1ebfb77e5b7f688f31a2be20271300f.tar.bz2 |
Merge pull request #2318 in HDFFV/hdf5 from ~DYOUNG/werror:reduce-werror-diffs-1 to develop
* commit 'fa1b2f6ef35c459c9f74ead885c119ae7f61c056':
Reduce differences between my -Werror branch and `develop`:
Diffstat (limited to 'src/H5detect.c')
-rw-r--r-- | src/H5detect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5detect.c b/src/H5detect.c index d01ee9f..655b05c 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -49,7 +49,7 @@ static const char *FileHeader = "\n\ /* Disable warning about cast increasing the alignment of the target type, * that's _exactly_ what this code is probing. -QAK */ -#pragma GCC diagnostic ignored "-Wcast-align" +H5_GCC_DIAG_OFF(cast-align) #if defined(__has_attribute) # if __has_attribute(no_sanitize_address) @@ -1707,3 +1707,4 @@ main(int argc, char *argv[]) return EXIT_SUCCESS; } +H5_GCC_DIAG_ON(cast-align) |