>>> spell.c:7958: warning: ignoring return value of 'fwrite', declared with
>>> attribute warn_unused_result
>>
> All the "new" warnings I see, with no exception, are for not using the 
> result of a function which returns a result of type warn_unused_result.
> 
> My first impression was that:
> - these warnings were probably related to the new define 
> FORTIFY_SOURCE=1, which is set at the very end of the configure run.
> - type warn_unused_result rather than char, int or whatever might have 
> been put in there by Bram to tell me that there will be a spurious warning.

Not by Bram; he didn't write the C library that contains fwrite. But
turning on FORTIFY_SOURCE made this annotation in the C library
effective to produce warnings.

Ben.




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui