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

C question



I just tried 'make rpm' on the latest linux-2.5.66 from kernel.org. It
bombed after about 10 minutes with:
...
fs/cramfs/inode.c: In function `get_cramfs_inode':
fs/cramfs/inode.c:54: incompatible types in assignment
make[4]: *** [fs/cramfs/inode.o] Error 1
make[3]: *** [fs/cramfs] Error 2
make[2]: *** [fs] Error 2
make[1]: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.75757 (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.75757 (%build)
make: *** [rpm] Error 1

Going to /usr/src/linux-2.5.66/fs/cramfs and looking at inode.c line 54
I found:
                inode->i_mtime = inode->i_atime = inode->i_ctime = 0;

I'm much more comfortable with assembler than C, but before I report
this back to lkml, does C allow three "=" in one line??

--Doc



-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.