This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: BUG: sys/stat.h interferes with time.h
- From: Scott Pakin <scott at pakin dot org>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Mon, 21 Aug 2006 21:41:04 -0600
- Subject: Re: BUG: sys/stat.h interferes with time.h
- References: <44E67A46.3030800@pakin.org> <44E9F6C2.8050802@redhat.com>
Jeff,
On Mon, 21 Aug 2006 14:09:06 -0400 you wrote:
> For x86-linux, newlib punts in many cases and uses system headers when
> compiling. So, it often depends what levels of glibc and gcc you are
> running against.
>
> I tried the test case on my FC4 system where I build/test newlib x86
> linux and no problem occurs.
>
> I then switched over to a new FC6 system with glibc-2.4.90-22 and did:
>
> -bash-3.1$ gcc -c test.c
> test.c: In function 'main':
> test.c:6: error: storage size of 'mytimer' isn't known
>
> As you can see, without using newlib at all, the error occurs so it isn't
> a newlib issue.
Interesting. Now I just have to figure out why my program's build
process never stumbled across that issue before....
Thanks for the response,
-- Scott