rsync v2.6.9: small patch fixing NORETURN failures

Wayne Davison wayned at samba.org
Tue Nov 21 22:34:06 GMT 2006


On Tue, Nov 21, 2006 at 09:45:01PM +0100, ThMO wrote:
> as of gcc v2.7.2.1, the noreturn attribute needs to be given
> *after* the prototype declaration and not before, but for
> gcc v3.x, things changed for this attribute again, since
> gcc v2.5.x did it the way, newer gcc versions prefer it...

Thanks for pointing this out.  The proto.h file is auto-generated, so we
can't make changes to it that don't come from the C source.  I decided
to just commit a change that makes older gcc versions ignore the
NORETURN attribute.  

..wayne..


More information about the rsync mailing list