Re: Endianess not declared

2007-01-26 Thread Kovarththanan Rajaratnam
Hi, Dave Korn wrote: On 21 January 2007 06:54, Kovarththanan Rajaratnam wrote: It seems I got things mixed up. The ieeefp.h that was apparently included is located in /usr/include/machine/ieeefp.h and not usr/include/ieeefp.h. Got it, I see now. Well, this clause should fire: /tmp $ cat

RE: Endianess not declared

2007-01-20 Thread Dave Korn
On 21 January 2007 06:54, Kovarththanan Rajaratnam wrote: > It seems I got things mixed up. The ieeefp.h that was apparently > included is located in /usr/include/machine/ieeefp.h and not > usr/include/ieeefp.h. Got it, I see now. Well, this clause should fire: /tmp $ cat -n /usr/include/mach

Re: Endianess not declared

2007-01-20 Thread Kovarththanan Rajaratnam
Hello Dave, Sorry for the last response. Dave Korn wrote: On 17 January 2007 16:54, Kovarththanan Rajaratnam wrote: ~ $ md5sum /usr/include/ieeefp.h 21e83ac9763e6898351107c2f840be91 */usr/include/ieeefp.h Ditto: $ md5sum /usr/include/ieeefp.h 21e83ac9763e6898351107c2f840be91 */usr/include/i

RE: Endianess not declared

2007-01-17 Thread Dave Korn
On 17 January 2007 16:54, Kovarththanan Rajaratnam wrote: > Hello > > Dave Korn wrote: >> On 16 January 2007 17:01, Kovarththanan Rajaratnam wrote: >> >> ~ $ md5sum /usr/include/ieeefp.h >> 21e83ac9763e6898351107c2f840be91 */usr/include/ieeefp.h > > Ditto: > > $ md5sum /usr/include/ieeefp.h >

Re: Endianess not declared

2007-01-17 Thread Kovarththanan Rajaratnam
Hello Dave Korn wrote: On 16 January 2007 17:01, Kovarththanan Rajaratnam wrote: ~ $ md5sum /usr/include/ieeefp.h 21e83ac9763e6898351107c2f840be91 */usr/include/ieeefp.h Ditto: $ md5sum /usr/include/ieeefp.h 21e83ac9763e6898351107c2f840be91 */usr/include/ieeefp.h -- Best Regards Kovarththan

RE: Endianess not declared

2007-01-16 Thread Dave Korn
On 16 January 2007 17:01, Kovarththanan Rajaratnam wrote: > Hello Dave, > > Dave Korn wrote: >> The headers are part of the base cygwin package; do you have the same >> version as me? >> >> /win/t $ cygcheck -f /usr/include/ieeefp.h >> cygwin-1.5.23-2 > > It seems so: > > $ cygcheck -f /usr

Re: Endianess not declared

2007-01-16 Thread Kovarththanan Rajaratnam
Hello Dave, Dave Korn wrote: The headers are part of the base cygwin package; do you have the same version as me? /win/t $ cygcheck -f /usr/include/ieeefp.h cygwin-1.5.23-2 It seems so: $ cygcheck -f /usr/include/ieeefp.h cygwin-1.5.23-2 -- Best Regards Kovarththanan Rajaratnam -- Unsub

RE: Endianess not declared

2007-01-15 Thread Dave Korn
On 15 January 2007 17:03, Kovarththanan Rajaratnam wrote: > Hello Dave Hi! > Dave Korn wrote: >> That's odd. I'm guessing 'sparse' is some kind of source code parser? >> For whatever reason, the version of ieeefp.h in my cygwin installation >> doesn't include any related #warning or #error

Re: Endianess not declared

2007-01-15 Thread Kovarththanan Rajaratnam
Hello Dave Dave Korn wrote: That's odd. I'm guessing 'sparse' is some kind of source code parser? For whatever reason, the version of ieeefp.h in my cygwin installation doesn't include any related #warning or #error. Is sparse somehow generating that itself? Yeah, the Linux guys use it in

Re: Endianess not declared

2007-01-14 Thread Tim Prince
[EMAIL PROTECTED] wrote: Hey, I assume this is due to some #define's not being set properly. In order to track down these needed #defines I used the GCC specification info (-dumpspecs) and I was able to find these defines: -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix. However that sti

RE: Endianess not declared

2007-01-14 Thread Dave Korn
On 14 January 2007 15:08, Kovarththanan Rajaratnam wrote: > Hello > > I've just given Sparse [1] a try on Cygwin and compiling it went without > any hassle. However, trying it on a very simple example (which includes > stdio.h) seems to fail in 'ieeefp.h'

Re: Endianess not declared

2007-01-14 Thread Chris Sutcliffe
Hey, I assume this is due to some #define's not being set properly. In order to track down these needed #defines I used the GCC specification info (-dumpspecs) and I was able to find these defines: -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix. However that still doesn't seem enough. Wh

Endianess not declared

2007-01-14 Thread Kovarththanan Rajaratnam
Hello I've just given Sparse [1] a try on Cygwin and compiling it went without any hassle. However, trying it on a very simple example (which includes stdio.h) seems to fail in 'ieeefp.h' due to 'Endianess not declared!!' I assume this is due to some #define