diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-07-27 19:11:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 19:11:46 (GMT) |
commit | 2bb4c909c4c63cf87d10c494cd76d57092d45335 (patch) | |
tree | e5da9e282045d3b17921169e00bb4164aa31bedc /config/intel-warnings | |
parent | 17a5a1a37ccc851ca9123b2921fbae15c4814edf (diff) | |
download | hdf5-2bb4c909c4c63cf87d10c494cd76d57092d45335.zip hdf5-2bb4c909c4c63cf87d10c494cd76d57092d45335.tar.gz hdf5-2bb4c909c4c63cf87d10c494cd76d57092d45335.tar.bz2 |
Fix some warnings in developer builds (#3247) (#3291)
* Fix some warnings in developer builds
* Switch approach to Winline flag
Diffstat (limited to 'config/intel-warnings')
-rw-r--r-- | config/intel-warnings/developer-general | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/intel-warnings/developer-general b/config/intel-warnings/developer-general index fae56f0..861218e 100644 --- a/config/intel-warnings/developer-general +++ b/config/intel-warnings/developer-general @@ -1,4 +1,11 @@ --Winline -Wreorder -Wport -Wstrict-aliasing +# -Winline warnings aren't included here because, for at least +# GNU compilers, this flag appears to conflict specifically with +# the -Og optimization level flag added for Debug and Developer +# builds and will produce warnings about functions not being +# considered for inlining. The flag will be added to the list +# of compiler flags separately if developer warnings are enabled +# and the build type is not Debug or Developer +#-Winline |