Error building CVS on Tru64 UNIX

Albert Chin rsync at
Fri Feb 22 10:49:03 EST 2002

Latest CVS gives the following error with the Compaq C compiler on
Tru64 UNIX:
  cc -I. -I. -O2 -std1 -DHAVE_CONFIG_H -I./popt -c batch.c -o batch.o
  cc: Error: batch.c, line 408: In this statement, a common type could
  not be determined for the 2nd and 3rd operands ("&s->count" and
  "&int_zero") of a conditional operator. (badcondit)
          write_batch_csums_file(s ? &s->count : &int_zero, sizeof(int));
  gmake: *** [batch.o] Error 1

If I case &s->count to (unsigned int *), then it compiles.

albert chin (china at

More information about the rsync mailing list