-Wno-unused-result is the GCC option you are looking for...

On Jan 18, 2011, at 3:03 AM, MacArthur, Ian (SELEX GALILEO, UK) wrote:

> 
> This'll depend on what headers you have installed for glibc I guess, but
> I doubt we can get rid of all the "declared with attribute
> warn_unused_result" warnings unless we either alter the code, or maybe
> there's some compiler option to tell gcc to just shut up about them?
> 
> Most of them are just noise from recent gcc/glibc versions...
> 
> I daresay they would argue that the warnings are helpful, but I remain
> unconvinced!
> 
> 
> 
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
> 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
> 
> _______________________________________________
> fltk-dev mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk-dev

________________________________________
Michael Sweet, Easy Software Products

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to