On Tue, Nov 24, 2009 at 8:51 PM, Keith Rarick <[email protected]> wrote: > On Tue, Nov 24, 2009 at 11:18 AM, Graham Barr <[email protected]> wrote: >> I agree this would be the correct fix for the compiler warnings > > Will fix.
I spoke too soon. Johan's patch returns me to my original state: $ make make all-am make[1]: Entering directory `/home/kr/src/beanstalkd' gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -Werror -I/usr/include -c -o binlog.o binlog.c cc1: warnings being treated as errors binlog.c: In function ‘binlog_close’: binlog.c:264: error: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result make[1]: *** [binlog.o] Error 1 make[1]: Leaving directory `/home/kr/src/beanstalkd' make: *** [all] Error 2 I don't know how to suppress just this instance of this warning without breaking the build somewhere. kr -- You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
