Displaying 3 results from an estimated 3 matches for "badcondit".
2002 Feb 22
1
Error building CVS on Tru64 UNIX
...ler 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@thewrittenword.com)
2002 Mar 22
2
Bug in compile of rsync 2.5.4 on Tru64 UNIX V5.1a using cc
...-I./popt -c fileio.c -o fileio.o
cc -I. -I. -g -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));
-------------------------------^
*** Exit 1
Stop.
[root@hyperion: rsync-2.5.4]#
Thank you,
Bob Eckert - Principal Analyst
eckert@indiana.edu (812) 855-7209 - (812) 855-8299 Fax...
2002 Mar 22
0
Bug in compile of rsync 2.5.4 on Tru64 UNIX V5.1a using cc on AlphaServer 1000 5/300
...ncountered:
> cc -I. -I. -g -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)); -------------------------------^
> *** Exit 1
Line 406 says:
/* FIXME: This will break if s->count is ever not exactly an int. */
s->count is a size_t, which is 64 bits on your compiler....