Re: Bug in rsync 2.6.1

2004-04-29 Thread Wayne Davison
On Wed, Apr 28, 2004 at 04:33:15PM +0100, Gordon Lack wrote: >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 I added the alluded-to #define section from rsync.h to the popt/system.h file, which should fix th

Bug in rsync 2.6.1

2004-04-28 Thread Gordon Lack
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 pop