Re : Re: printk and long long

From: sting sting
Date: Wed Feb 11 2004 - 09:09:29 EST


Hello,
Thnks

printk("%ld%ld",loff_t >> (sizeof(long) * 8), loff_t << sizeof(long) * 8 >>
sizeof(long) * 8);

Well I had tried it but I got
the follwing compilation errors while trying to add that code:
invalid operands to binary >>
invalid operands to binary <<

I assume maybe it is a problems with the flags I use:
I use gcc 3.2.2 and the flags are:
O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-DMODULE -D__KERNEL__ -DNOKERNEL

regards,
sting

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/