#libconfig

Sergei Trofimovichtrofi@fosstodon.org
2025-05-01

Today's bug is minor `libconfig` test suite failure: github.com/hyperrealm/libconfi

There on 32-bit systems (and only on 32-bit ones) the config pretty-printer started prepending 32 leading zeros to binary integers:

bin_int = 0b000000000000000000000000000000001111;

instead of intended

bin_int = 0b1111;

Try to guess what the bug nature is before looking at the patch. I guessed wrong.

#libconfig #bug

2024-07-18

Super-glad I ditched the #libconfig dependency in the C++ project I was using it in. All the vcpkg maintainers have done since I reported the issue is put a tag on the report.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst