[New-bugs-announce] [issue7225] fwrite() compiler warnings

Benjamin Peterson report at bugs.python.org
Wed Oct 28 02:16:20 CET 2009


New submission from Benjamin Peterson <benjamin at python.org>:

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

----------
components: Build
messages: 94597
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: fwrite() compiler warnings
type: compile error
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7225>
_______________________________________


More information about the New-bugs-announce mailing list