On So, 25 Nov 2018, John Little wrote:
> Posting this in case somebody else falls down the same rabbit hole I did.
>
> I've compiled vim with gcc -Wextra for many years, uncommenting a line in the
> distributed Makefile to enable this and a few other strict warnings.
> Yesterday upon getting the latest source and compiling I got lots, 44, of
> -Wcast-function-type warnings. The warnings are sort of valid; in the case I
> looked at there's a mismatch of the number of parameters in a function
> pointer, but the missing one is not used anyway.
>
> One of the cases is in GTK code, which we're unlikely to get changed, so I
> suppose we should just ignore these warnings. Other projects are doing this.
> So, if one wants to use -Wextra, I suggest adding -Wno-cast-function-type as
> well.
>
> Maybe the comment line in the Makefile could be changed.
Thanks for that. I just stumbled over those warnings :(
Best,
Christian
--
Vor Frauenzimmern darf man bloß Männer loben.
-- Jean Paul
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.