Good guess! It was as easy as this. Thanks. Still not sure why is this necessary now but it is easy enough, I guess.
Now, cppcheck finds new issues. The library flag and two reported findings are fixed in #1197. There is at least one more finding in `geanyctags/src/geanyctags.c` where I'm not yet sure what the problem is.