Closed maxrbriggs closed 3 years ago
As you say, this happens because id3lib defines bool
as int
, while the unicode library defines bool
using stdbool.h
, which defines bool
using a gcc extension on Arch.
This has to be fixed in id3lib (and there are similar reports on their mailing list form a long time ago), but id3lib is unmaintained so that is unlikely to happen in upstream.
I guess we'll have to port castget to taglib.
Confirmed that this now builds on Arch Linux.
Building from git according to the readme instructions fails on Arch Linux during make.
It seems to be a conflict between the unicode library's usage of stdbool and id3lib's own definition of the type. I've tried compiling after removing the relevant block from /usr/include/id3/globals.h, and have successfully built castget with no errors.