Re: Xcode is compiling my comments
Re: Xcode is compiling my comments
- Subject: Re: Xcode is compiling my comments
- From: Mark Wagner <email@hidden>
- Date: Wed, 4 Mar 2009 13:11:56 -0800
On Tue, Mar 3, 2009 at 18:43, Andy Lee <email@hidden> wrote:
> On Mar 3, 2009, at 6:42 PM, Mark Wagner wrote:
>>
>> The compiler output:
>>
>> pgWinDef.h:173: error: expected unqualified-id before 'unsigned'
>> pgWinDef.h:173: error: expected initializer before 'unsigned'
>>
>> Lines 173 and 174 pgWinDef.h:
>>
>> typedef void *HENHMETAFILE;
>> //typedef unsigned char * HENHMETAFILE; /* Compatible with the def in
>> mgrphres.h */
>>
>> Why's Xcode compiling the comment rather than the code?
>
> I don't suppose you have a
>
> #define HENHMETAFILE unsigned char *
>
> somewhere that you forgot about? Note the error is on line 173, before it
> even gets to the //typedef.
Thanks, that was it. Turns out there's a third definition of the type
floating around, by a previous programmer who was a little too in love
with the preprocessor.
--
Mark Wagner
_______________________________________________
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