diff --git a/CMakeLists.txt b/CMakeLists.txt index b41d1d63aa..6e99d7132d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.10) project(h5cpp LANGUAGES CXX C - # VERSION 0.7.1 + VERSION 0.8.0 # documentation for VERSION with one '.' is stored as v:latest (see doc/conf.py.in) - VERSION 0.7 + # VERSION 0.8 ) option(H5CPP_OLD_CMAKE "enable support for old cmake versions" OFF) diff --git a/README.md b/README.md index ef5c252bdb..f4265a342f 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ cmake -DCMAKE_INSTALL_PREFIX=/home/user1/some/path .. ``` and accordingly, when building the client program: ```bash -cmake -Dh5cpp_DIR=/home/user1/some/path/lib/cmake/h5cpp-0.7.1 path/to/your/source +cmake -Dh5cpp_DIR=/home/user1/some/path/lib/cmake/h5cpp-0.8.0 path/to/your/source ``` where version number may vary. diff --git a/doc/design/source/conf.py b/doc/design/source/conf.py index bc7b12c460..f9dc879bda 100644 --- a/doc/design/source/conf.py +++ b/doc/design/source/conf.py @@ -61,9 +61,9 @@ # built documents. # # The short X.Y version. -version = u'0.7.1' +version = u'0.8.0' # The full version, including alpha/beta/rc tags. -release = u'0.7.1' +release = u'0.8.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/source/conf.py.in b/doc/source/conf.py.in index 5da0723893..9580e0cf4c 100644 --- a/doc/source/conf.py.in +++ b/doc/source/conf.py.in @@ -196,6 +196,7 @@ html_sidebars = { html_context = { "docs_versions" : [ + "v0.8.0", "v0.7.1", "v0.7.0", "v0.6.1", "v0.6.0", "v0.5.2", "v0.5.1", "v0.5.0", "v0.4.1", "v0.3.3"] } diff --git a/doc/source/users_guide/installing.rst b/doc/source/users_guide/installing.rst index d0b0d8564b..f5e0244498 100644 --- a/doc/source/users_guide/installing.rst +++ b/doc/source/users_guide/installing.rst @@ -127,15 +127,16 @@ For Debian (Trixie) use .. code-block:: bash - $ wget http://repos.pni-hdri.de/trixie-pni-hdri.list + $ wget http://repos.pni-hdri.de/trixie-pni-hdri.sources -and for Ubuntu (Noble) +and for Ubuntu (Resolute) .. code-block:: bash - $ wget http://repos.pni-hdri.de/noble-pni-hdri.list + $ wget http://repos.pni-hdri.de/resolute-pni-hdri.sources -Similarly, proceed for Bookworm, Bullseye, Buster, Plucky, Jammy. +Similarly, proceed for Bookworm, Bullseye, Noble, Jammy. +For older releases the ATP source file has the .list extension. Once you have downloaded the file use .. code-block:: bash @@ -147,7 +148,7 @@ to update your package list and .. code-block:: bash - $ apt-get install libh5cpp0.7.1 libh5cpp0.7.1-dbg libh5cpp0.7.1-doc libh5cpp0.7.1-dev + $ apt-get install libh5cpp0.8.0 libh5cpp0.8.0-dbg libh5cpp0.8.0-doc libh5cpp0.8.0-dev -to install the library of v0.7.1. Dependencies will be resolved automatically so you can +to install the library of v0.8.0. Dependencies will be resolved automatically so you can start with working right after the installation has finished. diff --git a/doc/source/users_guide/using.rst b/doc/source/users_guide/using.rst index b1cfca4a37..6b7aaab8d6 100644 --- a/doc/source/users_guide/using.rst +++ b/doc/source/users_guide/using.rst @@ -7,7 +7,7 @@ Using *h5cpp* with :program:`cmake` *h5cpp* not only uses *CMake* as a build system but also provides a *CMake* package which makes using the library with *CMake* quite simple. -The *CMake* package is installed below :file:`PREFIX/lib/cmake/h5cpp-0.7.1` +The *CMake* package is installed below :file:`PREFIX/lib/cmake/h5cpp-0.8.0` where :envvar:`PREFIX` expands to the installation prefix used in the inital cmake call of the installation procedure. @@ -41,7 +41,7 @@ the following :file:`CMakeLists.txt` fiel is sufficient cmake_minimum_required(VERSION 3.5.0) project(h5cpp_test LANGUAGES C CXX - VERSION 0.7.1) + VERSION 0.8.0) set(CMAKE_CXX_STANDARD 11) find_package(h5cpp REQUIRED) @@ -56,7 +56,7 @@ You can build the code with h5cpp_test:$ mkdir build h5cpp_test:$ cd build - h5cpp_test:$ cmake -Dh5cpp_DIR=/lib/cmake/h5cpp-0.7.1 ../ + h5cpp_test:$ cmake -Dh5cpp_DIR=/lib/cmake/h5cpp-0.8.0 ../ h5cpp_test:$ make The cmake variable :envvar:`h5cpp_DIR` tells :program:`cmake` where to look diff --git a/src/h5cpp/core/fixed_length_string.hpp b/src/h5cpp/core/fixed_length_string.hpp index 1633bd9adb..5bae0e0745 100644 --- a/src/h5cpp/core/fixed_length_string.hpp +++ b/src/h5cpp/core/fixed_length_string.hpp @@ -153,8 +153,15 @@ struct FixedLengthStringTrait { return c == ' '; }) .base(); break; +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wcovered-switch-default" +#endif default: break; +#ifdef __clang__ +#pragma clang diagnostic pop +#endif } return DataType(buffer.begin(), end_it); }