On Wed, 2005-06-22 at 16:57 +0100, Philip Hazel wrote:
> On Tue, 21 Jun 2005, John Horne wrote:
> >
> > ==============================================================
> > spool_in.c: In function 'spool_read_header':
> > spool_in.c:584: warning: ignoring return value of 'sscanf', declared
> > with attribute warn_unused_result
>
> I cannot find a gcc warning option to turn on this test.
>
'to turn off' I assume you mean :-) No I could see nothing obvious.
The changelog for the glibc on fedora core 4 has this:
* Thu Jan 06 2005 Jakub Jelinek <jakub@???> 2.3.4-5
- update from CVS
- add some warn_unused_result marking
- make ftruncate available even for just -D_POSIX_C_SOURCE=200112L
(BZ#640)
John.
--
---------------------------------------------------------------
John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
E-mail: John.Horne@??? Fax: +44 (0)1752 233839