Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions doc/design/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions doc/source/conf.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
13 changes: 7 additions & 6 deletions doc/source/users_guide/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
6 changes: 3 additions & 3 deletions doc/source/users_guide/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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)
Expand All @@ -56,7 +56,7 @@ You can build the code with

h5cpp_test:$ mkdir build
h5cpp_test:$ cd build
h5cpp_test:$ cmake -Dh5cpp_DIR=<INSTALLPREFIX>/lib/cmake/h5cpp-0.7.1 ../
h5cpp_test:$ cmake -Dh5cpp_DIR=<INSTALLPREFIX>/lib/cmake/h5cpp-0.8.0 ../
h5cpp_test:$ make

The cmake variable :envvar:`h5cpp_DIR` tells :program:`cmake` where to look
Expand Down
7 changes: 7 additions & 0 deletions src/h5cpp/core/fixed_length_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,15 @@ struct FixedLengthStringTrait<std::string>
{ 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);
}
Expand Down
Loading