|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH]: gdbsx: Check return of write()
 
On Tue, Nov 02, Bruce Edge wrote:
> o-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF
> .gx_local.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror
> -Wmissing-prototypes  -c -o gx_local.o gx_local.c
> cc1: warnings being treated as errors
> gx_comm.c: In function ‘gx_getpkt’:
> gx_comm.c:230: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result
> gx_comm.c:236: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result
With the patch applied, the line number 236 should be 237.
Please apply the suggested patch, its not upstream yet.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |