Hi,

   I'm using the following config options: --enable-debug
--enable-debug-kernel --enable-warnings --enable-disconnected
--with-krb5-conf=/path and I'm getting the following compiling error:
vol-salvage.c:2692: error: lvalue required as left operand of assignment
Looking into the code we find the line:
 VNDISK_GET_LEN(vnodeLength, vnode);

Which expands into versions:
#define VNDISK_GET_LEN(N, V) FillInt64(N, (V)->reserved6, (V)->length)
(AFS_LARGEFILE_ENV enabled)
and FillInt64 is :
#define FillInt64(t,h,l) (t) = (h); ((afs_uint64)t) <<= 32; (t) |= (l);

Making FillInt64:
#define FillInt64(t,h,l) (t) = (h);t <<= 32; (t) |= (l);
Solves the problem... I know it's not the right way to go, but what can I
make to have it compilable with gcc4.3?

Good bye,
Dragos

Reply via email to