Bug in rsync 2.6.1

Gordon Lack gml4410 at ggr.co.uk
Wed Apr 28 15:33:15 GMT 2004

    It fails to compile on Irix (compiler 7.2.1).

    Whereas rsync.h has a #define for __attribute__(x) to remove it for 
non GNUC and APPLE, this isn't used when compiling popt/popt.c, so it 
produces an error as it doesn't like __attribute__((__unused__)) showing 
up in the parameter list for poptAddAlias.  popthelp.c also uses UNUSED.

    A workaround was to copy the #define setting of __attribute__ from 
the ../rsync.h file into poptint.h

More information about the rsync mailing list