Issue 7225: fwrite() compiler warnings (original) (raw)

Issue7225

Created on 2009-10-28 01:16 by benjamin.peterson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg94597 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-10-28 01:16
gcc 4.3.2 is currently coughing up warnings like this: Objects/object.c: In function 'internal_print': Objects/object.c:301: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result Objects/object.c:310: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result Python/marshal.c: In function 'w_string': Python/marshal.c:97: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result ./Modules/signalmodule.c: In function 'signal_handler': ./Modules/signalmodule.c:182: warning: ignoring return value of 'write', declared with attribute warn_unused_result
msg112630 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-03 16:56
I'm assuming that this is still an issue, sorry I don't have gcc 4.3.2 to try it out on.
msg116806 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-09-18 16:01
See also #1616 and #1621.
msg181033 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2013-01-31 15:52
I'm pretty sure this is invalid now.
History
Date User Action Args
2022-04-11 14:56:54 admin set github: 51474
2014-03-13 02:29:38 benjamin.peterson set status: open -> closedresolution: fixed
2014-02-03 18:41:16 BreamoreBoy set nosy: - BreamoreBoy
2013-01-31 15:52:35 Ramchandra Apte set nosy: + Ramchandra Aptemessages: +
2010-09-18 16:01:03 BreamoreBoy set messages: +
2010-08-03 16:56:52 BreamoreBoy set nosy: + BreamoreBoymessages: +
2010-08-03 14:16:05 djc set nosy: + djc
2009-10-28 01:16:19 benjamin.peterson create