public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re : Re: printk and long long
@ 2004-02-11 14:08 sting sting
  2004-02-11 14:57 ` Example Code Was : " wdebruij
  0 siblings, 1 reply; 2+ messages in thread
From: sting sting @ 2004-02-11 14:08 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-11 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 14:08 Re : Re: printk and long long sting sting
2004-02-11 14:57 ` Example Code Was : " wdebruij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox