[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Is it OK to have compile warnings



Hi, 

Is it OK to have compile warnings when building a package? If not,

how can I fix the following:

dial.c: In function 'main':
dial.c:273:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(fd, buf, bufidx);

I got a bunch of such ignoring-return-value warnings. 

Thanks



Reply to: