summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2020-11-25 03:57:48 (GMT)
committerGitHub <noreply@github.com>2020-11-25 03:57:48 (GMT)
commit7b9c5e124ba8e5ca4a44fa57e90f291b043a0eb2 (patch)
tree6783fe7872225ea7a6c770ed6d965a2c1de43ca7 /release_docs
parentc56464fc36a78167c22b84e4cfef0e0c2aafce80 (diff)
downloadhdf5-7b9c5e124ba8e5ca4a44fa57e90f291b043a0eb2.zip
hdf5-7b9c5e124ba8e5ca4a44fa57e90f291b043a0eb2.tar.gz
hdf5-7b9c5e124ba8e5ca4a44fa57e90f291b043a0eb2.tar.bz2
Adds a configure/CMake option to control -Werror behavior (#119)
* Works in both Autotools and CMake * OFF by default * Reverts "always on" -Werror behavior released in 1.10.7
Diffstat (limited to 'release_docs')
-rw-r--r--release_docs/RELEASE.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 1b6a097..67fbe51 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -47,6 +47,28 @@ New Features
Configuration:
-------------
+ - Added a configure-time option to consider certain compiler warnings
+ as errors
+
+ A new configure-time option was added that converts some compiler warnings
+ to errors. This is mainly intended for library developers and currently
+ only works for gcc and clang. The warnings that are considered errors
+ will appear in the generated libhdf5.settings file. These warnings apply
+ to C and C++ code and will appear in "H5 C Flags" and H5 C++ Flags",
+ respectively. They will NOT be exported to h5cc, etc.
+
+ The default is OFF. Building with this option may fail when compiling
+ on operating systems and with compiler versions not commonly used by
+ the library developers. Compilation may also fail when headers not
+ under the control of the library developers (e.g., mpi.h, hdfs.h) raise
+ warnings.
+
+ Autotools: --enable-warnings-as-errors
+
+ CMake: HDF5_ENABLE_WARNINGS_AS_ERRORS
+
+ (DER - 2020/11/23, HDFFV-11189)
+
- Autotools and CMake target added to produce doxygen generated documentation
The default is OFF or disabled.