[distcc] New warnings in 2.17

Martin Pool mbp at sourcefrog.net
Mon Aug 2 05:17:13 GMT 2004


On  1 Aug 2004, Jean Delvare <khali at linux-fr.org> wrote:
> Hi all,
> 
> As I was upgrading to distcc 2.17, I noticed that compiling 2.17 would
> generate warnings that were not present in 2.16:
> 
> src/distcc.h:151: warning: `warn_unused_result' attribute directive ignored
> src/distcc.h:229: warning: `warn_unused_result' attribute directive ignored
> src/distcc.h:230: warning: `warn_unused_result' attribute directive ignored
> src/distcc.h:231: warning: `warn_unused_result' attribute directive ignored
> src/distcc.h:232: warning: `warn_unused_result' attribute directive ignored
> src/distcc.h:233: warning: `warn_unused_result' attribute directive ignored
> src/distcc.h:237: warning: `warn_unused_result' attribute directive ignored
> 
> For every file including this header file, of course.
> 
> It's only a warning, and I guess it shouldn't harm. But maybe it should
> be investigated and fixed?

I think it just needs a conditional on the gcc version.

> This is Slackware GNU/Linux 9.1, glibc 2.3.2, gcc 3.2.3.

Thanks.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20040801/59244349/attachment.bin


More information about the distcc mailing list