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: Tue, 3 Mar 2009 15:59:19 -0800
On Tue, Mar 3, 2009 at 15:48, Ken Thomases <email@hidden> wrote:
> On Mar 3, 2009, at 5: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?
>
> Could the file contain unprintable characters that might be confusing either
> the compiler or the display?
>
> Could the file have inconsistent line ending characters?
A quick look at a hexdump of the file shows that it's "no" and "no"
> It's possible that there is actually an error above line 173 that is
> throwing the compiler off and causing it to complain about the wrong thing.
Line 172, which doesn't generate any errors or warnings, is
typedef void * HBRUSH;
Does Xcode cache copies of header files anywhere?
--
Mark
_______________________________________________
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