[BUG] Build Error
sclel016 opened this issue · 3 comments
sclel016 commented
Description
Compiler error when trying to build master(dc196ef) on Fedora 34.
To Reproduce
Steps to reproduce the behavior:
- Clone Repository to system running Fedora 34
cd swaystatus/src
make -j4
- See error
Expected behavior
Build should complete without errors.
Actual behavior
handle_click_events.cc:83:40: error: use of undeclared identifier 'JSON_TOKENER_ALLOW_TRAILING_CHARS'
json_tokener_set_flags(parser, JSON_TOKENER_ALLOW_TRAILING_CHARS);
Desktop:
- Fedora 34
swaystatus
version: Latestjson-c-devel
: 0.14-8.fc34
NobodyXu commented
I have removed the use of this flag in main a4f28b9, now it should compile without any error.
sclel016 commented
Works now, thanks!
NobodyXu commented
No worries.
A new release 0.3.1 is created that fixed this issue.