Re: limits.h
Re: limits.h
- Subject: Re: limits.h
- From: Markian Hlynka <email@hidden>
- Date: Wed, 2 Mar 2005 15:54:19 -0700
yah. take a look at the top of your types.h file. you'll probably find:
#include <machine/limits.h>
#include <sys/syslimits.h>
machine/limits.h includes ppc/limits.h which defines CHAR_BIT 8
This isn't much help since machine/limits.h then overrides it.... so
now I'm confused too!
The file machine/limits.h is just a link to
/usr/include/gcc/darwin/3.3/machine/limits.h
Odd...
On Mar 2, 2005, at 15:21, Steve Mills wrote:
This probably isn't the best list to ask this question in, but I don't
want to join yet another one just for one question.
I was running into problems compiling a 3rd party CodeWarrior project
that we use. The problem was that it couldn't find __CHAR_BIT__.
Another engineer says it's coming from
/usr/include/gcc/darwin/3.3/machine/limits.h. I looked at my version
of that file and the only reference to __CHAR_BIT__ was:
#define CHAR_BIT __CHAR_BIT__
His version of it has this above that:
#ifndef __CHAR_BIT__
#define __CHAR_BIT__ 8
#endif
Can anyone tell me why our files might be different when they're both
in the 3.3 directory? Was there an update that was a small change in
3.3 that didn't actually change the version number (like to 3.4)?
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >limits.h (From: Steve Mills <email@hidden>) |