Open TC01 opened 6 years ago
Just an update: the build can indeed be fixed by passing -Wno-cast-function-type
, but I don't know if this is a particularly sane thing to do. Unlike #25 this seems like something that might be an actual issue.
After some investigation I think the cast function type warning is firing because SIGNAL_FUNC
accepts up to six arguments but the calls here are only passing a handful, which makes me think that turning off the warning is the right thing to do. Just to be safe, I fired up a Fedora 28 chroot and tested this in there; it seems that quassel-irssi still functions.
I am a bit surprised that this warning hasn't (as far as I can tell) affected the build of irssi itself.
quassel-irssi's build failed in the Fedora 28 mass rebuild, which was done using gcc 8 and irssi 1.0.6. This seems to be due to setting the build flag
-Werror=cast-function-type
, e.g.:There are a bunch more of these sorts of errors in the build log.