gcc versions..



I have problems with different versions of gcc.
With gcc v.3.3.5, this line complies fine:

g_array_append_val(hardLinkArray,(guint)inode);

with gcc v.4, I am getting this error:

 error: invalid lvalue in unary '&'

I have also tried removing the cast (guint) before the variable inode,
and with 3.3.5 compiles and works fine, with v.4 application compiles,
but then I get a segfault..



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]