| To: | nscott@xxxxxxxxxx |
|---|---|
| Subject: | Re: missing xcode projects when building kmchart |
| From: | James Peach <jamespeach@xxxxxxx> |
| Date: | Wed, 2 Apr 2008 21:17:24 -0700 |
| Cc: | pcp@xxxxxxxxxxx |
| In-reply-to: | <1207178420.21048.123.camel@edge.scott.net.au> |
| References: | <D089120A-D066-452F-AF58-2F43D6464F4A@mac.com> <1207178420.21048.123.camel@edge.scott.net.au> |
| Sender: | pcp-bounce@xxxxxxxxxxx |
On 02/04/2008, at 4:20 PM, Nathan Scott wrote:
Hey James,
so I looked at the headers issue .... /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h has this declaration: typedef __PTRDIFF_TYPE__ ptrdiff_t; But there must be some namespace pollution, because the c++ -E output shows this: # 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 152 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
typedef int long;which is obviously bogus. Using c++ -E -dD, it looks like the definition of __PTRDIFF_TYPE__ is a gcc builtin, but the bogus ptrdiff_t definition comes from /usr/include/pcp/platform_defs.h. platform_defs.h contains this little gem: #if defined(HAVE_MALLOC_H) #include <malloc.h> #else /* #undef ptrdiff_t */ #define ptrdiff_t long #endif |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: missing xcode projects when building kmchart, Nathan Scott |
|---|---|
| Next by Date: | Re: missing xcode projects when building kmchart, Nathan Scott |
| Previous by Thread: | Re: missing xcode projects when building kmchart, Nathan Scott |
| Next by Thread: | Re: missing xcode projects when building kmchart, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |