[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Linux off_t casting?
From: |
Dave Dodge |
Subject: |
Re: [Tinycc-devel] Linux off_t casting? |
Date: |
Fri, 15 Jul 2005 18:07:23 -0400 |
User-agent: |
Mutt/1.4.2i |
On Fri, Jul 15, 2005 at 04:28:09PM +0200, Ivan Popov wrote:
> On Thu, Jul 14, 2005 at 09:49:00PM -0700, address@hidden wrote:
> > address@hidden tcc-apps]$ tcc off_t.c
> > off_t.c:10: cannot cast 'int' to 'struct <anonymous>'
[...]
> $ tcc -o aa aa.c
No problem here, either (also glibc 2.3.2).
> which is most probably irrelevant. I'd rather guess the difference is due to
> different includes.
I'd suggest poking around in the header files to see how off_t is
defined on that machine, or if there are any macros interfering with
the test program. "gcc -E" might be useful.
-Dave Dodge