← All tasks
cppzealdocs/zeal #1958Not a task: not reproduced

Toml++ only ships toml.h (not toml.hpp) in versions older than 3.4

envgap__zealdocs__zeal-1958

01 / FAILURE SIGNATURE

As reported upstream

ERROR:
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
e0eeabd301960e7b5f62ea2788c6530094c7b582
Manifest
src/libs/core/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

zealdocs/zeal #1958 · read the original issue
I'm using Debian 12 (Bookworm) with libtomlplusplus-dev (v3.3) and the build systems fails to include toml.hpp because the development library only ships toml.h and it is looking for toml.hpp

However, in Debian 13 (Trixe) and unstable, with version 3.4, they ship both header files.

It seems like it would be better to look for toml.h and possibly  have a compatibility symlink in the contrib directory that links to toml.hpp for consistency.

```
$ apt-cache policy libtomlplusplus-dev
libtomlplusplus-dev:
  Installed: 3.3.0+ds-1
  Candidate: 3.3.0+ds-1
  Version table:
 *** 3.3.0+ds-1 1090
       1090 https://deb.debian.org/debian bookworm/main amd64 Packages

$ ls /usr/include/toml++
.  ..  impl  toml.h

ERROR:
/build/zeal/src/libs/core/session.cpp:15:10: fatal error: toml++/toml.hpp: No such file or directory
   15 | #include <toml++/toml.hpp>
```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]