Warnings on ignored returned values

Nate Gallaher ngallaher at deepthought.org
Mon Mar 22 08:21:14 CDT 2010


Alexandre Julliard wrote:
> Octavian Voicu <octavian.voicu at gmail.com> writes:
>
>   
>> Hello,
>>
>> I'm trying to compile wine with --enable-maintainer-mode and I get
>> lots of errors like `ignoring return value of ‘xxx’, declared with
>> attribute warn_unused_result'. I would like to submit a few patches to
>> fix them.
>>     
>
> Please don't. The warnings are spurious. Just disable fortify, or don't
> use maintainer mode (you don't need it).
>
>   
Should --enable-maintainer-mode be purged then, or should some 
additional flag magic be added?  I ran into this a long time ago as well 
and made the assumption that it had bitrotted.

~Nate



More information about the wine-devel mailing list